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:
Bas Nijholt
2019-12-12 15:58:47 +01:00
committed by Franck Nijhof
co-authored by Franck Nijhof
parent 7d68e88d31
commit c58c10ab7c
5 changed files with 16 additions and 1 deletions
+4
View File
@@ -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