From c8d73c0839895175703948ac47c59ea0e17d43de Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Mon, 8 Dec 2014 21:02:05 +0100 Subject: [PATCH] Refactoring: cap complexity at 15 and coverage at 90 Change-Id: I6e4de72ee6a3ecc825fe959b289d7e7e83e01bb9 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 4b45a09c9..5ec6d7e2a 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ deps = coverage commands = coverage run --branch --include "ironic_discoverd*" ironic_discoverd/test.py - coverage report -m --fail-under 80 + coverage report -m --fail-under 90 [testenv:pep8] basepython = python2.7 @@ -23,7 +23,7 @@ commands = rst2html.py --strict CONTRIBUTING.rst /dev/null [flake8] -max-complexity=20 +max-complexity=15 [hacking] import_exceptions = ironicclient.exceptions