Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore): Update to Ruff 0.9 and add EM lints #1825

Merged
merged 4 commits into from
Jan 16, 2025

3.10 compat

36f33a8
Select commit
Loading
Failed to load commit list.
Merged

(chore): Update to Ruff 0.9 and add EM lints #1825

3.10 compat
36f33a8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 13, 2025 in 0s

83.21% (target 80.00%)

View this Pull Request on Codecov

83.21% (target 80.00%)

Details

Codecov Report

Attention: Patch coverage is 37.96992% with 165 lines in your changes missing coverage. Please review.

Project coverage is 83.21%. Comparing base (cceaa75) to head (36f33a8).

Files with missing lines Patch % Lines
src/anndata/_core/anndata.py 32.30% 44 Missing ⚠️
src/anndata/experimental/merge.py 16.66% 20 Missing ⚠️
src/anndata/_core/merge.py 33.33% 16 Missing ⚠️
src/anndata/_core/sparse_dataset.py 50.00% 12 Missing ⚠️
src/anndata/tests/helpers.py 0.00% 11 Missing ⚠️
...anndata/experimental/multi_files/_anncollection.py 0.00% 8 Missing ⚠️
src/anndata/utils.py 42.85% 8 Missing ⚠️
src/anndata/_core/file_backing.py 0.00% 6 Missing ⚠️
src/anndata/_core/index.py 66.66% 6 Missing ⚠️
src/anndata/_io/read.py 40.00% 6 Missing ⚠️
... and 10 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1825      +/-   ##
==========================================
- Coverage   87.09%   83.21%   -3.89%     
==========================================
  Files          40       40              
  Lines        6138     6267     +129     
==========================================
- Hits         5346     5215     -131     
- Misses        792     1052     +260     
Files with missing lines Coverage Δ
src/anndata/_core/aligned_mapping.py 93.44% <100.00%> (+0.02%) ⬆️
src/anndata/_io/specs/lazy_methods.py 97.80% <100.00%> (+0.04%) ⬆️
src/anndata/_io/write.py 77.77% <100.00%> (+0.24%) ⬆️
src/anndata/_settings.py 89.54% <100.00%> (-4.58%) ⬇️
src/anndata/io.py 100.00% <ø> (ø)
src/anndata/logging.py 50.00% <ø> (ø)
src/anndata/__init__.py 90.62% <0.00%> (-2.93%) ⬇️
src/anndata/_core/aligned_df.py 95.65% <0.00%> (-2.13%) ⬇️
src/anndata/_core/views.py 85.02% <50.00%> (-6.09%) ⬇️
src/anndata/_io/h5ad.py 92.68% <80.00%> (-0.32%) ⬇️
... and 16 more

... and 2 files with indirect coverage changes