Skip to content

Commit 6518cdb

Browse files
slivercn2ygk
authored andcommitted
Omit common debugging statement from coverage (#538)
1 parent cc64dad commit 6518cdb

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

requirements-development.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ flake8-isort==2.6.0
99
isort==4.3.4
1010
mock==2.0.0
1111
pytest==4.0.2
12+
pytest-cov==2.6.0
1213
pytest-django==3.4.4
1314
pytest-factoryboy==2.0.2
1415
recommonmark==0.4.0

setup.cfg

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,19 @@ skip=
2929
.eggs
3030
.tox,
3131

32+
[coverage:run]
33+
source =
34+
example
35+
rest_framework_json_api
36+
3237
[coverage:report]
33-
omit=
38+
omit =
3439
.tox/*
3540
.eggs/*
3641
show_missing = True
42+
exclude_lines =
43+
pragma: no cover
44+
pragma: todo cover
45+
def __str__
46+
def __unicode__
47+
def __repr__

0 commit comments

Comments
 (0)