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

should recognise funcs already annotated with py3 PEP484 annotations #56

Open anentropic opened 3 years ago

anentropic commented 3 years ago

if you run waterloo on your files, then run com2ann to convert to py3 PEP484 annotations, then re-run waterloo on them it will give some warnings about incomplete annotations

because waterloo only checks for # type: ... type comments to determine if func was already annotated

it should check for pre-existing p3 annotations too