From 311fd36bc8a9ffdecbd20ec473dce61f0cc254f5 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 5 Jul 2022 17:02:13 +0100 Subject: [PATCH] Change pre-commit django definition --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 10e3c8e..fa44bfd 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,7 @@ - id: djlint-django name: djLint for Django entry: djlint --profile=django - files: "templates/.*\\.html$" + types_or: [html] language: python - id: djlint-jinja