NilsJPWerner / autoDocstring

VSCode extension that generates docstrings for python files
MIT License
676 stars 163 forks source link

[feature request] add support for positional-only and keyword-only arguments #262

Open Clement-Lelievre opened 1 year ago

Clement-Lelievre commented 1 year ago

Describe the request

Following this PEP and this one, Python allows to force the way one passes arguments in functions or class methods, a.k.a keyword-only or positional-only arguments. (Requires Python >= 3.8)

It'd be nice to enhance the current code with the ability to parse * and / in the function's signature.

Thanks!