mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-03 19:08:15 +03:00
Run isort as pre-commit hook
Run it before flake8, so any errors will get fixed automatically. Fixes #2711
This commit is contained in:
parent
4978aa7913
commit
dd6c76f3be
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user