mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
feat: Use python-reorder-imports instead of isort
This commit is contained in:
parent
1da4afc70a
commit
632620fa60
@ -37,11 +37,12 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
args: ['--config=.flake8', '--tee', '--benchmark']
|
args: ['--config=.flake8', '--tee', '--benchmark']
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/asottile/reorder-python-imports
|
||||||
rev: 5.11.5 # python 3.7 compatible
|
rev: v3.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: reorder-python-imports
|
||||||
name: isort (python)
|
name: Reorder Python imports
|
||||||
|
args: [--py37-plus]
|
||||||
exclude: >
|
exclude: >
|
||||||
(?x)^(
|
(?x)^(
|
||||||
.*_pb2.py
|
.*_pb2.py
|
||||||
|
Loading…
Reference in New Issue
Block a user