alive-progress icon indicating copy to clipboard operation
alive-progress copied to clipboard

Add "py.typed" to support type checking

Open roberfi opened this issue 1 year ago • 0 comments

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.

roberfi avatar May 20 '24 15:05 roberfi