Skip to content

chore: replace the remaining enums with literals (3/4) - #1286

Open
selmanozleyen wants to merge 28 commits into
mainfrom
feat/enum-to-literal
Open

selmanozleyen wants to merge 28 commits into
mainfrom
feat/enum-to-literal

Merge main into feat/enum-to-literal

90cb7b5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 9, 2026 in 0s

78.97% (target 1.00%)

View this Pull Request on Codecov

78.97% (target 1.00%)

Details

Codecov Report

❌ Patch coverage is 94.64286% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.97%. Comparing base (f030690) to head (90cb7b5).

Files with missing lines Patch % Lines
src/squidpy/_validators.py 90.00% 0 Missing and 2 partials ⚠️
src/squidpy/experimental/im/_utils.py 66.66% 1 Missing and 1 partial ⚠️
src/squidpy/gr/_ligrec.py 84.61% 1 Missing and 1 partial ⚠️
src/squidpy/experimental/im/_detect_tissue.py 88.88% 0 Missing and 1 partial ⚠️
src/squidpy/experimental/im/_qc_image.py 93.33% 1 Missing ⚠️
src/squidpy/gr/_clusterers.py 75.00% 0 Missing and 1 partial ⚠️
src/squidpy/gr/_nhood.py 95.23% 0 Missing and 1 partial ⚠️
src/squidpy/im/_feature.py 92.30% 0 Missing and 1 partial ⚠️
src/squidpy/pl/_ligrec.py 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1286      +/-   ##
==========================================
+ Coverage   78.88%   78.97%   +0.08%     
==========================================
  Files          65       63       -2     
  Lines        9611     9437     -174     
  Branches     1591     1574      -17     
==========================================
- Hits         7582     7453     -129     
+ Misses       1497     1466      -31     
+ Partials      532      518      -14     
Files with missing lines Coverage Δ
src/squidpy/_constants/_pkg_constants.py 94.07% <100.00%> (-0.13%) ⬇️
src/squidpy/datasets/_datasets.py 87.71% <100.00%> (-0.22%) ⬇️
...uidpy/experimental/im/_calculate_image_features.py 89.90% <100.00%> (+0.48%) ⬆️
src/squidpy/experimental/im/_qc_metrics.py 100.00% <100.00%> (ø)
src/squidpy/experimental/im/_stain/_normalize.py 95.34% <100.00%> (ø)
src/squidpy/experimental/im/_stain/_reference.py 86.56% <100.00%> (ø)
src/squidpy/experimental/pl/_qc_image.py 69.04% <100.00%> (+8.82%) ⬆️
src/squidpy/experimental/tl/_stitched_labels.py 84.72% <100.00%> (+0.14%) ⬆️
src/squidpy/gr/_build.py 90.20% <100.00%> (-0.35%) ⬇️
src/squidpy/gr/_niche.py 88.55% <100.00%> (+0.55%) ⬆️
... and 19 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.