Skip to content

Commit

Permalink
Add reorder-python-imports to pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
KPatr1ck committed Dec 27, 2021
1 parent 2f78040 commit 94e2a74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@
- --show-source
- --statistics
files: \.py$

- repo: https://github.com/asottile/reorder_python_imports
rev: v2.4.0
hooks:
- id: reorder-python-imports
exclude: (?=third_party).*(\.py)$

0 comments on commit 94e2a74

Please sign in to comment.