remove unused import #20
python-type-check.yml
on: push
pyright type-check
1m 11s
Annotations
4 errors
pyright type-check:
gguf-py/gguf/gguf_reader.py#L69
No overloads for "__getitem__" match the provided arguments (reportCallIssue)
|
pyright type-check:
gguf-py/gguf/gguf_reader.py#L69
Argument of type "int | list[int]" cannot be assigned to parameter "s" of type "slice" in function "__getitem__"
Type "int | list[int]" is not assignable to type "slice"
"int" is not assignable to "slice" (reportArgumentType)
|
pyright type-check:
gguf-py/gguf/gguf_reader.py#L71
"int" is not iterable
"__iter__" method not defined (reportGeneralTypeIssues)
|
pyright type-check
3 errors
|