djLint est un linter de modèle Askama et un formateur de modèle Askama ! Profitez du profil pré-construit lorsque vous limez et formatez vos modèles avec djLint.
djlint /path/to/templates --profile=askama
Configurez djLint dans votre projet pyproject.toml.
[tool.djlint]
profile="askama"