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
Section intitulée « En ligne de commande »djlint /path/to/templates --profile=askamaDans un fichier de configuration
Section intitulée « Dans 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" }