mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
feat: Use python-reorder-imports instead of isort
This commit is contained in:
parent
5a17bf83ff
commit
fa857bc9c3
@ -41,11 +41,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.12.0 # python 3.8 compatible
|
rev: v3.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: reorder-python-imports
|
||||||
name: isort (python)
|
name: Reorder Python imports
|
||||||
|
args: [--py38-plus]
|
||||||
exclude: >
|
exclude: >
|
||||||
(?x)^(
|
(?x)^(
|
||||||
.*_pb2.py
|
.*_pb2.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user