Add django-upgrade to pre-commit

This commit is contained in:
Jelmer Draaijer 2023-12-11 15:32:37 +01:00
parent 47fb5d9b9e
commit 08dfae06b2

View File

@ -47,6 +47,12 @@ repos:
hooks: hooks:
- id: flake8 - id: flake8
- repo: https://github.com/adamchainz/django-upgrade
rev: "1.15.0" # replace with latest tag on GitHub
hooks:
- id: django-upgrade
args: [--target-version, "4.2"]
ci: ci:
autoupdate_schedule: weekly autoupdate_schedule: weekly
skip: [] skip: []