Add `django-upgrade` to `pre-commit` hooks.

master
Fabio Caccamo 2023-01-17 10:04:02 +01:00
parent 88ab3485c0
commit cce1c9adaf
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@ repos:
hooks:
- id: pyupgrade
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.12.0
hooks:
- id: django-upgrade
args: ["--target-version", "3.2"]
- repo: https://github.com/psf/black
rev: 22.12.0
hooks: