Merge "Don't include openstack/common in flake8 exclude list"

This commit is contained in:
Jenkins 2016-08-01 15:35:01 +00:00 committed by Gerrit Code Review
commit c9eab5c123
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
fi
return $RESULT

View File

@ -70,4 +70,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