Don't include openstack/common in flake8 exclude list

The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator, so don't use
this directory any more.

Change-Id: I3a72d3b7126037e98fde627233f26a4f1475b416
This commit is contained in:
song jian 2016-07-12 14:27:23 +08:00
parent 7207ffaf61
commit 830211c9fb
2 changed files with 3 additions and 3 deletions

View File

@ -153,8 +153,8 @@ function run_tests {
echo "Generating HTML coverage report in covhtml/"
# Don't compute coverage for common code, which is tested elsewhere
${wrapper} coverage combine
${wrapper} coverage html --include='glance_store/*' --omit='glance_store/openstack/common/*' -d covhtml -i
${wrapper} coverage report --include='glance_store/*' --omit='glance_store/openstack/common/*' -i
${wrapper} coverage html --include='glance_store/*' -d covhtml -i
${wrapper} coverage report --include='glance_store/*' -i
return $RESULT

View File

@ -50,4 +50,4 @@ commands = python testr --slowest --testr-args='glance_store.tests.func
# H404 multi line docstring should start with a summary
# H405 multi line docstring summary not separated with an empty line
ignore = H301,H404,H405
exclude = .venv,.git,.tox,dist,doc,etc,*glance_store/locale*,*openstack/common*,*lib/python*,*egg,build
exclude = .venv,.git,.tox,dist,doc,etc,*glance_store/locale*,*lib/python*,*egg,build