1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add RestoreEntity to button checks in pylint (#76932)

This commit is contained in:
epenet
2022-08-17 18:42:35 +02:00
committed by GitHub
parent a63a3b96b7
commit fc6c66fe6c

View File

@@ -724,6 +724,10 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
base_class="Entity",
matches=_ENTITY_MATCH,
),
ClassTypeHintMatch(
base_class="RestoreEntity",
matches=_RESTORE_ENTITY_MATCH,
),
ClassTypeHintMatch(
base_class="ButtonEntity",
matches=[