Skip to content

Commit

Permalink
fix: Update pre-commit dependency versions so isort works. (#1096)
Browse files Browse the repository at this point in the history
This resolve an issue where an older isort version don't work with a
newer poetry version.

I think this problem occurs if you've upgraded isort (which upgrades
poetry, I think), but then downgrade isort (which doesn't downgrade
poetry, too).
  • Loading branch information
rickeylev authored Feb 25, 2023
1 parent 797c2d0 commit bce3ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ repos:
- id: buildifier-lint
args: *args
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
args:
- --profile
- black
- repo: https://github.com/psf/black
rev: 22.8.0
rev: 23.1.0
hooks:
- id: black

0 comments on commit bce3ccd

Please sign in to comment.