attempt to work around flake and pyright errors #21
python-type-check.yml
on: push
pyright type-check
56s
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[Unknown]" cannot be assigned to parameter "s" of type "slice" in function "__getitem__"
Type "int | list[Unknown]" 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
|