From 6a298b4d57f9e2889024b0fd44c81f253c9a8ba0 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Thu, 11 Jul 2024 13:55:28 -0700 Subject: [PATCH] Fix E721 lint warning (type comparison) --- python/lsst/ap/verify/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/ap/verify/workspace.py b/python/lsst/ap/verify/workspace.py index 4797007f..6fc04cab 100644 --- a/python/lsst/ap/verify/workspace.py +++ b/python/lsst/ap/verify/workspace.py @@ -84,7 +84,7 @@ def __eq__(self, other): """Test whether two workspaces are of the same type and have the same location. """ - return type(self) == type(other) and self.workDir == other.workDir + return type(self) is type(other) and self.workDir == other.workDir def __repr__(self): """A string representation that can be used to reconstruct the Workspace.