Skip to content

Commit d2579a6

Browse files
committed
CI: set minimal Python/Django targets for precommit
1 parent aeb3743 commit d2579a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ repos:
1818
rev: v3.21.2
1919
hooks:
2020
- id: pyupgrade
21+
args: [--py310-plus]
2122
- repo: https://github.com/adamchainz/django-upgrade
2223
rev: 1.29.1
2324
hooks:
2425
- id: django-upgrade
26+
args: [--target-version, "4.2"]
2527
- repo: https://github.com/hukkin/mdformat
2628
rev: 1.0.0
2729
hooks:

0 commit comments

Comments
 (0)