]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Merge "Start using Pyflakes"
authorJenkins <jenkins@review.openstack.org>
Sun, 16 Jun 2013 16:46:27 +0000 (16:46 +0000)
committerGerrit Code Review <review@openstack.org>
Sun, 16 Jun 2013 16:46:27 +0000 (16:46 +0000)
1  2 
cinder/db/sqlalchemy/api.py
tox.ini

Simple merge
diff --cc tox.ini
index 3ece7d251329e3b5ebe99b88d38b89d40f576914,6a82572bd80a7ba910cb767c96381bec4b12796d..9620047f907f277f96e81f961e73fcf99264a04a
+++ 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