Skip to content

Commit 8f745dc

Browse files
committed
Simplify coverage.py settings by switching from exclude_lines to exclude_also
1 parent be38eef commit 8f745dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
branch = true
113113

114114
[tool.coverage.report]
115-
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
115+
exclude_also = ["if TYPE_CHECKING:"]
116116

117117
[tool.pytest.ini_options]
118118

0 commit comments

Comments
 (0)