mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix hassfest type hints for ConfigSubentryFlow (#143502)
This commit is contained in:
@@ -597,6 +597,16 @@ _CLASS_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||
),
|
||||
],
|
||||
),
|
||||
ClassTypeHintMatch(
|
||||
base_class="ConfigSubentryFlow",
|
||||
matches=[
|
||||
TypeHintMatch(
|
||||
function_name="async_step_*",
|
||||
arg_types={},
|
||||
return_type="SubentryFlowResult",
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
}
|
||||
# Overriding properties and functions are normally checked by mypy, and will only
|
||||
|
Reference in New Issue
Block a user