forked from microsoft/mssql-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coveragerc
More file actions
32 lines (26 loc) · 725 Bytes
/
.coveragerc
File metadata and controls
32 lines (26 loc) · 725 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
[run]
omit =
main.py
setup.py
bcp_options.py
tests/*
[report]
# Exclude lines that don't need coverage (logging, defensive code, etc.)
exclude_lines =
# Default pragmas
pragma: no cover
# Don't complain about missing debug-only code
def __repr__
# Don't complain if tests don't hit defensive assertion code
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run
if __name__ == .__main__.:
# Exclude all logging statements (zero overhead when disabled by design)
logger\.debug
logger\.info
logger\.warning
logger\.error
LOG\(
# Don't complain about abstract methods
@abstract