Ensure flake8 tests run on all api code
We need to exclude the plugins/xenserver directory because the python2.4 code can't use as in except clauses. The existing exclude directory accidentally included some code in nova/api/openstack/compute/plugins and the related tests. This code is now included in the flake8 tests, and the current violations have been fixed up. Fixes bug 1197858 Change-Id: Ib5f1b65d5d793f0f5854e898ca3ce751e43ef233
This commit is contained in:
parent
0b12b99424
commit
339b974352
2
tox.ini
2
tox.ini
@ -41,7 +41,7 @@ commands = {posargs}
|
||||
[flake8]
|
||||
ignore = E121,E122,E123,E124,E126,E127,E128,E711,E712,H302,H303,H404,F403,F811,F841,N309
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,plugins,tools
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*plugins/xenserver*,tools
|
||||
|
||||
[hacking]
|
||||
local-check-factory = nova.hacking.checks.factory
|
||||
|
Loading…
Reference in New Issue
Block a user