MrPigss / BetterJSONStorage

Better JSONStorage for tinyDB
https://pypi.org/project/BetterJSONStorage/
MIT License
33 stars 4 forks source link

Add `py.typed` marker file to silence `mypy` warnings #11

Closed macintacos closed 4 months ago

macintacos commented 4 months ago

Currently, when someone tries to use project and they're using mypy, when they add from BetterJSONStorage import BetterJSONStorage they get a warning:

Skipping analyzing "BetterJSONStorage.BetterJSONStorage": module is installed, but missing library stubs or py.typed marker Mypy[import](https://mypy.readthedocs.io/en/latest/_refs.html#code-import-untyped)

Adding this file resolves the mypy error on my machine. It is just a marker file, and thus it can be empty.