Skip to content

Commit

Permalink
fix(style): reorder-python-imports and black are now incompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
dairiki committed Sep 4, 2024
1 parent ed60136 commit d43df6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ repos:
- id: pyupgrade
args: ["--py37-plus"]

- repo: https://github.com/asottile/reorder_python_imports
rev: v3.13.0
- repo: https://github.com/wimglenn/reorder-python-imports-black
# See https://github.com/psf/black/issues/4175
rev: v3.12.0
hooks:
- id: reorder-python-imports
args: ["--py37-plus", "--application-directories=.:tests"]
Expand Down

0 comments on commit d43df6a

Please sign in to comment.