Add missing return type in test __init__ methods (#123932)

* Add missing return type in test __init__ methods

* Adjust
This commit is contained in:
epenet 2024-08-14 16:48:52 +02:00 committed by GitHub
parent faacfe3f90
commit 5608301178
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 64 additions and 47 deletions

View file

@ -920,7 +920,7 @@ async def test_subscribe_entities_with_unserializable_state(
class CannotSerializeMe:
"""Cannot serialize this."""
def __init__(self):
def __init__(self) -> None:
"""Init cannot serialize this."""
hass.states.async_set("light.permitted", "off", {"color": "red"})