-
Notifications
You must be signed in to change notification settings - Fork 92
/
.coveragerc
59 lines (49 loc) · 1.1 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# This is the Coverage.py configuration file. This is used by CI when running
# the tests and collecting coverage
[run]
branch = True
cover_pylib = False
concurrency = thread
data_file = .coverage
disable_warnings =
trace-changed
module-not-python
module-not-imported
no-data-collected
module-not-measured
omit =
tests/*
*/cylc/flow/*_pb2.py
cylc/flow/etc/*
cylc/flow/scripts/report_timings.py
parallel = True
source = ./cylc
timid = False
[report]
exclude_lines =
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
return NotImplemented
# Ignore type checking code:
if (typing\.)?TYPE_CHECKING:
@overload( |$)
# Don't complain about ellipsis (exception classes, typing overloads etc):
\.\.\.
# Ignore abstract methods
@(abc\.)?abstractmethod
fail_under=0
ignore_errors = False
omit =
tests/*
*/cylc/flow/*_pb2.py
cylc/flow/etc/*
precision = 2
show_missing = False
skip_covered = False
sort = Name
[html]
directory = htmlcov
[xml]
output = coverage.xml
package_depth = 99