ilevkivskyi/com2ann

Add support for extraction of types from docstring

ilevkivskyi opened this issue · 3 comments

We could support at least Google style and Numpydoc

any progress about this?

@jussike I don't have any immediate plans for this, but open to contributions. (The only requirement, this feature should be behind a flag and type comments should take precedence over docstring types if both are present.)

@cclauss IIUC old Google style is more like

    Args:
        param_name (type): description.
        ...
    Returns:
        type: description.

What you show is what PyCharm uses (also popular style btw)