diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c6e1369b7..d5f748e87 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,6 +41,12 @@ repos: - id: pyupgrade args: [--py38-plus] + - repo: https://github.com/adamchainz/django-upgrade + rev: 1.13.0 + hooks: + - id: django-upgrade + args: [--target-version, "4.2"] + - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: