Skip to content

Commit d6db95c

Browse files
committed
🏷️ fix stubtest errors in numpy.ma.extras
1 parent f2adfa0 commit d6db95c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/numpy-stubs/ma/extras.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ class _fromnxfunction_allargs(_fromnxfunction):
7676
def __call__(self, *args: Incomplete, **params: Incomplete) -> Incomplete: ...
7777

7878
class MAxisConcatenator(AxisConcatenator):
79+
@staticmethod
80+
def concatenate(arrays: Incomplete, axis: int = 0) -> Incomplete: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
7981
@classmethod
8082
def makemat(cls, arr: Incomplete) -> Incomplete: ... # type: ignore[override] # pyright: ignore[reportIncompatibleVariableOverride]
8183

tool/.mypyignore-todo.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ numpy.f2py.symbolic
2222
numpy.f2py.((cb|common|f90mod|use)_)?rules
2323

2424
numpy.ma.testutils
25-
numpy.ma.extras.MAxisConcatenator.concatenate
2625
numpy.ma.mrecords.fromtextfile

0 commit comments

Comments
 (0)