Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBlenny committed May 3, 2024
1 parent 587f25f commit 725a6dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/py_d2/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ def __hash__(self):
return hash((self.shape_1, self.shape_2, self.label, self.direction))

def __eq__(self, other) -> bool:
if ((self.shape_1, self.shape_2, self.direction, self.label) == (other.shape_1, other.shape_2, other.direction, other.label)):
if (self.shape_1, self.shape_2, self.direction, self.label) == (
other.shape_1,
other.shape_2,
other.direction,
other.label,
):
return True
return False

0 comments on commit 725a6dc

Please sign in to comment.