1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
[tox]
envlist = py36, py37, lint
skip_missing_interpreters = True
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/logi_circle
whitelist_externals = /usr/bin/env
install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages}
commands =
py.test --basetemp={envtmpdir} --cov=logi_circle --cov-report term-missing
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_tests.txt
[testenv:lint]
ignore_errors = True
commands =
pylint logi_circle
flake8 logi_circle
pylint tests
flake8 tests
[flake8]
max-line-length = 120
|