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

Do not report plugin-generated methods with explicit-override #17433

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jun 24, 2024

Closes typeddjango/django-stubs#2226
Closes #17417
Closes #17370
Closes #17224
This is an alternative to #17418

Thanks a lot to @sterliakov, I took a dataclasses test case from #17370

@sobolevn
Copy link
Member Author

CC @intgr and @flaeppe since this solves django-stubs issue.
CC @JukkaL in a hope for a review :)

This comment has been minimized.

@cdce8p
Copy link
Collaborator

cdce8p commented Jun 24, 2024

This PR looks similar (although with more tests) to #17370 which addresses the same issue.

@sobolevn
Copy link
Member Author

Thanks! Indeed, I will take a dataclasses test case from there as well.

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@sobolevn sobolevn merged commit 620e281 into master Jun 24, 2024
18 checks passed
@sobolevn sobolevn deleted the issue-17417-2 branch June 24, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants