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

No pyi files from pip package #266

Open
wwwillchen opened this issue Dec 27, 2023 · 0 comments
Open

No pyi files from pip package #266

wwwillchen opened this issue Dec 27, 2023 · 0 comments

Comments

@wwwillchen
Copy link

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.

copybara-service bot pushed a commit that referenced this issue Jan 19, 2024
copybara-service bot pushed a commit that referenced this issue Jan 19, 2024
copybara-service bot pushed a commit that referenced this issue Jan 19, 2024
Related: #266, as this also fixes an issue found by mypy.
PiperOrigin-RevId: 599940715
copybara-service bot pushed a commit that referenced this issue Jan 19, 2024
Related: #266, as this also fixes an issue found by mypy.
PiperOrigin-RevId: 599940715
copybara-service bot pushed a commit that referenced this issue Jan 22, 2024
copybara-service bot pushed a commit that referenced this issue Jan 22, 2024
copybara-service bot pushed a commit that referenced this issue Jan 22, 2024
Related: #266, as this also fixes an issue found by mypy.
PiperOrigin-RevId: 599940715
copybara-service bot pushed a commit that referenced this issue Jan 22, 2024
Related: #266, as this also fixes an issue found by mypy.
PiperOrigin-RevId: 599940715
copybara-service bot pushed a commit that referenced this issue Jan 22, 2024
Related: #266, as this also fixes an issue found by mypy.
PiperOrigin-RevId: 599940715
copybara-service bot pushed a commit that referenced this issue Jan 22, 2024
Related: #266, as this also fixes an issue found by mypy.
PiperOrigin-RevId: 600522024
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