Skip to content

Commit 2fe639b

Browse files
author
mongkok
committed
Added exclude_lines to coverage.report
1 parent 180eab8 commit 2fe639b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,9 @@ disallow_untyped_calls = true
9696
disallow_untyped_decorators = true
9797
disallow_untyped_defs = true
9898
ignore_missing_imports = true
99+
100+
[tool.coverage.report]
101+
exclude_lines = [
102+
"pragma: no cover",
103+
"if t.TYPE_CHECKING:"
104+
]

0 commit comments

Comments
 (0)