Closed
Description
To Reproduce:
python -m venv .venv
. ./.venv/bin/activate
python -m pip install mypy approvaltests
echo "import approvaltests" > test.py
mypy test.py
Result:
test.py:1: error: Skipping analyzing "approvaltests": module is installed, but missing library stubs or py.typed marker [import-untyped]
test.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Fix ideas
Either:
- Add
py.typed
files in the appropriate locations - Generate library stubs
Metadata
Metadata
Assignees
Labels
No labels