Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ruff: Fix PYI032 Prefer `object` for the second parameter to `__eq__`.
Anders Kaseorgec00c2970f97
diff --git a/zerver/lib/push_notifications.py b/zerver/lib/push_notifications.pyindex 6375decd9f3..868af677b63 100644--- a/zerver/lib/push_notifications.py+++ b/zerver/lib/push_notifications.py@@ -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_uuidreturn False