Merge "Set upper bound on max-complexity in pep8"
This commit is contained in:
commit
3c30ed3cb4
9
tox.ini
9
tox.ini
|
@ -192,11 +192,10 @@ commands = bandit -r placement -x tests -n 5 -ll
|
|||
enable-extensions = H106,H203,H904
|
||||
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 are more complex than 25, set max-complexity
|
||||
# to 25 and run 'tox -epep8'.
|
||||
# 34 is currently the most complex thing we have
|
||||
# TODO(jogo): get this number down to 25 or so
|
||||
max-complexity=35
|
||||
# To get a list of functions that have a complexity of 15 or more, set
|
||||
# max-complexity to 15 and run 'tox -epep8'.
|
||||
# 17 is currently the most complex thing we have
|
||||
max-complexity=18
|
||||
|
||||
[hacking]
|
||||
import_exceptions = placement.i18n
|
||||
|
|
Loading…
Reference in New Issue