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

docstring type is not fully removed if line-break after parens #55

Open anentropic opened 3 years ago

anentropic commented 3 years ago

e.g.

Args:
    payload_serializer_cls (
        Type[some.long.package.path.BaseBroadcastEventSerializer]   
    )

after converting we are currently left with:

Args:
    payload_serializer_cls (
    )