-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: Validation to only allow positive integers for options #27382
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
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
def4005
Created a new validation function (is_pos_int) to allow options to be
Adam-Klaum e50961d
Added positive and negative tests for is_pos_int in test_validation.
Adam-Klaum 32e8c67
Updating whatsnew
Adam-Klaum 9618877
Fixing order as per isort
Adam-Klaum 7a5593b
Simplified the is_pos_int function to be used standalone rather than
Adam-Klaum d6fa258
Updated is_pos_int docstring with Returns and Raises
Adam-Klaum eb09813
Clarifying documentation
Adam-Klaum 8f46673
Merge branch 'master' into 23348_max_rows
Adam-Klaum 21bf599
Removed Returns section from docstring. Set dash length to be the same
Adam-Klaum ea09cc2
Moved whatsnew documentation from v25 to v26
Adam-Klaum 6c2ff43
Added documentation to Other section
Adam-Klaum 25e0247
Merge remote-tracking branch 'origin/master' into 23348_max_rows
Adam-Klaum d18a01a
Moving comments to v1.0.0 file
Adam-Klaum 4e76640
Added double ticks around display parameters in whatsnew.
Adam-Klaum 80d2f1a
Merge remote-tracking branch 'origin/master' into 23348_max_rows
Adam-Klaum 2d783ef
Corrected is_pos_int ValueError message in test suite
Adam-Klaum 7163990
Merge remote-tracking branch 'upstream/master' into 23348_max_rows
Adam-Klaum 033339f
Refactored is_pos_int to is_nonnegative_int and updated whatsnew.
Adam-Klaum 42d844e
Merge remote-tracking branch 'upstream/master' into 23348_max_rows
Adam-Klaum 1a25d06
Fixing import sorting issue
Adam-Klaum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.