add a runtime type checker for metadata objects #3400
Codecov / codecov/project
succeeded
Apr 6, 2026 in 0s
94.89% (-0.03%) compared to 3d0e40e
View this Pull Request on Codecov
94.89% (-0.03%) compared to 3d0e40e
Details
Codecov Report
❌ Patch coverage is 98.01980% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.89%. Comparing base (3d0e40e) to head (9eb287b).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/zarr/core/type_check.py | 97.95% | 5 Missing |
| src/zarr/core/array.py | 86.66% | 2 Missing |
| src/zarr/core/metadata/v3.py | 96.15% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #3400 +/- ##
==========================================
- Coverage 94.92% 94.89% -0.03%
==========================================
Files 79 80 +1
Lines 9491 9740 +249
==========================================
+ Hits 9009 9243 +234
- Misses 482 497 +15 | Files with missing lines | Coverage Δ | |
|---|---|---|
| src/zarr/abc/codec.py | 98.50% <100.00%> (-0.22%) |
⬇️ |
| src/zarr/api/asynchronous.py | 90.84% <100.00%> (-0.04%) |
⬇️ |
| src/zarr/core/common.py | 95.40% <100.00%> (+2.06%) |
⬆️ |
| src/zarr/core/dtype/common.py | 70.58% <100.00%> (-14.96%) |
⬇️ |
| src/zarr/core/dtype/npy/bool.py | 100.00% <100.00%> (ø) |
|
| src/zarr/core/dtype/npy/bytes.py | 99.49% <100.00%> (-0.01%) |
⬇️ |
| src/zarr/core/dtype/npy/complex.py | 98.80% <100.00%> (+0.01%) |
⬆️ |
| src/zarr/core/dtype/npy/float.py | 98.91% <100.00%> (+0.01%) |
⬆️ |
| src/zarr/core/dtype/npy/int.py | 99.37% <100.00%> (+<0.01%) |
⬆️ |
| src/zarr/core/dtype/npy/string.py | 97.79% <100.00%> (+0.01%) |
⬆️ |
| ... and 10 more |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading