This commit is contained in:
Devaev Maxim 2019-12-10 05:53:46 +03:00
parent f5a6fe35a9
commit 6c385327ff

View File

@ -10,15 +10,16 @@ changedir = /src
[testenv:flake8]
whitelist_externals = bash
commands = bash -c 'flake8 --config=testenv/linters/flake8.ini kvmd testenv/tests *.py'
# FIXME: pyflakes from master to support walrus
deps =
git+https://github.com/PyCQA/pyflakes@1911c20#egg=pyflakes
flake8
flake8-quotes
-rrequirements.txt
[testenv:pylint]
whitelist_externals = bash
commands = bash -c 'pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests genmap.py'
# TODO: return setup.py back. Now pylint is broken. Again.
commands = bash -c 'pylint --rcfile=testenv/linters/pylint.ini --output-format=colorized --reports=no kvmd testenv/tests *.py'
deps =
pylint
pytest