Parse the docstring and split the first line from the others. This ensures that whatever convention is chosen (D212 or D213) the rest of the docstring keeps the right indentation.
Commit checklist:
[x] add tests that fail without the patch
[x] ensure all tests pass with pytest
[x] add documentation to the relevant docstrings or pages
[x] add versionadded or versionchanged directives to relevant docstrings
[x] add a changelog entry if this patch changes code
Fix #60
Parse the docstring and split the first line from the others. This ensures that whatever convention is chosen (D212 or D213) the rest of the docstring keeps the right indentation.
Commit checklist:
pytest
versionadded
orversionchanged
directives to relevant docstrings