[Tutor] Function annotations

Steven D'Aprano steve at pearwood.info
Sun Feb 5 03:36:58 EST 2017


On Sat, Feb 04, 2017 at 10:11:39PM -0600, boB Stepp wrote:

> Are the people making linters implementing checking function
> annotations?  Or is this something only gradually being adopted?

Depends which linter :-)

MyPy is still the reference implementation for type hinting in Python:

http://mypy-lang.org/

As for pychecker, pylint, jedi, pyflakes, etc you'll have to check with 
the individual application itself.

> Steve, are you making use of function annotations?  If yes, are you
> finding them worth the extra effort?

Not yet.


-- 
Steve


More information about the Tutor mailing list