scverse / scanpy

Single-cell analysis in Python. Scales to >1M cells.
https://scanpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.88k stars 594 forks source link

Rely on Ruff for TYPE_CHECKING block mgmt #3248

Closed flying-sheep closed 1 week ago

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 87.87879% with 4 lines in your changes missing coverage. Please review.

Project coverage is 76.75%. Comparing base (b0597a9) to head (3cce3f2). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/scanpy/external/tl/_wishbone.py 50.00% 1 Missing :warning:
src/scanpy/plotting/_anndata.py 75.00% 1 Missing :warning:
src/scanpy/plotting/_utils.py 85.71% 1 Missing :warning:
src/scanpy/queries/_queries.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3248 +/- ## ========================================== - Coverage 76.76% 76.75% -0.01% ========================================== Files 109 109 Lines 12554 12551 -3 ========================================== - Hits 9637 9634 -3 Misses 2917 2917 ``` | [Files with missing lines](https://app.codecov.io/gh/scverse/scanpy/pull/3248?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse) | Coverage Δ | | |---|---|---| | [src/scanpy/cli.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fcli.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9jbGkucHk=) | `93.75% <100.00%> (ø)` | | | [src/scanpy/plotting/\_baseplot\_class.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fplotting%2F_baseplot_class.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9wbG90dGluZy9fYmFzZXBsb3RfY2xhc3MucHk=) | `90.30% <100.00%> (ø)` | | | [src/scanpy/plotting/\_tools/\_\_init\_\_.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fplotting%2F_tools%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9wbG90dGluZy9fdG9vbHMvX19pbml0X18ucHk=) | `77.54% <100.00%> (-0.06%)` | :arrow_down: | | [src/scanpy/plotting/\_tools/paga.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fplotting%2F_tools%2Fpaga.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9wbG90dGluZy9fdG9vbHMvcGFnYS5weQ==) | `68.47% <100.00%> (ø)` | | | [src/scanpy/plotting/\_tools/scatterplots.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fplotting%2F_tools%2Fscatterplots.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9wbG90dGluZy9fdG9vbHMvc2NhdHRlcnBsb3RzLnB5) | `86.99% <100.00%> (-0.03%)` | :arrow_down: | | [src/scanpy/tools/\_marker\_gene\_overlap.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Ftools%2F_marker_gene_overlap.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS90b29scy9fbWFya2VyX2dlbmVfb3ZlcmxhcC5weQ==) | `77.41% <100.00%> (ø)` | | | [src/scanpy/external/tl/\_wishbone.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fexternal%2Ftl%2F_wishbone.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9leHRlcm5hbC90bC9fd2lzaGJvbmUucHk=) | `28.57% <50.00%> (ø)` | | | [src/scanpy/plotting/\_anndata.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fplotting%2F_anndata.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9wbG90dGluZy9fYW5uZGF0YS5weQ==) | `85.02% <75.00%> (ø)` | | | [src/scanpy/plotting/\_utils.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fplotting%2F_utils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9wbG90dGluZy9fdXRpbHMucHk=) | `56.48% <85.71%> (-0.09%)` | :arrow_down: | | [src/scanpy/queries/\_queries.py](https://app.codecov.io/gh/scverse/scanpy/pull/3248?src=pr&el=tree&filepath=src%2Fscanpy%2Fqueries%2F_queries.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NjYW5weS9xdWVyaWVzL19xdWVyaWVzLnB5) | `47.54% <50.00%> (ø)` | |