Skip to content

Commit 379fe57

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

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
@@ -219,7 +219,7 @@ skip_covered = true
219219
show_missing = true
220220
ignore_errors = true
221221
precision = 2
222-
exclude_lines = [
222+
exclude_also = [
223223
"pragma: no cover",
224224
"pragma: lax no cover",
225225
"if TYPE_CHECKING:",

0 commit comments

Comments
 (0)