Skip to content

Commit

Permalink
Fix E721 lint warning (type comparison)
Browse files Browse the repository at this point in the history
  • Loading branch information
timj authored and BrunoSanchez committed Jul 23, 2024
1 parent 5f8f858 commit 6a298b4
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 6a298b4

Please sign in to comment.