Skip to content

Detect __eq__ and __ne__ methods that use Any instead of object #163

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

Merged
merged 2 commits into from
Jan 31, 2022

Conversation

AlexWaygood
Copy link
Collaborator

@AlexWaygood AlexWaygood commented Jan 29, 2022

Closes #138

@AlexWaygood
Copy link
Collaborator Author

AlexWaygood commented Jan 29, 2022

From what I can see, the typeshed-primer output is all true positives except for three entries: the boto and polib hits.

@AlexWaygood
Copy link
Collaborator Author

typeshed PR here: python/typeshed#7081

@AlexWaygood AlexWaygood changed the title Detect __eq__ and __ne__ that use Any instead of object Detect __eq__ and __ne__ methods that use Any instead of object Jan 29, 2022
@AlexWaygood AlexWaygood reopened this Jan 29, 2022
@Akuli Akuli merged commit 9ef0fe6 into PyCQA:master Jan 31, 2022
@AlexWaygood AlexWaygood deleted the equality branch January 31, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detect Any in __eq__/__ne__
2 participants