cdgriffith / puremagic

Pure python implementation of identifying files based off their magic numbers
MIT License
158 stars 34 forks source link

Create py.typed #54

Closed Rafiot closed 6 months ago

Rafiot commented 6 months ago

That can barely considered as a PR, but if you add this file, mypy will know the package is typed and it can validate code when used as a module: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker

cdgriffith commented 6 months ago

Good spot and fix, thank you!