Skip to content

Commit

Permalink
MAINT: noqa for awkward UP007 violation
Browse files Browse the repository at this point in the history
I tried to fix but `mypy` complains along the lines of python/mypy#12393
  • Loading branch information
lucascolley committed Dec 5, 2023
1 parent deeb67f commit 0b83e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/special/_orthogonal.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class orthopoly1d(numpy.poly1d):
weights: numpy.typing.ArrayLike | None,
hn: float = ...,
kn: float = ...,
wfunc = Optional[Callable[[float], float]],
wfunc = Optional[Callable[[float], float]], # noqa: UP007
limits = tuple[float, float] | None,
monic: bool = ...,
eval_func: numpy.ufunc = ...,
Expand Down

0 comments on commit 0b83e30

Please sign in to comment.