forked from tpvasconcelos/ridgeplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coveragerc
42 lines (38 loc) · 906 Bytes
/
.coveragerc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[run]
branch = true
omit =
*/_vendor/*
[paths]
# https://coverage.readthedocs.io/en/latest/config.html#paths
src =
src
.tox*/*/lib/python*/site-packages
.tox*/pypy*/site-packages
.tox*\*\Lib\site-packages
*/src
*\src
[report]
precision = 1
show_missing = true
skip_covered = false
fail_under = 50
# Some of the patterns below were taken or adapted
# from: https://github.com/asottile/covdefaults
exclude_lines =
# a more strict default pragma
\# pragma: no cover\b
# allow defensive code
^\s*raise AssertionError\b
^\s*raise NotImplementedError\b
^\s*return NotImplemented\b
^\s*raise$
# typing-related code
^\s*if (__debug__|False|TYPE_CHECKING):
^@overload\b
: \.\.\.(\s*#.*)?$
^ +\.\.\.$
-> ['"]?NoReturn['"]?:
# non-runnable code
if __name__ == ['"]__main__['"]:$
partial_branches =
\# pragma: no branch\b