X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=54ca1fefb77f17215ba47ccc42aa95ff3ea2d059;hb=5ce3b6f8c8b3217091e51a6041455738603d90b8;hp=3dfb982bfde98177798f11eca1751d19b7d69b02;hpb=aba275f89f642293f8fbe2f575e3413271d8fc21;p=yardstick.git diff --git a/tox.ini b/tox.ini index 3dfb982bf..54ca1fefb 100644 --- a/tox.ini +++ b/tox.ini @@ -5,10 +5,17 @@ envlist = py27,py3 [testenv] usedevelop=True +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY deps = -rrequirements.txt commands = /bin/bash ./run_tests.sh whitelist_externals = /bin/bash + +[testenv:py27] +# don't re-run coverage on both py27 py3, it takes too long +setenv = + SKIP_COVERAGE=1 + [flake8] # E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126 # The rest of the ignores are TODOs @@ -19,4 +26,5 @@ whitelist_externals = /bin/bash #ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405 # dovetail flake8 ignores ignore = E123,E125,H803 +max-line-length = 99 exclude = .venv,.git,.tox,dist,docs,*egg,build