Open Lunarmagpie opened 1 year ago
Hi @Lunarmagpie! Can you share how this can we use this?
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 https://peps.python.org/pep-0561/
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 a support ticket, or create a GitHub Issue in this repository.