Skip to content

Commit 7212f43

Browse files
committed
Add django-upgrade to pre-commit config
1 parent db7dab1 commit 7212f43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ repos:
77
hooks:
88
- id: pyupgrade
99
args: [--py312]
10+
11+
- repo: https://github.com/adamchainz/django-upgrade
12+
rev: "1.22.2"
13+
hooks:
14+
- id: django-upgrade
15+
args: [--target-version, "5.0"]

0 commit comments

Comments
 (0)