Skip to content

Add py.typed file#257

Closed
zanieb wants to merge 1 commit into
python-poetry:mainfrom
zanieb:patch/py.typed
Closed

Add py.typed file#257
zanieb wants to merge 1 commit into
python-poetry:mainfrom
zanieb:patch/py.typed

Conversation

@zanieb
Copy link
Copy Markdown

@zanieb zanieb commented Sep 15, 2022

This is required for the types in this library to be checked when imported downstream.

Resolves the following error:

❯ mypy example.py
example.py:2: error: Skipping analyzing "cleo.helpers": module is installed, but missing library stubs or py.typed marker
example.py:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source files)

@zanieb
Copy link
Copy Markdown
Author

zanieb commented Sep 15, 2022

Sorry! I see this exists in #254

@zanieb zanieb closed this Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant