🔀 numpy/numpy#28259 forwardport #30
Annotations
10 errors
lint:
test/static/accept/arithmetic.pyi#L363
No overloads for "divmod" match the provided arguments (reportCallIssue)
|
lint:
test/static/accept/arithmetic.pyi#L363
"assert_type" mismatch: expected "tuple[int, timedelta]" but received "Unknown" (reportAssertTypeFailure)
|
lint:
test/static/accept/arithmetic.pyi#L363
Argument of type "timedelta" cannot be assigned to parameter "y" of type "SupportsRDivMod[_T_contra@divmod, _T_co@divmod]" in function "divmod"
"timedelta" is incompatible with protocol "SupportsRDivMod[timedelta64[timedelta], _T_co@divmod]"
"__rdivmod__" is not present (reportArgumentType)
|
lint:
test/static/accept/arraysetops.pyi#L27
"assert_type" mismatch: expected "tuple[ndarray[tuple[int, ...], dtype[floating[_64Bit]]], ndarray[tuple[int, ...], dtype[signedinteger[_32Bit | _64Bit]]], ndarray[tuple[int, ...], dtype[signedinteger[_32Bit | _64Bit]]]]" but received "tuple[ndarray[tuple[int, ...], dtype[float64]], ndarray[tuple[int, ...], dtype[signedinteger[_32Bit | _64Bit]]], ndarray[tuple[int, ...], dtype[signedinteger[_32Bit | _64Bit]]]]" (reportAssertTypeFailure)
|
lint:
test/static/accept/arrayterator.pyi#L21
"assert_type" mismatch: expected "ndarray[tuple[int, ...], dtype[signedinteger[_64Bit]]]" but received "ndarray[Any, dtype[signedinteger[_64Bit]]]" (reportAssertTypeFailure)
|
lint:
test/static/accept/arrayterator.pyi#L23
"assert_type" mismatch: expected "Arrayterator[tuple[int, ...], dtype[signedinteger[_64Bit]]]" but received "Arrayterator[Any, dtype[signedinteger[_64Bit]]]" (reportAssertTypeFailure)
|
lint:
test/static/accept/arrayterator.pyi#L24
"assert_type" mismatch: expected "Arrayterator[tuple[int, ...], dtype[signedinteger[_64Bit]]]" but received "Arrayterator[Any, dtype[signedinteger[_64Bit]]]" (reportAssertTypeFailure)
|
lint:
test/static/accept/arrayterator.pyi#L25
"assert_type" mismatch: expected "Arrayterator[tuple[int, ...], dtype[signedinteger[_64Bit]]]" but received "Arrayterator[Any, dtype[signedinteger[_64Bit]]]" (reportAssertTypeFailure)
|
lint:
test/static/accept/arrayterator.pyi#L26
"assert_type" mismatch: expected "Arrayterator[tuple[int, ...], dtype[signedinteger[_64Bit]]]" but received "Arrayterator[Any, dtype[signedinteger[_64Bit]]]" (reportAssertTypeFailure)
|
lint:
test/static/accept/arrayterator.pyi#L27
"assert_type" mismatch: expected "Arrayterator[tuple[int, ...], dtype[signedinteger[_64Bit]]]" but received "Arrayterator[Any, dtype[signedinteger[_64Bit]]]" (reportAssertTypeFailure)
|