Linter et formateur de templates Askama
djLint linte et formate les templates Askama. Utilisez le profil askama pour adapter les règles et le formatage à ces templates.
En ligne de commande
djlint /path/to/templates --profile=askama
Ou avec un fichier de configuration
Configurez djLint dans le fichier pyproject.toml, djlint.toml / .djlint.toml ou .djlintrc de votre projet.
[tool.djlint]
profile = "askama"
profile = "askama"
{ "profile": "askama" }