Stricter complexity checking in tox configuration
This is the last patch to fix complexity issue we have in Heat code. Change-Id: Icefec1b794ef0589d535f944ae5a7605cabe7e8b
This commit is contained in:
parent
6ca66128f1
commit
354e23edb3
4
tox.ini
4
tox.ini
@ -50,9 +50,7 @@ commands =
|
||||
ignore = H404,H803
|
||||
show-source = true
|
||||
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,tools,build
|
||||
# 28 is currently the most complex thing we have
|
||||
# TODO(asalkeld): get this number down to 20
|
||||
max-complexity=29
|
||||
max-complexity=20
|
||||
|
||||
[hacking]
|
||||
import_exceptions = heat.common.i18n
|
||||
|
Loading…
Reference in New Issue
Block a user