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:
Marc Mueller 2024-03-27 12:32:29 +01:00 committed by GitHub
parent 34cf0c5721
commit 24168dfba7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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