feat: Use python-reorder-imports instead of isort
This commit is contained in:
parent
3f0f8f3ed6
commit
577a076bff
1 changed files with 5 additions and 4 deletions
|
|
@ -36,11 +36,12 @@ repos:
|
|||
hooks:
|
||||
- id: flake8
|
||||
args: ['--config=.flake8', '--tee', '--benchmark']
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.11.5 # python 3.7 compatible
|
||||
- repo: https://github.com/asottile/reorder-python-imports
|
||||
rev: v3.12.0
|
||||
hooks:
|
||||
- id: isort
|
||||
name: isort (python)
|
||||
- id: reorder-python-imports
|
||||
name: Reorder Python imports
|
||||
args: [--py36-plus]
|
||||
exclude: >
|
||||
(?x)^(
|
||||
.*_pb2.py
|
||||
|
|
|
|||
Loading…
Reference in a new issue