blackary / st_pages

An experimental version of Streamlit Multi-Page Apps
MIT License
471 stars 77 forks source link

mypy compatibility: add a py.typed file. #42

Closed justkrys closed 1 year ago

justkrys commented 1 year ago

Hi there. Liking your package so far. 😸

I noticed that you do use type hints in your code, but you are missing a py.typed file in the root of your package so that mypy can recognize that you use type hints.

Since mypy is the reference type checker for Python, being compatible with it would be a good thing.

Actually, py.typed seems part of PEP-0561 so that is even more universal than just mypy.

Anyway, hope this helps. Thanks.