KEMBAR78
Do not report plugin-generated methods with `explicit-override` by sobolevn · Pull Request #17433 · python/mypy · GitHub
Skip to content

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 :)

@github-actions

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.

@github-actions
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!

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