For example, the logging __init__.py file does not include type hints, however the pyi does include type hints. I use absl via pip install, however the absl pip package does not include any pyi files. When I inspect the source distribution files from absl's pip page, I do not see any pyi files.
If absl includes pyi files, then it'll make it easier for project consumers to do type-checking.
absl_py-2.0.0-py3-none-any.whl didn't contain any pyi files
but it seems that absl_py-2.1.0-py3-none-any.whl contains them correctly.
So this is solved. Let me know if not.
I'm working on a project: https://github.com/google/mesop that uses absl and pyright for Python type-checking. Pyright looks for
pyi
files to resolve type definition.For example, the logging
__init__.py
file does not include type hints, however the pyi does include type hints. I use absl via pip install, however the absl pip package does not include any pyi files. When I inspect the source distribution files from absl's pip page, I do not see any pyi files.If absl includes pyi files, then it'll make it easier for project consumers to do type-checking.