regebro / tzlocal

A Python module that tries to figure out what your local timezone is
MIT License
184 stars 58 forks source link

feat: add py.typed #126

Closed vvanglro closed 2 years ago

vvanglro commented 2 years ago

Hi, add py.typed files for friendly hints not add py.typed: 111 22

add py.typed: image image

regebro commented 2 years ago

That's weird, why would that make a difference? I don't have type hints, and the __init__ file declares get_local_zone name in the __all__ variable.

vvanglro commented 2 years ago

Well, I tried it on the lower version of pycharm and it was fine. After I deleted and reinstalled the pyi of the tzlocal package in the pycharm configuration directory, it was normal.