Skip to content

Commit f4cd22f

Browse files
committed
Create .coveragerc
1 parent 6504d60 commit f4cd22f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.coveragerc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[run]
2+
# include = */src/*
3+
# omit anything in a virtualenv directory anywhere
4+
omit =
5+
/home/travis/virtualenv/*
6+
*.yml
7+
/home/travis/img/*
8+
__init__*
9+
*.md
10+
docs/*
11+
venv/*
12+
*.gif
13+
*.html
14+
/tests/*
15+
16+
[report]
17+
; Regexes for lines to exclude from consideration
18+
19+
exclude_also =
20+
; Don't complain if non-runnable code isn't run:
21+
if __name__ == .__main__.:

0 commit comments

Comments
 (0)