summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorhouming-wang <houming.wang@easystack.cn>2015-12-24 09:26:07 -0500
committerhouming-wang <houming.wang@easystack.cn>2015-12-24 21:45:39 -0500
commit9a74a01855c58eab16823fbd9912a9a3dd30aeaf (patch)
tree6dad4c6e39afcfbed97ef71ae0b3669f7d4c9c6c /tox.ini
parent2cc722e1257412fb50189f8a5773ee7200434ce3 (diff)
Fix wrong flake8 exception and pep8 violations
In the tox.ini, [flake8] section, "exclude = .venv,.tox,dist,doc,openstack,*egg". From this rule, all 'openstack' directories are excluded. This rule is intended to exclude manila/openstack/common code check, but this is wrong because it also exclude checks against manila/api/openstack and manila/tests/api/openstack. We should fix it Change-Id: Ie820e3931e83a82c40b0d9b9d943787a5d6ec363 Closes-Bug: #1529092
Notes
Notes (review): Code-Review+1: Goutham Pacha Ravi <gouthamr@netapp.com> Code-Review+2: Valeriy Ponomaryov <vponomaryov@mirantis.com> Code-Review+1: zhongjun <jun.zhongjun@huawei.com> Code-Review+1: Rodrigo Barbieri <rodrigo.barbieri2010@gmail.com> Code-Review+1: Marc Koderer <marc@koderer.com> Code-Review+2: xing-yang <xing.yang@emc.com> Workflow+1: xing-yang <xing.yang@emc.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 29 Dec 2015 22:12:50 +0000 Reviewed-on: https://review.openstack.org/261335 Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index e517e28..32673a5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -62,7 +62,7 @@ commands = python tools/lintstack.py check
62# reason: removed in hacking (https://review.openstack.org/#/c/101701/) 62# reason: removed in hacking (https://review.openstack.org/#/c/101701/)
63ignore = H904 63ignore = H904
64builtins = _ 64builtins = _
65exclude = .venv,.tox,dist,doc,openstack,*egg 65exclude = .venv,.tox,dist,doc,*egg
66 66
67[hacking] 67[hacking]
68import_exceptions = 68import_exceptions =