Add pre-commit and fix isort
This commit is contained in:
parent
695a11a4cd
commit
d589c5ef8a
6 changed files with 42 additions and 16 deletions
10
tox.ini
10
tox.ini
|
@ -23,10 +23,6 @@ deps = ipdb
|
|||
commands = {posargs}
|
||||
|
||||
[testenv:lint]
|
||||
deps =
|
||||
flake8
|
||||
pep8-naming
|
||||
black
|
||||
commands =
|
||||
flake8 .
|
||||
black --check --diff .
|
||||
deps = pre-commit
|
||||
commands = pre-commit run --all-files
|
||||
skip_install = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue