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

@ -121,7 +121,7 @@ class MockNumberEntityDescr(NumberEntity):
Step is calculated based on the smaller max_value and min_value.
"""
def __init__(self):
def __init__(self) -> None:
"""Initialize the clas instance."""
self.entity_description = NumberEntityDescription(
"test",
@ -145,7 +145,7 @@ class MockNumberEntityAttrWithDescription(NumberEntity):
members take precedence over the entity description.
"""
def __init__(self):
def __init__(self) -> None:
"""Initialize the clas instance."""
self.entity_description = NumberEntityDescription(
"test",
@ -223,7 +223,7 @@ class MockNumberEntityDescrDeprecated(NumberEntity):
Step is calculated based on the smaller max_value and min_value.
"""
def __init__(self):
def __init__(self) -> None:
"""Initialize the clas instance."""
self.entity_description = NumberEntityDescription(
"test",