cthoyt / pystow

👜 Easily pick a place to store data for your Python code.
https://pystow.readthedocs.io
MIT License
36 stars 6 forks source link

Missing type information #67

Closed dobraczka closed 8 months ago

dobraczka commented 8 months ago

I just noticed, that the type information of pystow is not shipped, because no py.typed file is present. See this mypy output I had in another project.

...
sylloge/base.py:28: error: Skipping analyzing "pystow": module is installed, but missing library stubs or py.typed marker  [import-untyped]
sylloge/base.py:30: error: Skipping analyzing "pystow.utils": module is installed, but missing library stubs or py.typed marker  [import-untyped]
....

This can be easily fixed, by adding a py.typed file inside src/pystow.

cthoyt commented 8 months ago

@dobraczka new release v0.5.3 on PyPI and here https://github.com/cthoyt/pystow/releases/tag/v0.5.3