feat: Use python-reorder-imports instead of isort

pull/13572/head
Jan Beran 2024-01-09 19:52:15 +01:00
rodzic 15a392cfd9
commit 91b1a362ea
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -35,11 +35,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: [--py37-plus]
exclude: >
(?x)^(
.*_pb2.py