diff options
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc index 8905681..1201835 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,9 @@ [report] # Regexes for lines to exclude from consideration exclude_lines = + # Re-enable the standard pragma + pragma: no cover # Don't complain if non-runnable code isn't run if __name__ == .__main__.: + # TYPE_CHECKING is False at runtime + if typing.TYPE_CHECKING: |