coverage: add assert_never to exclude_lines
These are assertions that should never trigger.
This commit is contained in:
parent
f65dfc39f3
commit
1d0261e5cb
|
@ -25,6 +25,7 @@ exclude_lines =
|
||||||
^\s*raise NotImplementedError\b
|
^\s*raise NotImplementedError\b
|
||||||
^\s*return NotImplemented\b
|
^\s*return NotImplemented\b
|
||||||
^\s*assert False(,|$)
|
^\s*assert False(,|$)
|
||||||
|
^\s*assert_never\(
|
||||||
|
|
||||||
^\s*if TYPE_CHECKING:
|
^\s*if TYPE_CHECKING:
|
||||||
^\s*@overload( |$)
|
^\s*@overload( |$)
|
||||||
|
|
Loading…
Reference in New Issue