Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC Ensures that haversine_distances passes numpydoc validation #23044

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

Merged

Conversation

gustavo-ren
Copy link
Contributor

Addresses #21350

Reference Issues/PRs

Modifications on metrics.pairwise.haversine_distance for docstring acceptance by the numpydoc criteria.

What does this implement/fix? Explain your changes.

Remove sklearn.metrics.pairwise.haversine_distances from test_doctrings.py FUNCTION_DOCSTRING_IGNORE_LIST
Necessary modifications for the resolution of errors:
- PR07: Parameter "X" has no description
- RT03: Return value has no description

Any other comments?

No

Copy link
Member

@jeremiedbb jeremiedbb 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 @gustavo-ren. I made a few suggestions to follow keep local consistency.

@jeremiedbb jeremiedbb added No Changelog Needed Quick Review For PRs that are quick to review labels Apr 4, 2022
@gustavo-ren gustavo-ren changed the title DOC Ensures that config_context passes numpydoc validation DOC Ensures that haversine_distance passes numpydoc validation Apr 4, 2022
gustavo-ren and others added 2 commits April 8, 2022 09:01
Co-authored-by: Jérémie du Boisberranger <[email protected]>
Co-authored-by: Jérémie du Boisberranger <[email protected]>
Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @gustavo-ren

@jeremiedbb jeremiedbb merged commit aebd9f6 into scikit-learn:main Apr 8, 2022
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Apr 29, 2022
@thomasjpfan thomasjpfan changed the title DOC Ensures that haversine_distance passes numpydoc validation DOC Ensures that haversine_distances passes numpydoc validation Jul 16, 2022
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.

2 participants