From 18707e24b3770d61a2d080d5ee88a38ed1a73a8a Mon Sep 17 00:00:00 2001 From: Simon Li Date: Mon, 22 Apr 2024 20:10:48 +0100 Subject: [PATCH] Forcibly disable djlint-reformat-jinja for redoc.html Possible bug, djlint doesn't respect `djlint off` comments --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 172022ec..b2525175 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"]