Skip to content

Commit

Permalink
Merge pull request #227 from lsst/tickets/DM-45209
Browse files Browse the repository at this point in the history
DM-45209: Fix E721 lint warning (type comparison)
  • Loading branch information
timj authored Jul 12, 2024
2 parents a0572eb + 8a8c579 commit 47207ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ap/verify/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 47207ed

Please sign in to comment.