Askama Template Linter and Formatter
djLint lints and formats Askama templates. Set the askama profile so the rules and the formatting fit them.
Using the command line
djlint /path/to/templates --profile=askama
Or, use a config file
Configure djLint in your project’s pyproject.toml, djlint.toml / .djlint.toml, or .djlintrc file.
[tool.djlint]
profile = "askama"
profile = "askama"
{ "profile": "askama" }