Skip to content

Commit 1868e7c

Browse files
Update pre-commit hooks to avoid isort installation error
These are the current versions as identified by `pre-commit autoupdate`. To install the isort hook, pre-commit will install whatever the newest Poetry is. A backward incompatible change in Poetry broke support for how isort was declaring its "extra" dependency on pip-shims, so existing isorts became no longer installable. Upgrade the isort hook to 5.12.0+ so we get their pyproject.toml fix: <PyCQA/isort@0d219a6> Co-authored-by: Phronimos Linden <[email protected]>
1 parent acb55e3 commit 1868e7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.6.0
44
hooks:
55
- id: check-ast
66
- id: check-yaml
77
- id: mixed-line-ending
88
- id: trailing-whitespace
99
- repo: https://github.com/pycqa/isort
10-
rev: 5.10.1
10+
rev: 5.13.2
1111
hooks:
1212
- id: isort
1313
args: [--line-length=120]

0 commit comments

Comments
 (0)