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

Last batch of ruff rules #658

Open DimitriPapadopoulos opened 4 days ago

DimitriPapadopoulos commented 4 days ago

Last batch of ruff rules, upgrade to ruff 0.8.0

TODO:

codecov[bot] commented 4 days ago

Codecov Report

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

Project coverage is 99.92%. Comparing base (86f5ce4) to head (5f3086a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #658 +/- ## ========================================== - Coverage 99.92% 99.92% -0.01% ========================================== Files 62 62 Lines 2721 2708 -13 ========================================== - Hits 2719 2706 -13 Misses 2 2 ``` | [Files with missing lines](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers) | Coverage Δ | | |---|---|---| | [numcodecs/astype.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fastype.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL2FzdHlwZS5weQ==) | `100.00% <100.00%> (ø)` | | | [numcodecs/base64.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fbase64.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL2Jhc2U2NC5weQ==) | `100.00% <100.00%> (ø)` | | | [numcodecs/categorize.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fcategorize.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL2NhdGVnb3JpemUucHk=) | `100.00% <100.00%> (ø)` | | | [numcodecs/delta.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fdelta.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL2RlbHRhLnB5) | `100.00% <100.00%> (ø)` | | | [numcodecs/fixedscaleoffset.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Ffixedscaleoffset.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL2ZpeGVkc2NhbGVvZmZzZXQucHk=) | `100.00% <100.00%> (ø)` | | | [numcodecs/gzip.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fgzip.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL2d6aXAucHk=) | `100.00% <100.00%> (ø)` | | | [numcodecs/lzma.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Flzma.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL2x6bWEucHk=) | `100.00% <ø> (ø)` | | | [numcodecs/ndarray\_like.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fndarray_like.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL25kYXJyYXlfbGlrZS5weQ==) | `100.00% <100.00%> (ø)` | | | [numcodecs/pcodec.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fpcodec.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL3Bjb2RlYy5weQ==) | `100.00% <100.00%> (ø)` | | | [numcodecs/quantize.py](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree&filepath=numcodecs%2Fquantize.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers#diff-bnVtY29kZWNzL3F1YW50aXplLnB5) | `100.00% <100.00%> (ø)` | | | ... and [4 more](https://app.codecov.io/gh/zarr-developers/numcodecs/pull/658?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zarr-developers) | |

🚨 Try these New Features: