mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Clean up pylint comments (#49334)
This commit is contained in:
parent
b0eb2afa65
commit
44383f25ce
@ -116,7 +116,6 @@ class BaseNotificationService:
|
|||||||
|
|
||||||
# While not purely typed, it makes typehinting more useful for us
|
# While not purely typed, it makes typehinting more useful for us
|
||||||
# and removes the need for constant None checks or asserts.
|
# and removes the need for constant None checks or asserts.
|
||||||
# Ignore types: https://github.com/PyCQA/pylint/issues/3167
|
|
||||||
hass: HomeAssistant = None # type: ignore
|
hass: HomeAssistant = None # type: ignore
|
||||||
|
|
||||||
# Name => target
|
# Name => target
|
||||||
|
@ -307,7 +307,9 @@ class FlowHandler:
|
|||||||
|
|
||||||
# Set by flow manager
|
# Set by flow manager
|
||||||
cur_step: dict[str, str] | None = None
|
cur_step: dict[str, str] | None = None
|
||||||
# Ignore types: https://github.com/PyCQA/pylint/issues/3167
|
|
||||||
|
# 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
|
flow_id: str = None # type: ignore
|
||||||
hass: HomeAssistant = None # type: ignore
|
hass: HomeAssistant = None # type: ignore
|
||||||
handler: str = None # type: ignore
|
handler: str = None # type: ignore
|
||||||
|
@ -138,7 +138,6 @@ class Entity(ABC):
|
|||||||
# Owning hass instance. Will be set by EntityPlatform
|
# Owning hass instance. Will be set by EntityPlatform
|
||||||
# While not purely typed, it makes typehinting more useful for us
|
# While not purely typed, it makes typehinting more useful for us
|
||||||
# and removes the need for constant None checks or asserts.
|
# and removes the need for constant None checks or asserts.
|
||||||
# Ignore types: https://github.com/PyCQA/pylint/issues/3167
|
|
||||||
hass: HomeAssistant = None # type: ignore
|
hass: HomeAssistant = None # type: ignore
|
||||||
|
|
||||||
# Owning platform instance. Will be set by EntityPlatform
|
# Owning platform instance. Will be set by EntityPlatform
|
||||||
|
Loading…
x
Reference in New Issue
Block a user