Skip to content

DOC Ensures that Perceptron passes numpydoc validation #20404

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
merged 5 commits into from
Jun 29, 2021
Merged

DOC Ensures that Perceptron passes numpydoc validation #20404

merged 5 commits into from
Jun 29, 2021

Conversation

g4brielvs
Copy link
Contributor

@g4brielvs g4brielvs commented Jun 26, 2021

Reference Issues/PRs

Addresses #20308

What does this implement/fix? Explain your changes.

This PR ensures Perceptron is compatible with numpydocd

  • Remove Perceptron from DOCSTRING_IGNORE_LIST
  • Minor style fixes.

Any other comments?

Thanks #DataUmbrella

@rth
Copy link
Member

rth commented Jun 27, 2021

Linting failed with,

sklearn/linear_model/_perceptron.py:135:60: W291 trailing whitespace

@reshamas
Copy link
Member

Updating with correct spelling: #DataUmbrella sprint

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM besides the following fix.

Thanks @g4brielvs for the contribution. Next time you work on a PR, I suggest you create a dedicated branch instead of using main to be able to work concurrently on several PR and making it easy to fetch the main branch locally to reflect the ever changing state of the main branch of the official scikit-learn repo.

@g4brielvs
Copy link
Contributor Author

@ogrisel Thank you for reviewing my PR! Apologies for my oversight. I created separate branches for my other PRs, but I made a mistake here.

@ogrisel ogrisel merged commit 03ea027 into scikit-learn:main Jun 29, 2021
@ogrisel
Copy link
Member

ogrisel commented Jun 29, 2021

Thanks @g4brielvs!

samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
…20404)


Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
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.

5 participants