Skip to content

fix(typing errors): many files - #448

Merged
ajkswamy merged 7 commits into
mainfrom
fix_leftover_typing_errors
Nov 25, 2026
Merged

ajkswamy merged 7 commits into
mainfrom
fix_leftover_typing_errors

Conversation

@ajkswamy

Copy link
Copy Markdown
Collaborator

Currently, autofix.ci runs mypy on all files, which throws errors on several older files. This PR fixes them.

Some fixes work best with upstream fixes in spatialdata: scverse/spatialdata#1330. CI will be red this these upstream fixes are released.

@codecov-commenter

codecov-commenter commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 59.57447% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.59%. Comparing base (51ef276) to head (572cacc).

Files with missing lines Patch % Lines
src/spatialdata_io/converters/legacy_anndata.py 61.11% 7 Missing ⚠️
src/spatialdata_io/readers/cosmx.py 0.00% 6 Missing ⚠️
src/spatialdata_io/readers/mcmicro.py 0.00% 2 Missing ⚠️
src/spatialdata_io/readers/codex.py 0.00% 1 Missing ⚠️
src/spatialdata_io/readers/iss.py 0.00% 1 Missing ⚠️
src/spatialdata_io/readers/merscope.py 50.00% 1 Missing ⚠️
src/spatialdata_io/readers/stereoseq.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #448      +/-   ##
==========================================
- Coverage   66.60%   66.59%   -0.01%     
==========================================
  Files          26       26              
  Lines        3345     3353       +8     
==========================================
+ Hits         2228     2233       +5     
- Misses       1117     1120       +3     
Files with missing lines Coverage Δ
src/spatialdata_io/readers/generic.py 88.88% <100.00%> (+0.15%) ⬆️
src/spatialdata_io/readers/macsima.py 95.53% <100.00%> (ø)
src/spatialdata_io/readers/seqfish.py 90.07% <100.00%> (+1.25%) ⬆️
src/spatialdata_io/readers/visium.py 65.60% <100.00%> (ø)
src/spatialdata_io/readers/visium_hd.py 75.49% <100.00%> (ø)
src/spatialdata_io/readers/xenium.py 78.52% <100.00%> (ø)
src/spatialdata_io/readers/codex.py 42.55% <0.00%> (ø)
src/spatialdata_io/readers/iss.py 44.11% <0.00%> (ø)
src/spatialdata_io/readers/merscope.py 28.98% <50.00%> (ø)
src/spatialdata_io/readers/stereoseq.py 15.43% <0.00%> (-0.11%) ⬇️
... and 3 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/spatialdata_io/readers/visium_hd.py Resolved
Comment thread src/spatialdata_io/readers/xenium.py Resolved

@LucaMarconato LucaMarconato left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small comments; pre-approving.

@ajkswamy
ajkswamy requested a review from timtreis November 23, 2026 13:59
@ajkswamy
ajkswamy merged commit 738cc3a into main Nov 25, 2026
11 checks passed
@ajkswamy
ajkswamy deleted the fix_leftover_typing_errors branch November 25, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants