vim-python-docstring
vim-python-docstring copied to clipboard
A Vim plugin for generating python docstrings.
Include the default values in the doc string in cases such as : ```python def foo(a: int = 3, name: str = 'bar'): pass ```
Add parameter/return types when users include type hint in their code
**Why**: Now, a new docstring is always created. On a change of some arguments, on function that already has some docstring, that docstring should only be updated – new args...
Hi, just another small feedback on your great plugin. I haven't found any official guideline for what to put in a docstring when no explicit return statement is found, but...