Closed laky55555 closed 1 year ago
I also don't have that good knowledge about PEP-561, but in nutshell, for the package to be compliant with it (expose types) it needs to have py.typed https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages. So empty file would just leave types to be deduced in best effort manner by the checker.
Thanks!
Hi, thanks for your contribution, you got first post!. py.typed is empty is this intentional? I'm not super familiar with this pep https://peps.python.org/pep-0561/ can you explain what we gain by this? is having this better than inline type hints? (I also need to read the pep to understand what's going on)