mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	ruff: Fix PYI032 Prefer object for the second parameter to __eq__.
				
					
				
			Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit ec00c2970f)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Alex Vandiver
					
				
			
			
				
	
			
			
			
						parent
						
							8a1704f765
						
					
				
				
					commit
					43b09fd89d
				
			@@ -99,7 +99,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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user