- Notifications
You must be signed in to change notification settings - Fork772
chore: create py.typed#722
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Hi @Lunarmagpie! Can you share how this can we use this? |
Hello. all you need to do for py.typed is add it as an extra file for the packaging system that is used with this project. Once people download it as a dependency, pyright and mypy won't give the missing types error when you typecheck a package using this library. |
I remembered there is a PEP for this |
Add py.typed file. This allows typecheckers to be used with the library. I looked at the code and it looks typed so I'm pretty sure this is a useful change here.
Fixes
A short description of what this PR does.
Checklist
If you have questions, please file asupport ticket, or create a GitHub Issue in this repository.