diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4376eed21..2c04b0dcc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,6 +47,12 @@ repos: hooks: - 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: autoupdate_schedule: weekly skip: []