mirror of
https://github.com/home-assistant/core.git
synced 2026-04-29 10:23:46 +02:00
Add TYPE_CHECKING to coverage excludes (#47668)
This commit is contained in:
@@ -1167,3 +1167,6 @@ exclude_lines =
|
||||
# Don't complain if tests don't hit defensive assertion code:
|
||||
raise AssertionError
|
||||
raise NotImplementedError
|
||||
|
||||
# TYPE_CHECKING block is never executed during pytest run
|
||||
if TYPE_CHECKING:
|
||||
|
||||
Reference in New Issue
Block a user