Skip to content

Commit e0f59db

Browse files
authored
.coveragerc: move include to report section (pytest-dev#578)
Fixes the following warning: > Coverage.py warning: --include is ignored because --source is set > (include-ignored) Ref: https://bitbucket.org/ned/coveragepy/issues/621/include-ignored-warning-when-using
1 parent 927d6c1 commit e0f59db

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.coveragerc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[run]
22
parallel = true
33
source = .
4-
include = pytest_django/*,pytest_django_test/*,tests/*
54
branch = true
5+
[report]
6+
include = pytest_django/*,pytest_django_test/*,tests/*

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ after_success:
6969
if [[ "$PYTEST_DJANGO_COVERAGE" = 1 ]]; then
7070
pip install codecov
7171
72+
coverage --version
7273
coverage combine
7374
coverage xml
7475

0 commit comments

Comments
 (0)