Skip to content

Add py.typed for PEP561 compliance - #46

Open
mgrinshpon wants to merge 1 commit into
wey-gu:mainfrom
mgrinshpon:pep561-py-typed
Open

Add py.typed for PEP561 compliance#46
mgrinshpon wants to merge 1 commit into
wey-gu:mainfrom
mgrinshpon:pep561-py-typed

Conversation

@mgrinshpon

Copy link
Copy Markdown

According to https://typing.python.org/en/latest/spec/distributing.html#packaging-type-information and PEP-561, the only thing that's missing is a little py.typed file to tell type checkers that this library is indeed properly typed (which it is!).

This will fix errors from users trying to use py-pglite with pyright and basedpyright on strict mode when annotating fixtures with py-pglite's type signatures.

Thanks for making this library. It's awesome!

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.

1 participant