Skip to content

[MRG] Improve docstrings: add them for Constraints class and methods and fix minor problems #280

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 3 commits into from
Mar 4, 2020

Conversation

bellet
Copy link
Member

@bellet bellet commented Mar 4, 2020

This PR adds some docstrings for the Constraints class and its positive_negative_pairs and chunks methods.

It also fixes minor docstring problems, such as missing description or default values, and indentation problems.

Combined with the doc improvements already made in #274, I think this resolves #227

@bellet
Copy link
Member Author

bellet commented Mar 4, 2020

Actually, there are still quite a few small problems in docstrings of many classes, in particular with default values. I will fix those as well

@bellet bellet changed the title [MRG] Add docstrings for Constraints class and methods [MRG] Improve docstrings: add them for Constraints class and methods and fix minor problems Mar 4, 2020
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Looks great!

@bellet
Copy link
Member Author

bellet commented Mar 4, 2020

I have also fixed indentation issues in docstrings, and uniformized the indentation

Copy link
Contributor

@perimosocordiae perimosocordiae left a comment

Choose a reason for hiding this comment

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

Thanks!

@perimosocordiae perimosocordiae merged commit 1276040 into scikit-learn-contrib:master Mar 4, 2020
@bellet
Copy link
Member Author

bellet commented Mar 4, 2020

I was still fixing a few small problems - sorry, I should have switched back to WIP. Will create a new PR

perimosocordiae pushed a commit that referenced this pull request Mar 4, 2020
* add docstrings for constraints class, pairs and chunks methods

* fix missing optional values and descriptions, uniformize

* fix indentation problems in docstring and uniformize

* fix more small things

* cosmit

* remove unnecessary line

* missing blank line for pep8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clean, uniformize the doc, fill in some blanks
3 participants