From 5ba9965103b8958a9e61aad89bcc0228ee7e4a12 Mon Sep 17 00:00:00 2001 From: William Ting Date: Sat, 30 Apr 2016 23:15:55 -0700 Subject: [PATCH] Fail build if test coverage drops is <99% instead of <100%. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 86543fb..f749447 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ passenv = HOME HOMEPATH PROGRAMDATA commands = coverage erase coverage run --source=pre_commit_hooks/ -m pytest -rxs --durations 10 {posargs:tests} - coverage report --show-missing --fail-under 100 + coverage report --show-missing --fail-under 99 pre-commit install -f --install-hooks pre-commit run --all-files pylint {[tox]project} testing tests setup.py