https://typing.python.org/en/latest/spec/distributing.html#packaging-type-information https://typing.python.org/en/latest/guides/libraries.html#marking-a-package-as-providing-type-information It turns out we need to add a py.typed file so that tools will know this library has type hints. As far as I can tell we don't need to do anything special to have our build tool (Hatch) include this file when it builds and packages the library. Signed-off-by: Nic Cope <nicc@rk0n.org> |
||
---|---|---|
.. | ||
proto | ||
__version__.py | ||
logging.py | ||
py.typed | ||
resource.py | ||
response.py | ||
runtime.py |