Skip to content

Conversation

@scratchmex
Copy link

@scratchmex scratchmex commented Nov 16, 2025

this is needed for py.typed libraries because

Imported symbols are considered private by default.

ref: https://github.com/microsoft/pyright/blob/main/docs/typed-libraries.md#library-interface

I tested locally and the types are detected ok
image

fixes gh-647

edit: this now only include the typing to the signature of mutagen.File which I previously added

this is needed for py.typed libraries because
> Imported symbols are considered private by default.

ref: https://github.com/microsoft/pyright/blob/main/docs/typed-libraries.md#library-interface

fixes quodlibetgh-647
@lazka
Copy link
Member

lazka commented Dec 24, 2025

I've merged #696 instead, since this included unrelated changes.

Thanks!

@lazka lazka closed this Dec 24, 2025
@scratchmex scratchmex changed the title register public symbols in __all__ add typing to mutagen.File Dec 24, 2025
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.

Register all public exports as public

2 participants