Run isort as pre-commit hook
Run it before flake8, so any errors will get fixed automatically.
Fixes
@@ -15,6 +15,11 @@ repos:
hooks:
- id: black
+ - repo: https://github.com/timothycrosley/isort
+ rev: 4.3.21
+ hooks:
+ - id: isort
+
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
