Skip to content

Commit b21c7f1

Browse files
committed
Exclude all type checking imports from coverage reports
1 parent ee95b1f commit b21c7f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ concurrency = multiprocessing, thread
33
parallel = true
44
sigterm = true
55
omit = tests/**/*.py, docs/**/*.py
6+
7+
[report]
8+
exclude_lines =
9+
pragma: no cover
10+
if TYPE_CHECKING:

0 commit comments

Comments
 (0)