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

Consider adding py.typed? #77

Open
peterschutt opened this issue Oct 1, 2021 · 0 comments
Open

Consider adding py.typed? #77

peterschutt opened this issue Oct 1, 2021 · 0 comments

Comments

@peterschutt
Copy link
Contributor

My problem

src/app/client.py:5: error: Skipping analyzing "apiclient": found module but no type hints or library stubs  [import]
src/app/client.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

Solution I'd like

Add a py.typed file as per Missing type hints for third party library

Alternatives

Either ignore locally with type:ignore[import] in line or globally with ignore_missing_imports=true mypy flag.

Additional context

The library has fairly comprehensive types, so would be helpful to get them at the application level.

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