Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: digest D212 and D213 docstring #61

Merged
merged 4 commits into from
Apr 28, 2023
Merged

fix: digest D212 and D213 docstring #61

merged 4 commits into from
Apr 28, 2023

Conversation

12rambau
Copy link
Contributor

@12rambau 12rambau commented Mar 7, 2023

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:

  • add tests that fail without the patch
  • ensure all tests pass with pytest
  • add documentation to the relevant docstrings or pages
  • add versionadded or versionchanged directives to relevant docstrings
  • add a changelog entry if this patch changes code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docstring that starts on the first line get wrongly indented
2 participants