zarr-python icon indicating copy to clipboard operation
zarr-python copied to clipboard

Enable ruff/pyupgrade rules (UP) and fix issues

Open DimitriPapadopoulos opened this issue 1 year ago • 1 comments

Keep applying repo-review suggestions (https://github.com/zarr-developers/zarr-python/discussions/1701).

TODO:

  • [ ] Add unit tests and/or doctests in docstrings
  • [ ] Add docstrings and API docs for any new/modified user-facing classes and functions
  • [ ] New/modified features documented in docs/tutorial.rst
  • [x] Changes documented in docs/release.rst
  • [x] GitHub Actions have all passed
  • [x] Test coverage is 100% (Codecov passes)

DimitriPapadopoulos avatar Mar 11 '24 21:03 DimitriPapadopoulos

Codecov Report

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

Project coverage is 99.98%. Comparing base (cb4230d) to head (289ff29). Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##           main    #1703       +/-   ##
=========================================
+ Coverage      0   99.98%   +99.98%     
=========================================
  Files         0       38       +38     
  Lines         0    14674    +14674     
=========================================
+ Hits          0    14672    +14672     
- Misses        0        2        +2     
Files with missing lines Coverage Δ
zarr/_storage/store.py 100.00% <100.00%> (ø)
zarr/_storage/v3.py 100.00% <100.00%> (ø)
zarr/_storage/v3_storage_transformers.py 100.00% <100.00%> (ø)
zarr/creation.py 100.00% <100.00%> (ø)
zarr/hierarchy.py 99.79% <100.00%> (ø)
zarr/meta.py 100.00% <100.00%> (ø)
zarr/n5.py 100.00% <100.00%> (ø)
zarr/storage.py 100.00% <100.00%> (ø)
zarr/tests/test_core.py 99.94% <100.00%> (ø)
zarr/tests/test_n5.py 100.00% <ø> (ø)
... and 2 more

... and 26 files with indirect coverage changes

codecov[bot] avatar Mar 11 '24 21:03 codecov[bot]

@DimitriPapadopoulos - thanks for moving your focus over to the v3 branch. I'm going to close this in favor of the contributions you've already made there. 🙏

jhamman avatar Jun 01 '24 16:06 jhamman