Add isort to CI and pre-commit (#29739)
* add isort to CI and pre-commit * disable wrong-import-order in pylintrc * ✏️ Tweak Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
committed by
Franck Nijhof
co-authored by
Franck Nijhof
parent
7d68e88d31
commit
c58c10ab7c
@@ -31,3 +31,7 @@ repos:
|
||||
- --format=custom
|
||||
- --configfile=tests/bandit.yaml
|
||||
files: ^(homeassistant|script|tests)/.+\.py$
|
||||
- repo: https://github.com/pre-commit/mirrors-isort
|
||||
rev: v4.3.21
|
||||
hooks:
|
||||
- id: isort
|
||||
|
||||
Reference in New Issue
Block a user