-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.coveragerc
More file actions
67 lines (53 loc) · 1.05 KB
/
Copy path.coveragerc
File metadata and controls
67 lines (53 loc) · 1.05 KB
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
60
61
62
63
64
65
66
67
# Coverage.py Configuration
# For use with pytest-cov
# Author: thc1006@ieee.org
[run]
# Source directories to measure
source = 03-Implementation
# Omit files from coverage
omit =
# Test files
*/test_*.py
*/tests/*
*_test.py
# Virtual environments
*/venv/*
*/env/*
*/.venv/*
# Cache and build
*/__pycache__/*
*/build/*
*/dist/*
# Configuration files
*/setup.py
*/conftest.py
# Enable branch coverage
branch = True
[report]
# Report output format
precision = 2
show_missing = True
skip_covered = False
# Exclude lines from coverage
exclude_lines =
# Standard pragma
pragma: no cover
# Defensive programming
raise AssertionError
raise NotImplementedError
# Debugging code
def __repr__
def __str__
# Non-runnable code
if __name__ == .__main__.:
if TYPE_CHECKING:
if typing.TYPE_CHECKING:
# Abstract methods
@abstractmethod
@abc.abstractmethod
[html]
# HTML report directory
directory = htmlcov
[xml]
# XML report output
output = coverage.xml