Skip to content

DOC Ensures that Perceptron passes numpydoc validation#20404

Merged
ogrisel merged 5 commits intoscikit-learn:mainfrom
g4brielvs:main
Jun 29, 2021
Merged

DOC Ensures that Perceptron passes numpydoc validation#20404
ogrisel merged 5 commits intoscikit-learn:mainfrom
g4brielvs:main

Conversation

@g4brielvs
Copy link
Copy Markdown
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
Copy Markdown
Member

rth commented Jun 27, 2021

Linting failed with,

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

@reshamas
Copy link
Copy Markdown
Member

Updating with correct spelling: #DataUmbrella sprint

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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