From a010dd8d71bbeb54d024e997dc0e1d8a2e2a9737 Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Wed, 30 Apr 2025 10:58:31 +0700 Subject: [PATCH] django upgrade --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f75f5df..251a3ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -89,3 +89,9 @@ repos: - id: python-check-mock-methods - id: python-no-log-warn - id: python-use-type-annotations + + - repo: https://github.com/adamchainz/django-upgrade + rev: "1.24.0" # replace with latest tag on GitHub + hooks: + - id: django-upgrade + args: [--target-version, "4.2"]