Skip to content

Commit 7aa36ef

Browse files
committed
Downgrade PyUpgrade to 3.3.2 to keep Python 3.7 support
1 parent 3ee3c1f commit 7aa36ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: flake8
1313

1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.10.1
15+
rev: v3.3.2
1616
hooks:
1717
- id: pyupgrade
1818
args: [--keep-runtime-typing]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ lint = "pre-commit run --all-files"
5151
{ cmd = "pipx install black" },
5252
{ cmd = "pipx install flake8~=5.0" },
5353
{ cmd = "pipx install isort" },
54-
{ cmd = "pipx install pyupgrade" },
54+
{ cmd = "pipx install pyupgrade<=3.3.2" },
5555
{ cmd = "pipx install mypy" },
5656
]
5757
"docs:install" = [

0 commit comments

Comments
 (0)