From 354e23edb380d0cfa7851fe8fa5636611da93e5f Mon Sep 17 00:00:00 2001 From: tengqm Date: Wed, 10 Dec 2014 20:26:58 +0800 Subject: [PATCH] Stricter complexity checking in tox configuration This is the last patch to fix complexity issue we have in Heat code. Change-Id: Icefec1b794ef0589d535f944ae5a7605cabe7e8b --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index ab7e5fdfee..d48982ac22 100644 --- a/tox.ini +++ b/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