Use Flake8 code checker as part of running automated tests.

This commit is contained in:
Dan Helfman 2018-09-29 23:15:18 -07:00
commit 56ad1d164a
18 changed files with 24 additions and 27 deletions

View file

@ -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=*.*/*