I have this function:
def addInputPercentage(
self,
name: str,
height_per: float = 100,
angle: float = 180,
diameter: Optional[float] = None,
external: bool = False,
) -> None:
And generating a docstring with this plugin yielded:
"""addInputPercentage
Args:
name (str):
100:
180:
diameter (Optional[float]):
None:
False:
Returns:
None
"""
The default value for the type-hinted argument was used instead of the argument's name in the docstring.
I think it's a bug.