diff options
Diffstat (limited to 'pylog/tox.ini')
-rw-r--r-- | pylog/tox.ini | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/pylog/tox.ini b/pylog/tox.ini index 87209a1..355385c 100644 --- a/pylog/tox.ini +++ b/pylog/tox.ini @@ -1,37 +1,32 @@ [tox] envlist = - testenv, - jenkins, + py27 + py36 + py37 + py38 pep8 - flake8 cover skipsdist = true skip_missing_interpreters = true [tox:jenkins] -basepython = python3 downloadcache = ~/cache/pip [testenv] -basepython = python3 -deps = -r{toxinidir}/requirements.txt - pytest +deps = -r{toxinidir}/test_requirements.txt coverage pytest-cov setenv = PYTHONPATH={toxinidir}/ - commands = pytest +[flake8] +ignore = E271, E125, E128, E127 + [testenv:pep8] basepython = python3 deps=flake8 -commands=flake8 - -[flake8] -basepython = python3 -show-source = true -exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build +commands=flake8 onaplogging [testenv:cover] basepython = python3 -commands = py.test --cov onaplogging +commands = py.test --cov-report term-missing --cov onaplogging |