Skip to content

Commit c51f8db

Browse files
committed
Update precommit hooks
1 parent b25f03d commit c51f8db

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,23 @@ ci:
88
autoupdate_schedule: monthly
99

1010
repos:
11-
# - repo: https://github.com/asottile/pyupgrade
12-
# rev: v2.37.3
13-
# hooks:
14-
# - id: pyupgrade
15-
# args: ["--py36-plus"]
16-
#
17-
# - repo: https://github.com/adamchainz/django-upgrade
18-
# rev: '1.7.0'
19-
# hooks:
20-
# - id: django-upgrade
21-
# args: [--target-version, "2.2"]
11+
- repo: https://github.com/asottile/pyupgrade
12+
rev: v2.37.3
13+
hooks:
14+
- id: pyupgrade
15+
args: ["--py38-plus"]
16+
17+
- repo: https://github.com/adamchainz/django-upgrade
18+
rev: '1.7.0'
19+
hooks:
20+
- id: django-upgrade
21+
args: [--target-version, "3.2"]
2222

2323
- repo: https://github.com/PyCQA/flake8
2424
rev: 7.1.2
2525
hooks:
2626
- id: flake8
27+
additional_dependencies: [flake8-pyproject]
2728

2829
- repo: https://github.com/asottile/yesqa
2930
rev: v1.5.0

0 commit comments

Comments
 (0)