Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Include py.typed in package data for mypy #100

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Conversation

DenverCoder1
Copy link
Owner

The py.typed file hasn't been included in wheels published to PyPI. This means that with pip install table2ascii locally, mypy still doesn't recognize it as a typed library. Running mypy on a file with just import table2ascii in it results in this output from mypy:

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

@DenverCoder1 DenverCoder1 added the bug Something isn't working label Feb 28, 2023
@DenverCoder1 DenverCoder1 merged commit 9adec7a into main Feb 28, 2023
@DenverCoder1 DenverCoder1 deleted the fix/mypy-package branch February 28, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant