Skip to content

Commit 00688f9

Browse files
committed
scipy-stubs broke run_mypy error report
Partially reverts d894350
1 parent 1aa8c8b commit 00688f9

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

environment-osx-arm64.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ dependencies:
2626
- diff-cover
2727
- mypy
2828
- types-setuptools
29-
- scipy-stubs
3029
- pytest
3130
- pytest-cov
3231
- pytest-xdist

environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ dependencies:
2828
- diff-cover
2929
- mypy
3030
- types-setuptools
31-
- scipy-stubs
3231
- pytest
3332
- pytest-cov
3433
- pytest-xdist

pytensor/link/numba/dispatch/linalg/decomposition/lu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _lu_1(
4848
Called when permute_l is True and p_indices is False, and returns a tuple of (perm, L, U), where perm an integer
4949
array of row swaps, such that L[perm] @ U = A.
5050
"""
51-
return linalg.lu(
51+
return linalg.lu( # type: ignore[no-any-return]
5252
a,
5353
permute_l=permute_l,
5454
check_finite=check_finite,
@@ -70,7 +70,7 @@ def _lu_2(
7070
Called when permute_l is False and p_indices is True, and returns a tuple of (PL, U), where PL is the
7171
permuted L matrix, PL = P @ L.
7272
"""
73-
return linalg.lu(
73+
return linalg.lu( # type: ignore[no-any-return]
7474
a,
7575
permute_l=permute_l,
7676
check_finite=check_finite,
@@ -92,7 +92,7 @@ def _lu_3(
9292
Called when permute_l is False and p_indices is False, and returns a tuple of (P, L, U), where P is the permutation
9393
matrix, P @ L @ U = A.
9494
"""
95-
return linalg.lu(
95+
return linalg.lu( # type: ignore[no-any-return]
9696
a,
9797
permute_l=permute_l,
9898
check_finite=check_finite,

0 commit comments

Comments
 (0)