Repository navigation
Conversation
jarrodmillman
approved these changes
Feb 12, 2024
rossbar
marked this pull request as draft
February 12, 2024 19:10
Contributor
Author
|
Marking as draft for now, as the numpydoc validation is missing a significant number of the generators listed in #7258. At a minimum I'd like to fix the rest of those docstrings here as well, and ideally there'd be a more robust solution for automatically catching Iterator/generator-likes (see #7258 (comment)) |
These are not full-fledged docstrings anyways.
rossbar
force-pushed
the
doc-returns-to-yields
branch
from
April 15, 2024 01:11
88987b1 to
01cd3fa
Compare
Contributor
Author
|
I'll go ahead and close this so further discussion can be concentrated in #7817! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7258 and adds a regression test for all of the generators in NetworkX which had incorrect
Returnssections in the docstrings.These are just the ones caught by numpydoc (and ignores inherited methods), so there may be others!