You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optional type hints allow static type checker (for example mypy, pyre, pyright, many IDEs) to check validity of code and allow Python programmers to write less buggy code. jmespath is one of the most popular libraries according to PyPI stats. I believe that adding type hints/annotations here will evolve entire Python ecosystem.
It can be added natively since Python 3.5 but also can be added in external stubs (*.pyi files) or commentaries (# type: int). Both methods will work with Python 2.7 and Python 3.4.
What do you think?
The text was updated successfully, but these errors were encountered:
Optional type hints allow static type checker (for example mypy, pyre, pyright, many IDEs) to check validity of code and allow Python programmers to write less buggy code.
jmespath
is one of the most popular libraries according to PyPI stats. I believe that adding type hints/annotations here will evolve entire Python ecosystem.It can be added natively since Python 3.5 but also can be added in external stubs (
*.pyi
files) or commentaries (# type: int
). Both methods will work with Python 2.7 and Python 3.4.What do you think?
The text was updated successfully, but these errors were encountered: