X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=595b5a914c9901f8a2249d81690ee0533c493932;hb=03afcaad2415afaa9a7794a682239a8887b6071b;hp=b5c0df0357095352f95fdd22c503f9a7afa3536b;hpb=c2a005ed542b4bc3bdb7bd47bf3b34b1110e1e0d;p=osm%2FMON.git diff --git a/tox.ini b/tox.ini index b5c0df0..595b5a9 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] -envlist = cover, py3, flake8, pylint +envlist = cover, py3, flake8 [testenv] @@ -49,15 +49,7 @@ commands = nose2 -C --coverage osm_mon --plugin nose2.plugins.junitxml coverage report --omit='*tests*' coverage html -d ./cover --omit='*tests*' - coverage xml -o ./cover/coverage.xml --omit='*tests*' - -[testenv:pylint] -basepython = python3 -deps = pylint - -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt -commands = - pylint -E osm_mon + coverage xml -o coverage.xml --omit='*tests*' [testenv:flake8] basepython = python3 @@ -76,6 +68,6 @@ commands = python3 setup.py --command-packages=stdeb.command bdist_deb # E123, E125 skipped as they are invalid PEP-8. max-line-length = 120 show-source = True -ignore = E123,E125,E241 +ignore = E123,E125,E241,W503 builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,devops_stages/*,.rst