Merge "Reduce max-complexity to 15"

This commit is contained in:
Zuul 2018-10-11 15:19:30 +00:00 committed by Gerrit Code Review
commit ab62e9f4da
1 changed files with 2 additions and 2 deletions

View File

@ -185,8 +185,8 @@ ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes
# To get a list of functions that have a complexity of 15 or more, set
# max-complexity to 15 and run 'tox -epep8'.
# 16 is currently the most complex thing we have
max-complexity=17
# 14 is currently the most complex thing we have
max-complexity=15
[hacking]
import_exceptions = placement.i18n