From 830211c9fb5335ce6cc3e1751b6e1ff498e1c5b1 Mon Sep 17 00:00:00 2001 From: song jian Date: Tue, 12 Jul 2016 14:27:23 +0800 Subject: [PATCH] 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 --- run_tests.sh | 4 ++-- tox.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index b77b23ba..bd1c51a5 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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 diff --git a/tox.ini b/tox.ini index e11776fa..549a6c19 100644 --- a/tox.ini +++ b/tox.ini @@ -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