From 1e46f29891bd3c3cffc883f463b0354e32f6f9ef Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Tue, 19 Sep 2023 15:36:15 +0100 Subject: [PATCH] Refine djlint configuration --- .pre-commit-config.yaml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 396f753da..60c2a3bc3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,20 +29,10 @@ repos: - repo: https://github.com/Riverside-Healthcare/djLint rev: v1.32.1 hooks: + - id: djlint-reformat-django + require_serial: true - id: djlint-django - name: djLint Reformatting for Django - entry: djlint --profile=django --reformat - types_or: [html] - language: python - - - repo: https://github.com/Riverside-Healthcare/djLint - rev: v1.32.1 - hooks: - - id: djlint-django - name: djLint Checks for Django - entry: djlint --profile=django - types_or: [html] - language: python + require_serial: true - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.0.3