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

does not recognise return type if description separated by line-break instead of : #49

Open anentropic opened 3 years ago

anentropic commented 3 years ago

in this docstring:

    Returns:
        rest_framework.exception.APIException
        (or original exception if unable to handle)

waterloo currently complains "did not specify a return type"

maybe parser can be more lenient