Forcibly disable djlint-reformat-jinja for redoc.html

Possible bug, djlint doesn't respect `djlint off` comments
This commit is contained in:
Simon Li
2024-04-22 20:10:48 +01:00
parent 3580904e8a
commit 18707e24b3

View File

@@ -42,6 +42,7 @@ repos:
- id: djlint-reformat-jinja
files: ".*templates/.*.html"
types_or: ["html"]
exclude: redoc.html
- id: djlint-jinja
files: ".*templates/.*.html"
types_or: ["html"]