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

Add "py.typed" to support type checking #273

Open
roberfi opened this issue May 20, 2024 · 0 comments
Open

Add "py.typed" to support type checking #273

roberfi opened this issue May 20, 2024 · 0 comments

Comments

@roberfi
Copy link

roberfi commented May 20, 2024

When mypy is executed with alive_progress import and ignore_missing_imports to false, the following error is diplayed:

error: Skipping analyzing "alive_progress": module is installed, but missing library stubs or py.typed marker  [import-untyped]
note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

According to PEP-561, package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing.

So, it would be very useful if "py.typed" file is added to the project and package.

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

No branches or pull requests

1 participant