forked from aboutcode-org/scancode-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coveragerc
34 lines (30 loc) · 778 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
31
32
33
34
# .coveragerc to control coverage.py
[coverage:run]
branch = True
omit =
# no config, tests, samples, data or bin directory and related files
tests/*
samples/*
thirdparty/*
etc/*
*/data/*
*/bin/*
*/templates/*
src/scancode/cli_test_utils.py
src/scancode_config.py
# ignore specific third-party code which is not tested here, but elsewhere
src/commoncode/dict_utils.py
[coverage:report]
# lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Debug-only code:
def __repr__
if TRACE
logger
# Some assertion code:
raise AssertionError
raise NotImplementedError
# main code does not run in our context:
if __name__ == .__main__.: