Skip to content

Commit 1bacd1e

Browse files
committed
Don't report some files on coverage
1 parent 12d7b00 commit 1bacd1e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.coveragerc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
[run]
22
omit =
33
*/**/migrations/*
4+
*/**/management/commands/*
5+
*/**/settings/*
6+
*/**/settings.py
7+
analytics/vendor/*
8+
rtd_tests/*
9+
*/**/tests/**
10+
wsgi.py

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ description = run test suite with code coverage for the application with {basepy
5757
deps = coverage
5858
whitelist_externals = echo
5959
commands =
60-
coverage report --show-missing --fail-under=79
60+
coverage report --show-missing --fail-under=76
6161
echo Annotated HTML coverage report is in {toxinidir}/readthedocs/htmlcov/index.html

0 commit comments

Comments
 (0)