KEMBAR78
stubgen: do not include mypy generated symbols by hamdanal · Pull Request #18137 · python/mypy · GitHub
Skip to content

Conversation

hamdanal
Copy link
Collaborator

@hamdanal hamdanal commented Nov 10, 2024

Addresses part of #18081

stubgen still does not handle dataclass transforms correctly but with this change we make sure to never include private mypy generated symbols in the stubs.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

@hauntsaninja hauntsaninja merged commit 3e52d0c into python:master Nov 14, 2024
20 checks passed
@hamdanal hamdanal deleted the stubgen-mypy-generated branch November 14, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants