forked from python-trio/trio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coveragerc
30 lines (28 loc) · 806 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
[run]
branch=True
source=trio
omit=
setup.py
# These are run in subprocesses, but still don't work. We follow
# coverage's documentation to no avail.
*/trio/_core/_tests/test_multierror_scripts/*
# Omit the generated files in trio/_core starting with _generated_
*/trio/_core/_generated_*
# Script used to check type completeness that isn't run in tests
*/trio/_tests/check_type_completeness.py
# The test suite spawns subprocesses to test some stuff, so make sure
# this doesn't corrupt the coverage files
parallel=True
[report]
precision = 1
exclude_lines =
pragma: no cover
abc.abstractmethod
if TYPE_CHECKING:
if _t.TYPE_CHECKING:
partial_branches =
pragma: no branch
if not TYPE_CHECKING:
if not _t.TYPE_CHECKING:
if .* or not TYPE_CHECKING:
if .* or not _t.TYPE_CHECKING: