Skip to content

Commit 8f61d5d

Browse files
[pre-commit] Add pyupgrade back as a manual stage
Launchable with ``pre-commit run --hook-stage manual pyupgrade -a``
1 parent 6e5aaef commit 8f61d5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ repos:
4343
- id: pyproject-fmt
4444
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
4545
additional_dependencies: ["tox>=4.9"]
46+
- repo: https://github.com/asottile/pyupgrade
47+
rev: v3.15.2
48+
hooks:
49+
- id: pyupgrade
50+
stages: [manual]
4651
- repo: local
4752
hooks:
4853
- id: pylint

0 commit comments

Comments
 (0)