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
changes/05/340705/1
song jian 7 years ago
parent 7207ffaf61
commit 830211c9fb

@ -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
fi
return $RESULT

@ -50,4 +50,4 @@ commands = python setup.py 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

Loading…
Cancel
Save