Skip to content

Mark stub-only private symbols as @type_check_only in third-party stubs#14545

Merged
srittau merged 1 commit intopython:mainfrom
brianschubert:thirdparty-typescheckonly-symbols
Aug 8, 2025
Merged

Mark stub-only private symbols as @type_check_only in third-party stubs#14545
srittau merged 1 commit intopython:mainfrom
brianschubert:thirdparty-typescheckonly-symbols

Conversation

@brianschubert
Copy link
Collaborator

This fixes the third-party stubtest errors from python/mypy#19574.

Mostly obvious cases like stub-only Protocols or TypedDicts. I've added inline comments to some of the less obvious cases that took some investigation.

Loading
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