Merge "Put a cap on our cyclomatic complexity"
This commit is contained in:
commit
fde6356635
3
tox.ini
3
tox.ini
@ -57,6 +57,9 @@ commands = python setup.py build_sphinx
|
||||
|
||||
[flake8]
|
||||
exclude = .venv*,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*.egg,.update-venv
|
||||
# NOTE(flaper87): Our currently max-complexity is 15. Not sure what the ideal complexity
|
||||
# for Zaqar should be but lets keep it to the minimum possible.
|
||||
max-complexity = 16
|
||||
|
||||
[hacking]
|
||||
import_exceptions = zaqar.openstack.common.gettextutils._,zaqar.i18n._
|
||||
|
Loading…
x
Reference in New Issue
Block a user