Skip to content

Commit a0c56fb

Browse files
authored
prevent matching ... in longer lines (#3298)
1 parent 01751d6 commit a0c56fb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ gpu = [
7070
]
7171
# Development extras
7272
test = [
73-
"coverage",
73+
"coverage>=7.10",
7474
# Pin possibly due to https://github.com/pytest-dev/pytest-cov/issues/693
7575
"pytest<8.4",
7676
"pytest-asyncio",
@@ -128,11 +128,8 @@ dev = [
128128
]
129129

130130
[tool.coverage.report]
131-
exclude_lines = [
132-
"pragma: no cover",
133-
"if TYPE_CHECKING:",
134-
"pragma: ${PY_MAJOR_VERSION} no cover",
135-
'.*\.\.\.' # Ignore "..." lines
131+
exclude_also = [
132+
'if TYPE_CHECKING:',
136133
]
137134

138135
[tool.coverage.run]

0 commit comments

Comments
 (0)