-
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that chunks is tuple of ints upon array creation (#1470)
* Add failing test for creating group with float chunks * Fix flake8 errors * Cast chunks to tuple[int, ...] before returning * Use decorator to cast to int tuple * Fix mypy type issues * Fix black formatting * Add docstring to _as_int_tuple * Document changes in docs/release.rst * Revert to casting to tuple of ints inside normalize_chunks After discussion in #1470, this was selected as the best option
- Loading branch information
1 parent
6cb3cf1
commit 6ed4d78
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 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