Skip to content

Commit 8dd89fd

Browse files
committed
Use exclude_also instead of exclude_lines for coverage config
1 parent 1517b79 commit 8dd89fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,8 @@ skip_covered = true
219219
show_missing = true
220220
ignore_errors = true
221221
precision = 2
222-
exclude_lines = [
223-
"pragma: no cover",
222+
exclude_also = [
224223
"pragma: lax no cover",
225-
"if TYPE_CHECKING:",
226224
"@overload",
227225
"raise NotImplementedError",
228226
"^\\s*\\.\\.\\.\\s*$",

0 commit comments

Comments
 (0)