Closed b0g3r closed 3 years ago
In many styleguides multiline docstrings should look like:
""" First line with title. Long and boring text with additional information... """
But because docstring_summary splits docstring by newlines and catches only the first line it will be empty in such cases.
docstring_summary
So I added tests for that scenario and workaround with lstrip()
lstrip()
Thanks @b0g3r for pull request.
In many styleguides multiline docstrings should look like:
But because
docstring_summary
splits docstring by newlines and catches only the first line it will be empty in such cases.So I added tests for that scenario and workaround with
lstrip()