Merge "Put a cap on our cyclomatic complexity"

This commit is contained in:
Jenkins 2014-10-20 19:35:19 +00:00 committed by Gerrit Code Review
commit 9fd059b938
1 changed files with 3 additions and 0 deletions

View File

@ -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