mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Update mypy-dev to 1.10.0a3 (#114289)
* Update mypy-dev to 1.10.0a3 * Allow TypedDict init from Type
This commit is contained in:
parent
34cf0c5721
commit
24168dfba7
@ -194,7 +194,7 @@ def _map_error_to_schema_errors(
|
||||
class FlowManager(abc.ABC, Generic[_FlowResultT, _HandlerT]):
|
||||
"""Manage all the flows that are in progress."""
|
||||
|
||||
_flow_result: Callable[..., _FlowResultT] = FlowResult # type: ignore[assignment]
|
||||
_flow_result: type[_FlowResultT] = FlowResult # type: ignore[assignment]
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
@ -615,7 +615,7 @@ class FlowManager(abc.ABC, Generic[_FlowResultT, _HandlerT]):
|
||||
class FlowHandler(Generic[_FlowResultT, _HandlerT]):
|
||||
"""Handle a data entry flow."""
|
||||
|
||||
_flow_result: Callable[..., _FlowResultT] = FlowResult # type: ignore[assignment]
|
||||
_flow_result: type[_FlowResultT] = FlowResult # type: ignore[assignment]
|
||||
|
||||
# Set by flow manager
|
||||
cur_step: _FlowResultT | None = None
|
||||
|
@ -11,7 +11,7 @@ astroid==3.1.0
|
||||
coverage==7.4.4
|
||||
freezegun==1.4.0
|
||||
mock-open==1.4.0
|
||||
mypy-dev==1.9.0b1
|
||||
mypy-dev==1.10.0a3
|
||||
pre-commit==3.7.0
|
||||
pydantic==1.10.12
|
||||
pylint==3.1.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user