Skip to content

Clean up stubtest allowlist for typing #10205

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 9 commits into from
May 24, 2023

Conversation

JelleZijlstra
Copy link
Member

Going to do some CI-driven development here

@JelleZijlstra JelleZijlstra marked this pull request as draft May 24, 2023 18:10
@AlexWaygood
Copy link
Member

Looks like there's a few real bugs in there -- e.g. several classes that aren't decorated with @final in the stub currently, but probably should be

@JelleZijlstra
Copy link
Member Author

Yes, going through it now. There's also some missing entries in typing_extensions.__all__.

Comment on lines +456 to +458
# Internal attributes
.*\.__protocol_attrs__
.*\.__callable_proto_members_only__
Copy link
Member

Choose a reason for hiding this comment

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

python/mypy#15294 means we should be able to remove these, come the next mypy release

(No change requested)

@JelleZijlstra JelleZijlstra marked this pull request as ready for review May 24, 2023 19:21
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

hooray!

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