-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Validate order
kwarg in BitArray.from_bool_array()
#12686
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
Conversation
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the following people are relevant to this code:
|
Thank you for fixing the issue. Could you add a test to catch this error and a release note of bugfix? |
@t-imamichi Hi, hope the test and release note added is okay. Thanks! |
Thank you for updating the PR. There seems style or lint errors. |
@t-imamichi Sorry about the formatting issue, hope this fixed it! |
Pull Request Test Coverage Report for Build 9795859435Details
💛 - Coveralls |
releasenotes/notes/fix-kwarg-validation-BitArray-1bf542a1fb5c15c6.yaml
Outdated
Show resolved
Hide resolved
Thank you for fixing the style error. It looks good overall. I wrote a comment for reno. |
…5c6.yaml Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pull Request Test Coverage Report for Build 9804248280Details
💛 - Coveralls |
* Validate order kwarg in BitArray * Added releasenotes for bugfix * Added pytest to check order * Reformatted files * Update releasenotes/notes/fix-kwarg-validation-BitArray-1bf542a1fb5c15c6.yaml Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com> --------- Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>
* Validate order kwarg in BitArray * Added releasenotes for bugfix * Added pytest to check order * Reformatted files * Update releasenotes/notes/fix-kwarg-validation-BitArray-1bf542a1fb5c15c6.yaml Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com> --------- Co-authored-by: Takashi Imamichi <31178928+t-imamichi@users.noreply.github.com>
Summary
The kwarg
order
inBitArray.from_bool_array()
should be 'little' or 'big'. Change raises an error if order is neither of the two.Fixes #12673
Details and comments