Skip to content

Commit 6d41a52

Browse files
committed
MAINT: noqa for awkward UP007 violation
I tried to fix but `mypy` complains along the lines of python/mypy#12393
1 parent d664abf commit 6d41a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scipy/special/_orthogonal.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class orthopoly1d(numpy.poly1d):
277277
weights: numpy.typing.ArrayLike | None,
278278
hn: float = ...,
279279
kn: float = ...,
280-
wfunc = Optional[Callable[[float], float]],
280+
wfunc = Optional[Callable[[float], float]], # noqa: UP007
281281
limits = tuple[float, float] | None,
282282
monic: bool = ...,
283283
eval_func: numpy.ufunc = ...,

0 commit comments

Comments
 (0)