X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Ftox.ini;h=62a7adf0694ecf2e685a93b7b46d8811da2b4043;hb=838f2ded9478ae140545fcdceb4cc10d73a2c92b;hp=5a72b4d5b9d96df99a29153c6e0601325ba966dd;hpb=fbb91ac53698a964f61110778803344b99c372f8;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/tox.ini b/lcm/tox.ini index 5a72b4d5..62a7adf0 100644 --- a/lcm/tox.ini +++ b/lcm/tox.ini @@ -1,12 +1,13 @@ [tox] -envlist = py27,pep8 +envlist = py27,pep8,cov skipsdist = true [tox:jenkins] downloadcache = ~/cache/pip [flake8] -ignore = E501 +ignore = E501,E722 +exclude = ./venv-tox,./.tox max-complexity = 27 [testenv] @@ -20,3 +21,6 @@ commands = flake8 [testenv:py27] commands = {[testenv]commands} + +[testenv:cov] +commands = coverage html --omit="*test*,*__init__.py,*site-packages*" -d htmlcov