X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=ba77d2f394cd1824d613094b4d0d19c665e3fda6;hb=9640af8a512ccf5274a687cf45ac302ba3e5175b;hp=baf2214ab689bd4149ae46a6d39c33a257974ce3;hpb=a10a568a9116296118e9fabf1129f563dbd3032d;p=vfc%2Fnfvo%2Flcm.git diff --git a/tox.ini b/tox.ini index baf2214a..ba77d2f3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,22 @@ [tox] -envlist = py27 +envlist = py27,pep8 skipsdist = true [tox:jenkins] downloadcache = ~/cache/pip +[flake8] +ignore = E501 +exclude = ./venv-tox,./.tox + [testenv] deps = -r{toxinidir}/requirements.txt commands = coverage run --branch manage.py test lcm + +[testenv:pep8] +deps = flake8 +commands = flake8 + +[testenv:py27] +commands = + {[testenv]commands}