From: Jenkins Date: Sun, 16 Jun 2013 16:46:27 +0000 (+0000) Subject: Merge "Start using Pyflakes" X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=67249826cb84dd32b1e66ed2dfd3c1b3a47d5287;p=openstack-build%2Fcinder-build.git Merge "Start using Pyflakes" --- 67249826cb84dd32b1e66ed2dfd3c1b3a47d5287 diff --cc tox.ini index 3ece7d251,6a82572bd..9620047f9 --- a/tox.ini +++ b/tox.ini @@@ -30,19 -36,7 +30,19 @@@ deps = -r{toxinidir}/requirements.tx pylint==0.26.0 commands = bash tools/lintstack.sh +[testenv:cover] +# Also do not run test_coverage_ext tests while gathering coverage as those +# tests conflict with coverage. +setenv = VIRTUAL_ENV={envdir} +commands = + python tools/patch_tox_venv.py + python setup.py testr --coverage \ + --testr-args='^(?!.*test.*coverage).*$' + +[testenv:venv] +commands = {posargs} + [flake8] - ignore = E711,E712,H302,H303,H304,H401,H402,H403,H404,F + ignore = E711,E712,F401,F403,F811,F841,H302,H303,H304,H401,H402,H403,H404 builtins = _ exclude = .venv,.tox,dist,doc,openstack,*egg