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

Detect items that hash to same value in duplicate sets #14064

Merged
merged 2 commits into from
Nov 3, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

Like #14063, but ensures that we catch cases like {1, True} in which the items hash to the same value despite not being identical.

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Nov 3, 2024
@charliermarsh charliermarsh marked this pull request as ready for review November 3, 2024 18:11
@charliermarsh charliermarsh changed the base branch from main to charlie/hash-eq November 3, 2024 18:12
Base automatically changed from charlie/hash-eq to main November 3, 2024 18:44
@charliermarsh charliermarsh enabled auto-merge (squash) November 3, 2024 18:45
@charliermarsh charliermarsh merged commit 66872a4 into main Nov 3, 2024
19 checks passed
@charliermarsh charliermarsh deleted the charlie/b branch November 3, 2024 18:49
Copy link
Contributor

github-actions bot commented Nov 3, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant