Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cbe878c

Browse files
committed
Downgrade isort to 5.11.4 to keep support for Python 3.7
1 parent 7aa36ef commit cbe878c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
args: [--keep-runtime-typing]
1919

2020
- repo: https://github.com/pycqa/isort
21-
rev: 5.12.0
21+
rev: 5.11.5
2222
hooks:
2323
- id: isort
2424
args: ["--profile", "black"]

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ lint = "pre-commit run --all-files"
4949
"lint:install" = [
5050
{ cmd = "pipx install pre-commit" },
5151
{ cmd = "pipx install black" },
52-
{ cmd = "pipx install flake8~=5.0" },
53-
{ cmd = "pipx install isort" },
54-
{ cmd = "pipx install pyupgrade<=3.3.2" },
52+
{ cmd = "pipx install flake8==5.0.4" },
53+
{ cmd = "pipx install isort==5.11.5" },
54+
{ cmd = "pipx install pyupgrade==3.3.2" },
5555
{ cmd = "pipx install mypy" },
5656
]
5757
"docs:install" = [

0 commit comments

Comments
 (0)