Skip to content

Commit 6a73cb4

Browse files
committed
Add django-upgrade pre-commit config
1 parent d22a130 commit 6a73cb4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
repos:
2+
3+
- repo: https://github.com/adamchainz/django-upgrade
4+
rev: "1.25.0"
5+
hooks:
6+
- id: django-upgrade
7+
args: [--target-version, "4.2"]
8+
29
- repo: https://github.com/astral-sh/ruff-pre-commit
310
rev: v0.11.13
411
hooks:

0 commit comments

Comments
 (0)