🏷️ stub lib._datasource
and fix lib._npyio_impl
#62
Annotations
9 errors
test/static/accept/datasource.pyi#L10
Argument of type "Path" cannot be assigned to parameter "destpath" of type "str | None" in function "__init__"
Type "Path" is not assignable to type "str | None"
"Path" is not assignable to "str"
"Path" is not assignable to "None" (reportArgumentType)
|
test/static/accept/npyio.pyi#L32
"assert_type" mismatch: expected "ZipFile" but received "ZipFile | None" (reportAssertTypeFailure)
|
test/static/accept/npyio.pyi#L33
"assert_type" mismatch: expected "IO[str] | None" but received "IO[Any] | None" (reportAssertTypeFailure)
|
test/static/accept/npyio.pyi#L37
"assert_type" mismatch: expected "BagObj[NpzFile[Any]]" but received "BagObj[ndarray[tuple[int, ...], dtype[Any]]] | None" (reportAssertTypeFailure)
|
test/static/reject/datasource.pyi#L8
Unnecessary "# pyright: ignore" rule: "reportArgumentType" (reportUnnecessaryTypeIgnoreComment)
|
test/static/reject/datasource.pyi#L11
Unnecessary "# pyright: ignore" rule: "reportArgumentType" (reportUnnecessaryTypeIgnoreComment)
|
test/static/reject/datasource.pyi#L14
Unnecessary "# pyright: ignore" rule: "reportArgumentType" (reportUnnecessaryTypeIgnoreComment)
|
|
|
The logs for this run have expired and are no longer available.
Loading