jdkandersson / flake8-docstrings-complete

Apache License 2.0
12 stars 3 forks source link

Support listing *args and **kwargs with optionally leading * and ** #6

Open jdkandersson opened 1 year ago

jdkandersson commented 1 year ago

Currently, *args and **kwargs are documented by their variable name:

def foo(*args, **kwargs):
    """"...

    Args:
        args: ...
        kwargs: ...
    """

Also allow for the following:

def foo(*args, **kwargs):
    """"...

    Args:
        *args: ...
        **kwargs: ...
    """