When I create a function with parameters, PyCharm offers me to create a docstring with a field :param param_name: which is pretty good. But I also need to add :type param_name:
So from this:
def foo(bar, xyz): return bar + xyz
With the generate docstring option I have (even with Insert 'type' and 'rtype' until the documentation stub is resolved):
def foo(bar, xyz): """ :param bar: :param xyz: """ return bar + xyz
And I would like to :
def foo(bar, xyz): """ :param bar: :type bar: :param xyz: :type xyz: """ return bar + xyz
source share