Add missing return type in test __init__ methods (#123932)
* Add missing return type in test __init__ methods * Adjust
This commit is contained in:
parent
faacfe3f90
commit
5608301178
35 changed files with 64 additions and 47 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue