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:
tengqm 2014-12-10 20:26:58 +08:00
parent 6ca66128f1
commit 354e23edb3
1 changed files with 1 additions and 3 deletions

View File

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