Ecosystem report

Old: main (merge base) 213b9bf1 New: 24773/merge abf60d8a
Lint Rule Removed Added Changed
Total 1 8 31
invalid-argument-type 0 4 28
invalid-assignment 0 0 2
type-assertion-failure 0 2 0
unsupported-operator 0 1 1
invalid-return-type 1 0 0
no-matching-overload 0 1 0
Project Removed Added Changed
Total 1 8 31
core 1 4 30
scipy-stubs 0 4 0
artigraph 0 0 1

Failed Projects

Project Old Status New Status Old Return Code New Return Code
more-itertools
https://github.com/more-itertools/more-itertools
success timeout 1 None

artigraph (https://github.com/artigraph/artigraph)

src/arti/graphs/__init__.py

[error] invalid-argument-type - Argument to bound method `BackendConnection.write_artifact_and_graph_partitions` is incorrect: Expected `Artifact`, found `Artifact | TypedBox[Artifact]`
[error] invalid-argument-type - Argument to bound method `BackendConnection.write_artifact_and_graph_partitions` is incorrect: Expected `Artifact`, found `TypedNode[Artifact]`

core (https://github.com/home-assistant/core)

homeassistant/components/api/__init__.py

[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `str`, found `dict[str, Any] | list[Any] | str | int | float`
[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `str`, found `dict[str, JsonValueType] | list[JsonValueType] | str | int | float`
[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `Mapping[str, Any] | None`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `Mapping[str, Any] | None`, found `JsonValueType | None`
[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `bool`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `bool`, found `JsonValueType`
[error] invalid-argument-type - Argument to bound method `State.from_dict` is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `State.from_dict` is incorrect: Expected `dict[str, Any]`, found `dict[str, JsonValueType] | list[JsonValueType] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `Template.async_render` is incorrect: Expected `TemplateVarsType`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `Template.async_render` is incorrect: Expected `TemplateVarsType`, found `JsonValueType | None`

homeassistant/components/conversation/chat_log.py

[error] invalid-argument-type - Argument is incorrect: Expected `dict[str, dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`, found `Unknown | dict[str, str]`
[error] invalid-argument-type - Argument is incorrect: Expected `JsonObjectType`, found `Unknown | dict[str, str]`

homeassistant/components/cover/reproduce_state.py

[error] invalid-argument-type - Argument to function `_async_set_position` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, dict[str, dict[str, Any] | list[Any] | str | ... omitted 3 union elements] | None]]`
[error] invalid-argument-type - Argument to function `_async_set_position` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, ServiceResponse]]`
[error] invalid-argument-type - Argument to function `_async_set_tilt_position` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, dict[str, dict[str, Any] | list[Any] | str | ... omitted 3 union elements] | None]]`
[error] invalid-argument-type - Argument to function `_async_set_tilt_position` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, ServiceResponse]]`
[error] invalid-argument-type - Argument to function `_async_close_cover` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, dict[str, dict[str, Any] | list[Any] | str | ... omitted 3 union elements] | None]]`
[error] invalid-argument-type - Argument to function `_async_close_cover` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, ServiceResponse]]`
[error] invalid-argument-type - Argument to function `_async_open_cover` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, dict[str, dict[str, Any] | list[Any] | str | ... omitted 3 union elements] | None]]`
[error] invalid-argument-type - Argument to function `_async_open_cover` is incorrect: Expected `partial[Coroutine[Any, Any, ServiceResponse]]`, found `partial[CoroutineType[Any, Any, ServiceResponse]]`

homeassistant/components/google_assistant/http.py

[error] invalid-return-type - Return type does not match returned value: expected `list[str]`, found `list[object]`

homeassistant/components/mqtt/cover.py

[error] invalid-assignment - Object of type `dict[str, Any] | list[Any] | str | ... omitted 3 union elements` is not assignable to `ReceivePayloadType`
[error] invalid-assignment - Object of type `dict[str, JsonValueType] | list[JsonValueType] | str | ... omitted 3 union elements` is not assignable to `ReceivePayloadType`

homeassistant/components/websocket_api/connection.py

[error] invalid-argument-type - Argument to function `error_message` is incorrect: Expected `int | None`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `error_message` is incorrect: Expected `int | None`, found `dict[str, JsonValueType] | list[JsonValueType] | str | ... omitted 3 union elements`

homeassistant/helpers/restore_state.py

[error] invalid-argument-type - Argument to bound method `State.from_dict` is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `State.from_dict` is incorrect: Expected `dict[str, Any]`, found `JsonValueType`

homeassistant/helpers/singleton.py

[error] invalid-argument-type - Argument is incorrect: Expected `(HomeAssistant, /) -> Coroutine[Any, Any, int]`, found `def func_error(hass: HomeAssistant) -> int`
[error] invalid-argument-type - Argument is incorrect: Expected `_FuncType[_Coro[int]]`, found `def func_error(hass: HomeAssistant) -> int`

homeassistant/helpers/storage.py

[error] invalid-argument-type - Argument to bound method `Store.async_save` is incorrect: Argument type `Unknown | dict[str, JsonValueType] | list[JsonValueType] | ... omitted 4 union elements` does not satisfy upper bound `Mapping[str, Any] | Sequence[Any]` of type variable `_T`
[error] invalid-argument-type - Argument to bound method `Store.async_save` is incorrect: Expected `_T@Store`, found `Unknown | dict[str, JsonValueType] | list[JsonValueType] | ... omitted 4 union elements`
[error] unsupported-operator - Operator `not in` is not supported between objects of type `Literal["minor_version"]` and `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] unsupported-operator - Operator `not in` is not supported between objects of type `Literal["minor_version"]` and `dict[str, Any] | dict[str, JsonValueType] | list[JsonValueType] | ... omitted 4 union elements`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["minor_version"]` and value of type `Literal[1]` on object of type `list[Any]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["minor_version"]` and value of type `Literal[1]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
[error] unsupported-operator - Operator `>` is not supported between objects of type `Any | dict[str, JsonValueType] | list[JsonValueType] | ... omitted 4 union elements` and `int`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - Argument to `UnsupportedStorageVersionError.__init__` is incorrect: Expected `int`, found `Any | dict[str, JsonValueType] | list[JsonValueType] | ... omitted 4 union elements`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> JsonValueType, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`

scipy-stubs (https://github.com/scipy/scipy-stubs)

tests/integrate/test_solve_bvp.pyi

[error] invalid-argument-type - Argument to function `solve_bvp` is incorrect: Expected `(Array1D, Unknown, /) -> Unknown`, found `def fun0(x: ndarray[tuple[Any, ...], dtype[float64]], y: ndarray[tuple[Any, ...], dtype[float64]]) -> ndarray[tuple[Any, ...], dtype[float64]]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `PPoly[float64]`
[error] no-matching-overload - No overload of function `solve_bvp` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `PPoly[float64]`