snowplow / snowplow-python-tracker

Snowplow event tracker for Python. Add analytics to your Python and Django apps, webapps and games
Apache License 2.0
43 stars 67 forks source link

Add a py.typed file so that mypy will know to use your inline type annotations #360

Closed ted-marozzi closed 1 month ago

ted-marozzi commented 3 months ago

Is your feature request related to a problem? Please describe. The problem is I have to reimplement your typings that you already maintain with your inline types, this is extra work for no reason.

Describe the solution you'd like Add a py.typed file to the dist bundle so that mypy will use your inline types.

Describe alternatives you've considered Reimplementing the typings on our end. This in unnecessary and cost time + effort.

Additional context Here is some additional info on py.typed

edgarrmondragon commented 2 months ago

I opened a PR to address this: https://github.com/snowplow/snowplow-python-tracker/pull/362