File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -7,25 +7,20 @@ parallel = True
77
88[report]
99# Regexes for lines to exclude from consideration
10- exclude_lines =
11- # Have to re-enable the standard pragma
12- pragma: no cover
13-
10+ exclude_also =
1411 # Don't complain about missing debug-only code:
1512 def __repr__
1613 if self\.debug
17-
1814 # Don't complain if tests don't hit defensive assertion code:
1915 raise AssertionError
2016 raise NotImplementedError
21-
2217 # Don't complain if non-runnable code isn't run:
2318 if 0:
2419 if __name__ == .__main__.:
2520 if __name__ == __main__.:
21+ class .*\bProtocol\):
2622 # Don't complain about abstract methods, they aren't run:
2723 @(abc\.)?abstract(((class|static)?method)|property)
28-
2924 # Don't complain about type checking
3025 if TYPE_CHECKING:
3126
You can’t perform that action at this time.
0 commit comments