Support for python2 type comments · Issue #946 · davidhalter/jedi
Currently, jedi only supports type hints for functions using python3 syntax. It would be great to support type comments, which is widely used with python2. def foo(s): # type: (str) -> bool return ...