api-client icon indicating copy to clipboard operation
api-client copied to clipboard

Consider adding py.typed?

Open peterschutt opened this issue 4 years ago • 0 comments

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.

peterschutt avatar Oct 01 '21 02:10 peterschutt