X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=898e487e76c3bc2278e463d1972180c441baa389;hb=refs%2Fheads%2Ffeature7106;hp=5940b95a73cb36b87704be13744749b54fca07b2;hpb=b726161f9fe605ceb418d9b5df12d295bff28c3a;p=osm%2FMON.git diff --git a/tox.ini b/tox.ini index 5940b95..898e487 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 = py3 +envlist = py3, flake8, pylint toxworkdir={homedir}/.tox [testenv] @@ -34,6 +34,12 @@ commands=python3 -m unittest discover -v install_command = python3 -m pip install -r requirements.txt -U {opts} {packages} deps = -r{toxinidir}/test-requirements.txt +[testenv:pylint] +basepython = python3 +deps = pylint +commands = + pylint -E osm_mon + [testenv:flake8] basepython = python3 deps = flake8