Skip to content

Commit 67d1bea

Browse files
committed
🏷️ fix stubtest errors in numpy.ma.[arg]sort
1 parent beb23d5 commit 67d1bea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/numpy-stubs/ma/core.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ def argsort(
770770
order: Incomplete = ...,
771771
endwith: Incomplete = ...,
772772
fill_value: Incomplete = ...,
773+
*,
773774
stable: Incomplete = ...,
774775
) -> Incomplete: ...
775776
def sort(
@@ -779,6 +780,7 @@ def sort(
779780
order: Incomplete = ...,
780781
endwith: Incomplete = ...,
781782
fill_value: Incomplete = ...,
783+
*,
782784
stable: Incomplete = ...,
783785
) -> Incomplete: ...
784786
def compressed(x: Incomplete) -> Incomplete: ...

tool/.mypyignore-todo.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ numpy.f2py.((cb|common|f90mod|use)_)?rules
2424
numpy.ma.testutils
2525
numpy.ma(.core)?.angle
2626
numpy.ma(.core)?.clip
27-
numpy.ma(.core)?.(arg)?sort
2827
numpy.ma(.core)?.indices
2928
numpy.ma(.core)?.squeeze
3029
numpy.ma.core.mask_rowcols

0 commit comments

Comments
 (0)