Linter und Formatter für Askama-Templates
djLint lintet und formatiert Askama-Templates. Setzen Sie das Profil askama, damit Regeln und Formatierung zu ihnen passen.
Über die Befehlszeile
djlint /path/to/templates --profile=askama
Oder über eine Konfigurationsdatei
Konfigurieren Sie djLint in der Datei pyproject.toml, djlint.toml / .djlint.toml oder .djlintrc Ihres Projekts.
[tool.djlint]
profile = "askama"
profile = "askama"
{ "profile": "askama" }