]> git.0d.be Git - chloro.git/blobdiff - .pre-commit-config.yaml
do not include non-feed posts on homepage
[chloro.git] / .pre-commit-config.yaml
index 38eebd1381b7f103f8dd22a20cdaf48f055700fd..3c50489021fbc156287998d7188315894ed8ce94 100644 (file)
@@ -1,6 +1,10 @@
 # See https://pre-commit.com for more information
 # See https://pre-commit.com/hooks.html for more hooks
 repos:
+-   repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v4.4.0
+    hooks:
+    - id: double-quote-string-fixer
 -   repo: https://github.com/psf/black
     rev: 23.1.0
     hooks:
@@ -16,7 +20,17 @@ repos:
     hooks:
     - id: pyupgrade
       args: ['--keep-percent-format', '--py37-plus']
+-   repo: https://github.com/adamchainz/django-upgrade
+    rev: 1.13.0
+    hooks:
+    - id: django-upgrade
+      args: ['--target-version', '3.2']
+-   repo: https://github.com/rtts/djhtml
+    rev: '3.0.5'
+    hooks:
+    - id: djhtml
+      args: ['--tabwidth', '2']
 -   repo: https://git.entrouvert.org/pre-commit-debian.git
-    rev: v0.1
+    rev: v0.3
     hooks:
     - id: pre-commit-debian