anentropic / python-waterloo

A cli tool to convert type annotations found in 'Google-style' docstrings into mypy py2 type comments (and from there into py3 type annotations).
2 stars 0 forks source link

no-args Callable is not correctly translated #41

Closed anentropic closed 4 years ago

anentropic commented 4 years ago

docstring type like: Callable[[], whatever] was translated to: # type: Callable[, whatever] which is invalid