Skip to content

doesn't work with return type hinting #34

@EdsterG

Description

@EdsterG

This breaks auto generated docstring templates:

def foo(bar) -> str:
    return bar

it results in:

    """[summary]
    
    [description]
    """

it should at least parse the parameters and detect that the function returns:

    """[summary]
    
    [description]
    :param bar: [description]
    :type bar: [type]
    :returns: [description]
    :rtype: {[type]}
    """

and ideally it would auto file the return type:

    """[summary]
    
    [description]
    :param bar: [description]
    :type bar: [type]
    :returns: [description]
    :rtype: str
    """

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions