Merge "Put a cap on our cyclomatic complexity"
This commit is contained in:
commit
9fd059b938
3
tox.ini
3
tox.ini
|
@ -60,6 +60,9 @@ commands = python setup.py build_sphinx
|
|||
|
||||
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405,H803,H904
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
|
||||
# 67 is currently the most complex thing we have
|
||||
# TODO(jogo): get this number down to 25 or so
|
||||
max-complexity=68
|
||||
|
||||
[hacking]
|
||||
local-check-factory = nova.hacking.checks.factory
|
||||
|
|
Loading…
Reference in New Issue