X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=3a360af28882222bba1e7d3825805545d2cce702;hb=324645e7dd20c9e2bf012f040a8576db9a623d01;hp=b10e7f925ae2072561e80ead4fda253e4deb942c;hpb=51f4486b06781541ee15ea332261247ed3e930f6;p=osm%2FMON.git diff --git a/tox.ini b/tox.ini index b10e7f9..3a360af 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, flake8 +envlist = py3, flake8, pylint toxworkdir={homedir}/.tox [testenv] @@ -34,6 +34,13 @@ 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 + -r{toxinidir}/test-requirements.txt +commands = + pylint -E osm_mon + [testenv:flake8] basepython = python3 deps = flake8