Skip to content

Conversation

Dev514
Copy link
Contributor

@Dev514 Dev514 commented Jan 29, 2022

Reference Issues/PRs

Addresses #21350

What does this implement/fix? Explain your changes.

This PR fixes the following error that was appearing for numpydoc validation for sklearn.datasets._samples_generator.make_hastie_10_2

  • GL07: Sections are in the wrong order. Correct order is: Parameters, Returns, See Also, References
  • SS05: Summary must start with infinitive verb, not third person (e.g. use "Generate" instead of "Generates")
  • SS06: Summary should fit in a single line

Any other comments?

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @Dev514 ! LGTM

@thomasjpfan thomasjpfan merged commit 46d9143 into scikit-learn:main Jan 29, 2022
@reshamas
Copy link
Member

@thomasjpfan
Perhaps the description of this PR should say "\References #xxxxx" instead of "\Fixes #xxxxx"

@thomasjpfan
Copy link
Member

Yea, I didn't see it before merging. I reopened the original issue.

@Dev514
Copy link
Contributor Author

Dev514 commented Jan 31, 2022

@thomasjpfan Is there anything that needs to be changed in this PR?.

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

Successfully merging this pull request may close these issues.

3 participants