Run isort as pre-commit hook

Run it before flake8, so any errors will get fixed automatically.

Fixes #2711
This commit is contained in:
Jan Fabry 2020-08-04 17:06:37 +02:00
parent 4978aa7913
commit dd6c76f3be

View File

@ -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: