Skip to content

Commit 419ec0d

Browse files
committed
Ignore assert_nevers for coverage
1 parent 28fa754 commit 419ec0d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ exclude_also = [
111111
"if TYPE_CHECKING:",
112112
"class .*\\bProtocol\\):",
113113
"class .*\\bProtocol(\\[.*\\])?\\):",
114+
"assert_never\\("
114115
]
115116

116117
[tool.ruff]

0 commit comments

Comments
 (0)