From d85807f68686192b0d373c290b834cc34a96c379 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Wed, 5 Sep 2018 11:04:05 -0500 Subject: [PATCH] Don't report some files on coverage --- .coveragerc | 7 +++++++ tox.ini | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 4d6fe4be30f..b6269390f38 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,10 @@ [run] omit = */**/migrations/* + */**/management/commands/* + */**/settings/* + */**/settings.py + analytics/vendor/* + rtd_tests/* + */**/tests/** + wsgi.py diff --git a/tox.ini b/tox.ini index 48bfb6ea19b..4b0971ba61b 100644 --- a/tox.ini +++ b/tox.ini @@ -57,5 +57,5 @@ description = run test suite with code coverage for the application with {basepy deps = coverage whitelist_externals = echo commands = - coverage report --show-missing --fail-under=79 + coverage report --show-missing --fail-under=76 echo Annotated HTML coverage report is in {toxinidir}/readthedocs/htmlcov/index.html