summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index abc8050..d31e946 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -20,6 +20,12 @@ repos:
- id: pyupgrade
args: [--py310-plus]
+ - repo: https://github.com/adamchainz/django-upgrade
+ rev: "1.12.0"
+ hooks:
+ - id: django-upgrade
+ args: [--target-version, "4.1"]
+
- repo: https://github.com/psf/black
rev: 22.10.0
hooks: