File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # .coveragerc to control coverage.py
2+ [coverage:run]
3+ branch = True
4+
5+ [coverage:run]
6+ omit =
7+ # no config, tests, samples, data or bin directory and related files
8+ tests/*
9+ samples/*
10+ thirdparty/*
11+ etc/*
12+ */data/*
13+ */bin/*
14+ */templates/*
15+ src/scancode/cli_test_utils.py
16+ src/scancode_config.py
17+ # ignore specific third-party code which is not tested here, but elsewhere
18+ src/extractcode/tarfile_patch/*
19+ src/extractcode/tar.py
20+ src/commoncode/dict_utils.py
21+
22+ [coverage:report]
23+ # lines to exclude from consideration
24+ exclude_lines =
25+ # Have to re-enable the standard pragma
26+ pragma: no cover
27+
28+ # Debug-only code:
29+ def __repr__
30+ if TRACE
31+ logger
32+
33+ # Some assertion code:
34+ raise AssertionError
35+ raise NotImplementedError
36+
37+ # main code does not run in our context:
38+ if __name__ == .__main__.:
You can’t perform that action at this time.
0 commit comments