Add RestoreEntity to button checks in pylint (#76932)

pull/76942/head
epenet 2022-08-17 18:42:35 +02:00 committed by GitHub
parent a63a3b96b7
commit fc6c66fe6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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