-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Consider space-only lines to be empty, never break Numpydoc sect…
…ions on blank lines Breaking change: This change removes the docstring option `allow_section_blank_line` for the Numpydoc parser, and changes the parsing logic so that blank lines are now *always* allowed, in any number, between sections. Sections are now only delimited by section headers themselves. The result of these changes is that: **prose is not allowed in between Numpydoc sections anymore**, making the parser compliant with the Numpydoc style guide and its maintainers recommendations. PR #220: #220 Related to PR #219: #219 Numpydoc discussion: numpy/numpydoc#463
- Loading branch information
Showing
5 changed files
with
55 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters