coverage: add assert_never to exclude_lines

These are assertions that should never trigger.
This commit is contained in:
Ran Benita 2021-10-02 13:54:17 +03:00
parent f65dfc39f3
commit 1d0261e5cb
1 changed files with 1 additions and 0 deletions

View File

@ -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( |$)