Closed phoenixr-codes closed 1 year ago
is it enough to add the py.typed
file, as the functions all provide typehints. Or would *.pyi
files also be required?
An empty py.typed
file should be enough. No need to add extra type hints in seperate files.
mypy raises an error when importing readchar.
Fix this issue by adding a py.typed marker:
https://peps.python.org/pep-0561/#packaging-type-information
Python Version: 3.10.6 mypy version: 0.991 readchar version: 4.0.3