We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3378e9a commit 46db32aCopy full SHA for 46db32a
.mypy.ini
@@ -1,7 +1,6 @@
1
[mypy]
2
mypy_path = squidpy
3
python_version = 3.10
4
-plugins = numpy.typing.mypy_plugin
5
6
ignore_errors = False
7
warn_redundant_casts = True
benchmarks/benchmarks/_utils.py
@@ -39,7 +39,7 @@ def imc() -> AnnData:
39
return _imc().copy()
40
41
42
-def to_off_axis(x: np.ndarray | csr_matrix | csc_matrix) -> np.ndarray | csc_matrix: # type: ignore[type-arg]
+def to_off_axis(x: np.ndarray | csr_matrix | csc_matrix) -> np.ndarray | csc_matrix:
43
if isinstance(x, csr_matrix):
44
return x.tocsc()
45
if isinstance(x, np.ndarray):
0 commit comments