From 76e856c1d7f357d9a36cc0e29a2e19505f66257b Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Fri, 7 Apr 2023 10:18:30 +0700 Subject: [PATCH] Ignore `if TYPE_CHECKING:` when measuring test coverage --- .coveragerc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.coveragerc b/.coveragerc index f527e4fb..f1a4bf25 100644 --- a/.coveragerc +++ b/.coveragerc @@ -5,3 +5,6 @@ omit = rq/contrib/legacy.py rq/dummy.py rq/local.py + +exclude_lines = + if TYPE_CHECKING: \ No newline at end of file