]> git.0d.be Git - django-panik-combo.git/commitdiff
build: add djhtml to pre-commit config
authorFrédéric Péters <fpeters@0d.be>
Fri, 21 Jul 2023 19:31:33 +0000 (21:31 +0200)
committerFrédéric Péters <fpeters@0d.be>
Fri, 21 Jul 2023 19:31:33 +0000 (21:31 +0200)
.pre-commit-config.yaml

index fdfcbd702d2abc5646886594e22f658845ced954..5f6e56de46f5931901a1b0ebf6235f665bf8428a 100644 (file)
@@ -21,3 +21,8 @@ repos:
     hooks:
       - id: isort
         args: ['--profile', 'black', '--line-length', '110']
+  - repo: https://github.com/rtts/djhtml
+    rev: '3.0.5'
+    hooks:
+      - id: djhtml
+        args: ['--tabwidth', '2']