Skip to content

Commit 103545a

Browse files
committed
♻️ variadic rank types
1 parent 5318fdd commit 103545a

File tree

7 files changed

+130
-218
lines changed

7 files changed

+130
-218
lines changed

src/numpy-stubs/@test/static/reject/ma.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import numpy as np
33
m: np.ma.MaskedArray[tuple[int], np.dtype[np.float64]]
44

55
m.shape = (3, 1) # type: ignore[assignment]
6-
m.dtype = np.bool # type: ignore[assignment] # pyright: ignore[reportAttributeAccessIssue]
6+
m.dtype = np.bool # type: ignore[misc] # pyright: ignore[reportAttributeAccessIssue]
77

88
np.amin(m, axis=1.0) # type: ignore[call-overload] # pyright: ignore[reportArgumentType, reportCallIssue]
99
np.amin(m, keepdims=1.0) # type: ignore[call-overload] # pyright: ignore[reportArgumentType, reportCallIssue]

0 commit comments

Comments
 (0)