Add type ignore error codes [core] (#66773)
This commit is contained in:
@@ -378,11 +378,11 @@ class FlowHandler:
|
||||
|
||||
# While not purely typed, it makes typehinting more useful for us
|
||||
# and removes the need for constant None checks or asserts.
|
||||
flow_id: str = None # type: ignore
|
||||
hass: HomeAssistant = None # type: ignore
|
||||
handler: str = None # type: ignore
|
||||
flow_id: str = None # type: ignore[assignment]
|
||||
hass: HomeAssistant = None # type: ignore[assignment]
|
||||
handler: str = None # type: ignore[assignment]
|
||||
# Ensure the attribute has a subscriptable, but immutable, default value.
|
||||
context: dict[str, Any] = MappingProxyType({}) # type: ignore
|
||||
context: dict[str, Any] = MappingProxyType({}) # type: ignore[assignment]
|
||||
|
||||
# Set by _async_create_flow callback
|
||||
init_step = "init"
|
||||
|
||||
Reference in New Issue
Block a user