Closed WFT closed 1 year ago
@WFT Could you please test with 0.2.1 in pypi-test when you have a chance and see if the issue is resolved?
Just checked it out. Looks like it works perfectly. This can be closed.
(Looks like the test file in the original doesn't actually typecheck due to some typos; here's one that does)
import appstoreserverlibrary.models.Environment
print(appstoreserverlibrary.models.Environment.Environment.PRODUCTION)
$ mypy test.py
Success: no issues found in 1 source file
Thanks @alexanderjordanbaker
Hi, thanks for the great package! I'm already using it to explore migration from verifyReceipt.
The core issue is this:
I believe the issue is that while this project includes type annotations (which is great), it is missing the
py.typed
file. That tells mypy and other type checkers to treat it as having type annotations. You can find details either in PEP 561:or in mypy's documentation: