X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=af61a3580845b1855be4ea6b62fbdbea82abb753;hb=a13c7e6dd15d7bc47ca36f9f804fab7b3f78f5bf;hp=584efa7964c6e44304b06fd964296278f788ca78;hpb=f7451f8879d188c9fef9c976d82aa39141601938;p=osm%2FPOL.git diff --git a/tox.ini b/tox.ini index 584efa7..af61a35 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,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_policy_module + [testenv:flake8] basepython = python3 deps = flake8