summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc10
1 files changed, 10 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc
index 9e18d8489..3e7af77c8 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -7,3 +7,13 @@ include =
pylint/*
omit =
*/test/*
+exclude_lines =
+ # Re-enable default pragma
+ pragma: no cover
+
+ # Debug-only code
+ def __repr__
+
+ # Type checking code not executed during pytest runs
+ if TYPE_CHECKING:
+ @overload