-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.coveragerc
More file actions
37 lines (30 loc) · 788 Bytes
/
.coveragerc
File metadata and controls
37 lines (30 loc) · 788 Bytes
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
[paths]
source =
src
*/site-packages
[run]
branch = true
source =
desert
tests
parallel = true
[report]
show_missing = true
precision = 2
omit = *migrations*
exclude_lines =
# Lines matching these regexes don't need to be covered
# https://coverage.readthedocs.io/en/coverage-5.5/excluding.html?highlight=exclude_lines#advanced-exclusion
# this is the default but must be explicitly specified since
# we are overriding exclude_lines
pragma: no cover
# abstract methods won't ever be run
abc\.abstractmethod
# overloads won't ever be run
typing\.overload
# ellipses (...) are often used in type-hint related stub code
^\s*\.\.\.\s*$
# TYPE_CHECKING guarded code won't be run
if typing.TYPE_CHECKING:
if t.TYPE_CHECKING:
if TYPE_CHECKING: