Skip to content

Commit 46db32a

Browse files
committed
fix mypy
1 parent 3378e9a commit 46db32a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.mypy.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[mypy]
22
mypy_path = squidpy
33
python_version = 3.10
4-
plugins = numpy.typing.mypy_plugin
54

65
ignore_errors = False
76
warn_redundant_casts = True

benchmarks/benchmarks/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def imc() -> AnnData:
3939
return _imc().copy()
4040

4141

42-
def to_off_axis(x: np.ndarray | csr_matrix | csc_matrix) -> np.ndarray | csc_matrix: # type: ignore[type-arg]
42+
def to_off_axis(x: np.ndarray | csr_matrix | csc_matrix) -> np.ndarray | csc_matrix:
4343
if isinstance(x, csr_matrix):
4444
return x.tocsc()
4545
if isinstance(x, np.ndarray):

0 commit comments

Comments
 (0)