colour/recovery/otsu2018.py
[error] invalid-assignment -
:1606:21 -
Method `__setitem__` of type `Unknown | (Overload[(key: SupportsIndex, value: Unknown, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown], /) -> None]) | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None)` cannot be called with a key of type `Node_Otsu2018` and a value of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int` on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`
[error] unsupported-operator -
:1607:21 -
Operator `+=` is unsupported between objects of type `dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator -
:1607:21 -
Operator `+=` is unsupported between objects of type `list[Unknown]` and `Literal[1]`
[error] invalid-assignment -
:1610:17 -
Method `__setitem__` of type `Unknown | (Overload[(key: SupportsIndex, value: Unknown, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown], /) -> None]) | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None)` cannot be called with a key of type `Node_Otsu2018` and a value of type `int` on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`
[error] invalid-argument-type -
:1610:54 -
Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`
[warning] possibly-missing-attribute -
:1611:17 -
Attribute `append` may be missing on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`