mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
ruff: Fix PYI032 Prefer object for the second parameter to __eq__.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
53e8c0c497
commit
ec00c2970f
@ -111,7 +111,7 @@ class UserPushIdentityCompat:
|
||||
|
||||
return result
|
||||
|
||||
def __eq__(self, other: Any) -> bool:
|
||||
def __eq__(self, other: object) -> bool:
|
||||
if isinstance(other, UserPushIdentityCompat):
|
||||
return self.user_id == other.user_id and self.user_uuid == other.user_uuid
|
||||
return False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user