autoDocstring
autoDocstring copied to clipboard
Docstring will not generate when triple quote string exists in function body
This only happens when the quote style is the same as the triple quote string inside the function body. Also happens with non-f-strings.
See example:

def foo(bar):
# Try to add a docstring here (if your quote style is also """)
x = """hello"""
return x
Thanks Misha, I will take a look at the parsing code and update it to fix this issue.
@NilsJPWerner Did you work on this ? I still face this issue in numpy based docstrings.
Issue still exists...