mirror of
https://github.com/home-assistant/core.git
synced 2025-12-27 14:31:13 +00:00
Add first batch of Ruff PYI rules (#115100)
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
@@ -1527,12 +1527,12 @@ class _HA_ANY:
|
||||
|
||||
_other = _SENTINEL
|
||||
|
||||
def __eq__(self, other: Any) -> bool:
|
||||
def __eq__(self, other: object) -> bool:
|
||||
"""Test equal."""
|
||||
self._other = other
|
||||
return True
|
||||
|
||||
def __ne__(self, other: Any) -> bool:
|
||||
def __ne__(self, other: object) -> bool:
|
||||
"""Test not equal."""
|
||||
self._other = other
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user