Debian Codegraph @

.coveragerc

raw
1 # This is the Coverage.py configuration file. This is used by CI when running
2 # the tests and collecting coverage
3
4 [run]
5 branch = True
6 cover_pylib = False
7 concurrency = thread
8 data_file = .coverage
9 disable_warnings =
10 trace-changed
11 module-not-python
12 module-not-imported
13 no-data-collected
14 module-not-measured
15 omit =
16 tests/*
17 */cylc/flow/*_pb2.py
18 cylc/flow/etc/*
19 cylc/flow/scripts/report_timings.py
20 parallel = True
21 source = ./cylc
22 # https://github.com/coveragepy/coveragepy/issues/2082:
23 core = ctrace
24
25 [report]
26 exclude_lines =
27 pragma: no cover
28
29 # Don't complain if tests don't hit defensive assertion code:
30 raise NotImplementedError
31 return NotImplemented
32
33 # Ignore type checking code:
34 if (typing\.)?TYPE_CHECKING:
35 @overload( |$)
36
37 # Don't complain about ellipsis (exception classes, typing overloads etc):
38 \.\.\.
39
40 # Ignore abstract methods
41 @(abc\.)?abstractmethod
42
43 fail_under=0
44 ignore_errors = False
45 omit =
46 tests/*
47 */cylc/flow/*_pb2.py
48 cylc/flow/etc/*
49 precision = 2
50 show_missing = False
51 skip_covered = False
52 sort = Name
53
54 [html]
55 directory = htmlcov
56
57
58 [xml]
59 output = coverage.xml
60 package_depth = 99