From 331dc0d6b22e7552a392a2b231c0bb10f2785962 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Mon, 29 Jul 2024 15:39:12 -0600 Subject: [PATCH] Fix new lint error --- coloraide/color.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coloraide/color.py b/coloraide/color.py index d319aed7..9a740a7a 100644 --- a/coloraide/color.py +++ b/coloraide/color.py @@ -224,7 +224,7 @@ def __eq__(self, other: Any) -> bool: """Compare equal.""" return ( - type(other) == type(self) and + type(other) is type(self) and other.space() == self.space() and util.cmp_coords(other[:], self[:]) )