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