File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change 1+ [run]
2+ branch = True
3+
14[report]
2- exclude_lines =
3- pragma: no cover
4- # Don't complain if tests don't hit defensive assertion code:
5- # See: https://stackoverflow.com/a/9212387/3407256
5+ ; Regexes for lines to exclude from consideration
6+ exclude_also =
7+ ; Don't complain about missing debug-only code:
8+ def __repr__
9+ if self\.debug
10+
11+ ; Don't complain if tests don't hit defensive assertion code:
12+ raise AssertionError
613 raise NotImplementedError
14+
15+ ; Don't complain if non-runnable code isn't run:
16+ if 0:
17+ if __name__ == .__main__.:
18+
19+ ; Don't complain about abstract methods, they aren't run:
20+ @(abc\.)?abstractmethod
21+
22+ ignore_errors = True
23+
24+ [html]
25+ directory = coverage_html_report
You can’t perform that action at this time.
0 commit comments