Closed ternaus closed 3 months ago
This pull request enhances the contiguous
decorator to ensure both input and output arrays are contiguous. Corresponding tests have been added to validate this functionality. Additionally, the versions of several pre-commit hooks have been updated.
Files | Changes |
---|---|
tests/test_utils.py albucore/utils.py |
Enhanced the contiguous decorator to ensure both input and output arrays are contiguous and added corresponding tests to validate this functionality. |
.pre-commit-config.yaml |
Updated versions of pre-commit hooks for pyproject-fmt , ruff-pre-commit , and mypy . |
All modified and coverable lines are covered by tests :white_check_mark:
Please upload report for BASE (
main@f3fd587
). Learn more about missing BASE report.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by Sourcery
This pull request enhances the
contiguous
decorator to ensure that both input and output arrays are contiguous. It also updates several pre-commit hooks to their latest versions and adds tests to verify the functionality of the updated decorator.contiguous
decorator to ensure that both input and output arrays are contiguous.contiguous
decorator ensures both input and output arrays are contiguous.