-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Currently trying to pip install trycast
and doing import trycast
causes mypy to raise an error for the package:
$ cat asd.py
import trycast
$ mypy asd.py
asd.py:1: error: Cannot find implementation or library stub for module named "trycast" [import-not-found]
asd.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
This is because type checked packages require to ship as a package, containing a blank py.typed
file as per PEP 561.
Metadata
Metadata
Assignees
Labels
No labels