Open sverhoeven opened 3 years ago
For library users it is beneficial if typings in the library are available. It will make writing code in an IDE much richer and less error prone. Having typing from the start will help library developers take typings into account.
Adding support could involve:
py.typed
mypy
pytype
pyre
prospector[with_mypy]
pytest-mypy
sphinx-autodoc-typehints
The linter rules might need adjusting if typing feature is included.
The Python chapter in the guide also needs to be updated to recommend type hints
For library users it is beneficial if typings in the library are available. It will make writing code in an IDE much richer and less error prone. Having typing from the start will help library developers take typings into account.
Adding support could involve:
py.typed
file besides my_module.py, see PEP-561mypy
orpytype
orpyre
orprospector[with_mypy]
orpytest-mypy
sphinx-autodoc-typehints