Description
Is your feature request related to a problem?
Kinda. I'm trying to use the opentelemetry-sdk
in my mypy
enabled project and get the following error message:
uogc/trace.py:1: error: Skipping analyzing 'opentelemetry.sdk.trace': found module but no type hints or library stubs
Describe the solution you'd like
I see that several packages in this repository is using types. However, these types are not published. Publishing the types is actually not that tricky. We just did it for another project, where the dialogue and code changes are referred to in this PR:
developmentseed/geojson-pydantic#5
In addition, the PyPi "Typing :: Typed"
tag should probably be included. See https://github.com/hawkaa/pygeojson/blob/master/pyproject.toml#L14 .
Describe alternatives you've considered
I did think about distributing a separate stub library, but all the types are actually available in the original code. Publishing the type information should be an easy change.
Additional context
I don't know how many packages in this repository that actually has type information, and whether it is going to much work to change the workflow in this repository to add the py.typed
file and do some changes in the package info.
Let me know what you think and if you have any questions!