Skip to content

Include py.typed in package#124

Open
streadway wants to merge 1 commit intoun33k:masterfrom
streadway:master
Open

Include py.typed in package#124
streadway wants to merge 1 commit intoun33k:masterfrom
streadway:master

Conversation

@streadway
Copy link

@streadway streadway commented Jul 1, 2025

This helps type checkers identify that imports from ipware are typed so that untyped imports do not need to be ignored for statements like:

from ipware import get_client_ip
utils/http.py:8: error: Skipping analyzing "ipware": module is installed, but missing library stubs or py.typed marker  [import-untyped]
utils/http.py:8: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

This helps type checkers identify that imports from `ipware` are typed
so that untyped imports do not need to be ignored for statements like:

```py
from ipware import get_client_ip
```
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

Successfully merging this pull request may close these issues.

1 participant