Add common entity module to pylint plugin (#138706)

* Add common entity module to pylint plugin

* Fix pylint errors
This commit is contained in:
epenet
2025-02-17 14:45:32 +01:00
committed by GitHub
parent d8d054e7dd
commit 7e388f69b0
3 changed files with 13 additions and 3 deletions

View File

@ -1410,6 +1410,16 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
],
),
],
"entity": [
ClassTypeHintMatch(
base_class="Entity",
matches=_ENTITY_MATCH,
),
ClassTypeHintMatch(
base_class="RestoreEntity",
matches=_RESTORE_ENTITY_MATCH,
),
],
"fan": [
ClassTypeHintMatch(
base_class="Entity",