From ec00c2970f97fe221a0fc11b9ff8821d3fca1f3f Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 10 Aug 2023 11:06:57 -0700 Subject: [PATCH] ruff: Fix PYI032 Prefer `object` for the second parameter to `__eq__`. Signed-off-by: Anders Kaseorg --- zerver/lib/push_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/push_notifications.py b/zerver/lib/push_notifications.py index 6375decd9f..868af677b6 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_uuid return False