Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] Remove duplicates from search results #22528

Merged
merged 2 commits into from
Nov 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Simplify.
  • Loading branch information
tzarc committed Nov 22, 2023
commit 7691a1e080f8e93bd69ac935a53146900d4d6d58
2 changes: 1 addition & 1 deletion lib/python/qmk/build_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __repr__(self):
def __eq__(self, __value: object) -> bool:
if not isinstance(__value, BuildTarget):
return False
return (self.keyboard, self.keymap) == (__value.keyboard, __value.keymap)
return self.__repr__() == __value.__repr__()

def __ne__(self, __value: object) -> bool:
return not self.__eq__(__value)
Expand Down