zarr-developers / numcodecs

A Python package providing buffer compression and transformation codecs for use in data storage and communication applications.
http://numcodecs.readthedocs.io
MIT License
128 stars 88 forks source link

Type `Buffer`'s `flags` argument #648

Closed jakirkham closed 1 week ago

jakirkham commented 1 week ago

Ensure the flags argument in Buffer is correctly typed so it can be passed verbatim to PyObject_GetBuffer. This can also avoid needless conversions to and from Python object type.

TODO:

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.88%. Comparing base (145f57c) to head (c1c95fe). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #648 +/- ## ======================================= Coverage 99.88% 99.88% ======================================= Files 62 62 Lines 2723 2723 ======================================= Hits 2720 2720 Misses 3 3 ```

🚨 Try these New Features:

jakirkham commented 1 week ago

Thanks David! 🙏