Use Flake8 code checker as part of running automated tests.
This commit is contained in:
parent
3cce18919c
commit
56ad1d164a
18 changed files with 24 additions and 27 deletions
5
tox.ini
5
tox.ini
|
|
@ -8,8 +8,13 @@ deps=-rtest_requirements.txt
|
|||
commands =
|
||||
py.test --cov-report term-missing:skip-covered --cov=borgmatic borgmatic []
|
||||
black --skip-string-normalization --line-length 100 --check .
|
||||
flake8 .
|
||||
|
||||
[testenv:black]
|
||||
basepython=python3.7
|
||||
commands =
|
||||
black --skip-string-normalization --line-length 100 .
|
||||
|
||||
[flake8]
|
||||
ignore=E501,W503
|
||||
exclude=*.*/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue