We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe8b83 commit d285211Copy full SHA for d285211
.pre-commit-config.yaml
@@ -63,6 +63,15 @@ repos:
63
language: python
64
additional_dependencies: [pygments, restructuredtext_lint]
65
66
+ - repo: local
67
+ hooks:
68
+ - id: djlint
69
+ name: djlint
70
+ entry: djlint
71
+ files: \.jinja2$
72
+ language: python
73
+ additional_dependencies: [djlint]
74
+
75
- repo: https://github.com/elidupuis/mirrors-sass-lint
76
rev: "5cc45653263b423398e4af2561fae362903dd45d"
77
hooks:
pyproject.toml
@@ -97,3 +97,6 @@ version-file = "src/pytest_html/__version.py"
97
98
[tool.hatch.build.hooks.custom]
99
path = "scripts/npm.py"
100
101
+[tool.djlint]
102
+profile="jinja"
0 commit comments