Add django-upgrade hook to pre-commit configuration and remove unneded DEFAULT_AUTO_FIELD setting
All checks were successful
Deploy to Server / deploy (push) Successful in 21s

This commit is contained in:
Joakim Hellsén 2026-03-22 19:45:04 +01:00
commit 60d34bdf0d
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
2 changed files with 6 additions and 1 deletions

View file

@ -20,6 +20,12 @@ repos:
args: [--pytest-test-first]
- id: trailing-whitespace
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.30.0
hooks:
- id: django-upgrade
args: [--target-version, "6.0"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.5
hooks: