mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
Forcibly disable djlint-reformat-jinja for redoc.html
Possible bug, djlint doesn't respect `djlint off` comments
This commit is contained in:
@@ -42,6 +42,7 @@ repos:
|
|||||||
- id: djlint-reformat-jinja
|
- id: djlint-reformat-jinja
|
||||||
files: ".*templates/.*.html"
|
files: ".*templates/.*.html"
|
||||||
types_or: ["html"]
|
types_or: ["html"]
|
||||||
|
exclude: redoc.html
|
||||||
- id: djlint-jinja
|
- id: djlint-jinja
|
||||||
files: ".*templates/.*.html"
|
files: ".*templates/.*.html"
|
||||||
types_or: ["html"]
|
types_or: ["html"]
|
||||||
|
Reference in New Issue
Block a user