From 232edde31252832799b084a8f1f442e515d65a13 Mon Sep 17 00:00:00 2001 From: Lucas Brandstaetter <lucas@brandstaetter.tech> Date: Wed, 30 Oct 2024 04:34:10 +0100 Subject: [PATCH] Add djLint linting hooks to pre-commit config --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e2c485413..f417b27c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,6 +41,8 @@ repos: hooks: - id: djlint-reformat-django - id: djlint-reformat-jinja + - id: djlint-django + - id: djlint-jinja - repo: local hooks: - name: Check for uncreated migrations. -- GitLab