Skip to content

Commit 385ace4

Browse files
committed
more coverage to ignore
Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
1 parent f8b53c1 commit 385ace4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.coveragerc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,11 @@ exclude_lines =
1515
# Don't complain if tests don't hit defensive assertion code:
1616
raise NotImplementedError
1717

18+
# Code for static analysis is never covered:
19+
if typing.TYPE_CHECKING:
20+
21+
# Fallback code with no installed deps is almost impossible to cover properly
22+
except ImportError:
23+
1824
# Don't complain if non-runnable code isn't run:
1925
if __name__ == .__main__.:

0 commit comments

Comments
 (0)