Remove incorrect ignore in pylint plugin (#90024)
* Remove incorrect ignore_missing_annotations * Allow tuple[int, int] in hs_color * Adjust notify targets * Always check for return type inheritance * Adjust tests * Revert "Always check for return type inheritance" This reverts commit 3528742adf98edc6481f2c954c032ace881e1d6e. * Revert "Allow tuple[int, int] in hs_color" This reverts commit d51c1731eff3d59b9e94e7a7e914933ceaf8e34f. * Revert "Adjust notify targets" This reverts commit 4cba77a7309dc89980e29d6d5b9107d9e55f7070.
This commit is contained in:
parent
53de9dcdbc
commit
c193402ba7
2 changed files with 2 additions and 4 deletions
|
@ -2974,9 +2974,7 @@ class HassTypeHintChecker(BaseChecker): # type: ignore[misc]
|
|||
if class_matches := _CLASS_MATCH.get(module_platform):
|
||||
self._class_matchers.extend(class_matches)
|
||||
|
||||
if not self.linter.config.ignore_missing_annotations and (
|
||||
property_matches := _INHERITANCE_MATCH.get(module_platform)
|
||||
):
|
||||
if property_matches := _INHERITANCE_MATCH.get(module_platform):
|
||||
self._class_matchers.extend(property_matches)
|
||||
|
||||
self._class_matchers.reverse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue