Skip to content

part of test cases of run_all_tests.sh passed #18

part of test cases of run_all_tests.sh passed

part of test cases of run_all_tests.sh passed #18

Triggered via push July 17, 2025 08:34
Status Failure
Total duration 1m 49s
Artifacts
pyright type-check
1m 45s
pyright type-check
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
pyright type-check
5 errors
pyright type-check: examples/clip/convert_bgevl_to_gguf.py#L264
Type "tuple[None, None]" is not assignable to return type "Tuple[str | None, str]"   "None" is not assignable to "str" (reportReturnType)
pyright type-check: examples/clip/convert_bgevl_to_gguf.py#L205
Argument of type "list[int]" cannot be assigned to parameter "tokens" of type "Sequence[str] | Sequence[bytes] | Sequence[bytearray]" in function "add_token_list"   Type "list[int]" is not assignable to type "Sequence[str] | Sequence[bytes] | Sequence[bytearray]"     "list[int]" is not assignable to "Sequence[str]"       Type parameter "_T_co@Sequence" is covariant, but "int" is not a subtype of "str"         "int" is not assignable to "str"     "list[int]" is not assignable to "Sequence[bytes]"       Type parameter "_T_co@Sequence" is covariant, but "int" is not a subtype of "bytes"         "int" is not assignable to "bytes"     "list[int]" is not assignable to "Sequence[bytearray]" ... (reportArgumentType)
pyright type-check: compare/compare1.py#L177
Argument of type "NDArray[Any] | None" cannot be assigned to parameter "obj" of type "Sized" in function "len"   Type "NDArray[Any] | None" is not assignable to type "Sized"     "None" is incompatible with protocol "Sized"       "__len__" is not present (reportArgumentType)
pyright type-check: compare/compare1.py#L176
Argument of type "NDArray[Any] | None" cannot be assigned to parameter "obj" of type "Sized" in function "len"   Type "NDArray[Any] | None" is not assignable to type "Sized"     "None" is incompatible with protocol "Sized"       "__len__" is not present (reportArgumentType)
pyright type-check: get_processor_result.py#L4
Import "imageio" could not be resolved (reportMissingImports)
pyright type-check: get_processor_result.py#L4
Import "imageio" is not accessed (reportUnusedImport)