Ecosystem report

Old: main (merge base) f83d6691 → New: 24909/merge c2b4c501
Lint Rule Removed Added Changed
Total 74 0 8
invalid-return-type 39 0 0
invalid-argument-type 35 0 0
unresolved-attribute 0 0 7
invalid-assignment 0 0 1
Project Removed Added Changed
Total 74 0 8
core 74 0 8

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

homeassistant/components/androidtv/entity.py

[error] invalid-return-type - Return type does not match returned value: expected `_R@_adb_exception_catcher | None`, found `_R@_adb_decorator`
[error] invalid-argument-type - Argument is incorrect: Expected `_ADBDeviceT@_adb_decorator`, found `_ADBDeviceT@_adb_exception_catcher`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_adb_decorator.args`, found `_P@_adb_exception_catcher.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_adb_decorator.kwargs`, found `_P@_adb_exception_catcher.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_ADBDeviceT@_adb_decorator, _P@_adb_decorator, _R@_adb_decorator]`, found `_Wrapped[(_ADBDeviceT@_adb_decorator, /, *args: _P@_adb_decorator.args, **kwargs: _P@_adb_decorator.kwargs), Awaitable[_R@_adb_decorator], (self: _ADBDeviceT@_adb_exception_catcher, *args: _P@_adb_exception_catcher.args, **kwargs: _P@_adb_exception_catcher.kwargs), CoroutineType[Any, Any, _R@_adb_exception_catcher | None]]`
[error] invalid-return-type - Return type does not match returned value: expected `[_ADBDeviceT'return, **_P'return, _R'return]((_ADBDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[_R'return], /) -> ((_ADBDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return | None])`, found `def _adb_decorator(func: _FuncType[_ADBDeviceT@_adb_decorator, _P@_adb_decorator, _R@_adb_decorator]) -> _ReturnFuncType[_ADBDeviceT@_adb_decorator, _P@_adb_decorator, _R@_adb_decorator]`
[error] unresolved-attribute - Object of type `(_ADBDeviceT@_adb_decorator, /, *args: _P@_adb_decorator.args, **kwargs: _P@_adb_decorator.kwargs) -> Awaitable[_R@_adb_decorator]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_ADBDeviceT@adb_decorator, /, *args: _P@adb_decorator.args, **kwargs: _P@adb_decorator.kwargs) -> Awaitable[_R@adb_decorator]` has no attribute `__name__`

homeassistant/components/asuswrt/bridge.py

[error] invalid-argument-type - Argument is incorrect: Expected `_AsusWrtBridgeT@_handle_errors_and_zip`, found `_AsusWrtBridgeT@_wrapper`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_AsusWrtBridgeT@_handle_errors_and_zip]`, found `_Wrapped[(_AsusWrtBridgeT@_handle_errors_and_zip, /), Awaitable[list[str] | tuple[int | float | None, int | float | None] | list[int | float] | dict[str, int | float | str | None] | dict[str, int | float]], (self: _AsusWrtBridgeT@_wrapper), CoroutineType[Any, Any, dict[str, int | float | str | None] | dict[str, int | float]]]`

homeassistant/components/hassio/addon_manager.py

[error] invalid-argument-type - Argument is incorrect: Expected `_AddonManagerT@handle_supervisor_error`, found `_AddonManagerT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@handle_supervisor_error.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@handle_supervisor_error.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_R@wrapper`, found `_R@handle_supervisor_error`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_AddonManagerT@handle_supervisor_error, _P@handle_supervisor_error, _R@handle_supervisor_error]`, found `_Wrapped[(_AddonManagerT@handle_supervisor_error, /, *args: _P@handle_supervisor_error.args, **kwargs: _P@handle_supervisor_error.kwargs), Awaitable[_R@handle_supervisor_error], (self: _AddonManagerT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs), CoroutineType[Any, Any, _R@wrapper]]`
[error] invalid-return-type - Return type does not match returned value: expected `[_AddonManagerT'return, **_P'return, _R'return]((_AddonManagerT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[_R'return], /) -> ((_AddonManagerT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return])`, found `def handle_supervisor_error(func: _FuncType[_AddonManagerT@handle_supervisor_error, _P@handle_supervisor_error, _R@handle_supervisor_error]) -> _ReturnFuncType[_AddonManagerT@handle_supervisor_error, _P@handle_supervisor_error, _R@handle_supervisor_error]`

homeassistant/components/heos/media_player.py

[error] invalid-return-type - Return type does not match returned value: expected `_R@wrapper`, found `_R@decorator`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_P@decorator, _R@decorator]`, found `_Wrapped[_P@decorator, Awaitable[_R@decorator], _P@wrapper, CoroutineType[Any, Any, _R@wrapper]]`
[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return, _R'return]((**_P'return) -> Awaitable[_R'return], /) -> ((**_P'return) -> Coroutine[Any, Any, _R'return])`, found `def decorator(func: _FuncType[_P@decorator, _R@decorator]) -> _ReturnFuncType[_P@decorator, _R@decorator]`

homeassistant/components/izone/climate.py

[error] invalid-return-type - Return type does not match returned value: expected `_R@wrapped_f | _T@_return_on_connection_error`, found `_R@wrap`
[error] invalid-argument-type - Argument is incorrect: Expected `_DeviceT@wrap`, found `_DeviceT@wrapped_f`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@wrap.args`, found `_P@wrapped_f.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@wrap.kwargs`, found `_P@wrapped_f.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_FuncType[_DeviceT@wrap, _P@wrap, _R@wrap | _T@_return_on_connection_error]`, found `def wrapped_f(self: _DeviceT@wrapped_f, *args: _P@wrapped_f.args, **kwargs: _P@wrapped_f.kwargs) -> _R@wrapped_f | _T@_return_on_connection_error`
[error] invalid-return-type - Return type does not match returned value: expected `[_DeviceT'return, **_P'return, _R'return]((_DeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((_DeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return | _T)`, found `def wrap(func: _FuncType[_DeviceT@wrap, _P@wrap, _R@wrap]) -> _FuncType[_DeviceT@wrap, _P@wrap, _R@wrap | _T@_return_on_connection_error]`

homeassistant/components/limitlessled/light.py

[error] invalid-argument-type - Argument is incorrect: Expected `_LimitlessLEDGroupT@decorator`, found `_LimitlessLEDGroupT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `(_LimitlessLEDGroupT@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> None`, found `def wrapper(self: _LimitlessLEDGroupT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs) -> None`
[error] invalid-return-type - Return type does not match returned value: expected `[_LimitlessLEDGroupT'return, **_P'return]((_LimitlessLEDGroupT'return, int, Unknown, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Any, /) -> ((_LimitlessLEDGroupT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> None)`, found `def decorator(function: (_LimitlessLEDGroupT@decorator, int, Unknown, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> Any) -> ((_LimitlessLEDGroupT@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> None)`

homeassistant/components/nice_go/util.py

[error] invalid-argument-type - Argument is incorrect: Expected `P@decorator.args`, found `P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `P@decorator.kwargs`, found `P@wrapper.kwargs`
[error] invalid-argument-type - Argument is incorrect: Expected `P@decorator.args`, found `P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `P@decorator.kwargs`, found `P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `(**P@decorator) -> Coroutine[Any, Any, _R@decorator]`, found `_Wrapped[P@decorator, Coroutine[Any, Any, _R@decorator], P@wrapper, CoroutineType[Any, Any, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `[**P'return, _R'return]((**P'return) -> Coroutine[Any, Any, _R'return], /) -> ((**P'return) -> Coroutine[Any, Any, _R'return])`, found `def decorator(func: (**P@decorator) -> Coroutine[Any, Any, _R@decorator]) -> ((**P@decorator) -> Coroutine[Any, Any, _R@decorator])`

homeassistant/components/openhome/media_player.py

[error] invalid-return-type - Return type does not match returned value: expected `_R@wrapper | None`, found `_R@call_wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_OpenhomeDeviceT@call_wrapper`, found `_OpenhomeDeviceT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@call_wrapper.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@call_wrapper.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_OpenhomeDeviceT@call_wrapper, _P@call_wrapper, _R@call_wrapper]`, found `_Wrapped[(_OpenhomeDeviceT@call_wrapper, /, *args: _P@call_wrapper.args, **kwargs: _P@call_wrapper.kwargs), Awaitable[_R@call_wrapper], (self: _OpenhomeDeviceT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs), CoroutineType[Any, Any, _R@wrapper | None]]`
[error] invalid-return-type - Return type does not match returned value: expected `[_OpenhomeDeviceT'return, **_P'return, _R'return]((_OpenhomeDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[_R'return], /) -> ((_OpenhomeDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return | None])`, found `def call_wrapper(func: _FuncType[_OpenhomeDeviceT@call_wrapper, _P@call_wrapper, _R@call_wrapper]) -> _ReturnFuncType[_OpenhomeDeviceT@call_wrapper, _P@call_wrapper, _R@call_wrapper]`
[error] unresolved-attribute - Object of type `(_OpenhomeDeviceT@call_wrapper, /, *args: _P@call_wrapper.args, **kwargs: _P@call_wrapper.kwargs) -> Awaitable[_R@call_wrapper]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_OpenhomeDeviceT@catch_request_errors, /, *args: _P@catch_request_errors.args, **kwargs: _P@catch_request_errors.kwargs) -> Awaitable[_R@catch_request_errors]` has no attribute `__name__`

homeassistant/components/otbr/silabs_multiprotocol.py

[error] invalid-return-type - Return type does not match returned value: expected `_R@async_get_otbr_data_wrapper | _R_Def@async_get_otbr_data`, found `_R@_async_get_otbr_data`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_async_get_otbr_data.args`, found `_P@async_get_otbr_data_wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_async_get_otbr_data.kwargs`, found `_P@async_get_otbr_data_wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `(HomeAssistant, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs) -> Coroutine[Any, Any, _R@_async_get_otbr_data | _R_Def@async_get_otbr_data]`, found `_Wrapped[(HomeAssistant, OTBRData, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs), Coroutine[Any, Any, _R@_async_get_otbr_data], (hass: HomeAssistant, *args: _P@async_get_otbr_data_wrapper.args, **kwargs: _P@async_get_otbr_data_wrapper.kwargs), CoroutineType[Any, Any, _R@async_get_otbr_data_wrapper | _R_Def@async_get_otbr_data]]`
[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return, _R'return]((HomeAssistant, OTBRData, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return], /) -> ((HomeAssistant, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return | _R_Def])`, found `def _async_get_otbr_data(orig_func: (HomeAssistant, OTBRData, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs) -> Coroutine[Any, Any, _R@_async_get_otbr_data]) -> ((HomeAssistant, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs) -> Coroutine[Any, Any, _R@_async_get_otbr_data | _R_Def@async_get_otbr_data])`

homeassistant/components/recorder/util.py

[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return]((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool, /) -> ((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool)`, found `def decorator(job: _FuncType[_P@decorator, bool]) -> _FuncType[_P@decorator, bool]`
[error] invalid-return-type - Return type does not match returned value: expected `[_Self'return, **_P'return]((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool, /) -> ((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool)`, found `def decorator(job: _MethType[_Self@decorator, _P@decorator, bool]) -> _MethType[_Self@decorator, _P@decorator, bool]`
[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return, _R'return]((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return)`, found `def decorator(job: _FuncType[_P@decorator, _R@decorator]) -> _FuncType[_P@decorator, _R@decorator]`
[error] invalid-return-type - Return type does not match returned value: expected `[_Self'return, **_P'return, _R'return]((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return)`, found `def decorator(job: _MethType[_Self@decorator, _P@decorator, _R@decorator]) -> _MethType[_Self@decorator, _P@decorator, _R@decorator]`

homeassistant/components/roku/helpers.py

[error] invalid-argument-type - Argument is incorrect: Expected `_RokuEntityT@decorator`, found `_RokuEntityT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_RokuEntityT@decorator, _P@decorator]`, found `_Wrapped[(_RokuEntityT@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs), Awaitable[Any], (self: _RokuEntityT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs), CoroutineType[Any, Any, None]]`
[error] invalid-return-type - Return type does not match returned value: expected `[_RokuEntityT'return, **_P'return]((_RokuEntityT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[Any], /) -> ((_RokuEntityT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, None])`, found `def decorator(func: _FuncType[_RokuEntityT@decorator, _P@decorator]) -> _ReturnFuncType[_RokuEntityT@decorator, _P@decorator]`

homeassistant/components/sonos/helpers.py

[error] invalid-argument-type - Argument is incorrect: Expected `_T@decorator`, found `_T@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_R@wrapper | None`, found `_R@decorator`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_T@decorator, _P@decorator, _R@decorator]`, found `def wrapper(self: _T@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs) -> _R@wrapper | None`
[error] invalid-return-type - Return type does not match returned value: expected `[_T'return, **_P'return, _R'return]((_T'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((_T'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return | None)`, found `def decorator(funct: _FuncType[_T@decorator, _P@decorator, _R@decorator]) -> _ReturnFuncType[_T@decorator, _P@decorator, _R@decorator]`
[error] unresolved-attribute - Object of type `(_T@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> _R@decorator` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `(_T@soco_error, /, *args: _P@soco_error.args, **kwargs: _P@soco_error.kwargs) -> _R@soco_error` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `(_T@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> _R@decorator` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `(_T@soco_error, /, *args: _P@soco_error.args, **kwargs: _P@soco_error.kwargs) -> _R@soco_error` has no attribute `__qualname__`

homeassistant/helpers/deprecation.py

[error] invalid-argument-type - Argument is incorrect: Expected `_ObjectT@decorator`, found `_ObjectT@func_wrapper`
[error] invalid-return-type - Return type does not match returned value: expected `(_ObjectT@decorator, /) -> Any`, found `def func_wrapper(self: _ObjectT@func_wrapper) -> Any`
[error] invalid-return-type - Return type does not match returned value: expected `_R@deprecated_func`, found `_R@deprecated_decorator`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@deprecated_decorator.args`, found `_P@deprecated_func.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@deprecated_decorator.kwargs`, found `_P@deprecated_func.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `(**_P@deprecated_decorator) -> _R@deprecated_decorator`, found `_Wrapped[_P@deprecated_decorator, _R@deprecated_decorator, _P@deprecated_func, _R@deprecated_func]`
[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return, _R'return]((**_P'return) -> _R'return, /) -> ((**_P'return) -> _R'return)`, found `def deprecated_decorator(func: (**_P@deprecated_decorator) -> _R@deprecated_decorator) -> ((**_P@deprecated_decorator) -> _R@deprecated_decorator)`
[error] invalid-return-type - Return type does not match returned value: expected `_T@_inner`, found `_T@_decorator`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_decorator.args`, found `_P@_inner.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_decorator.kwargs`, found `_P@_inner.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `(**_P@_decorator) -> _T@_decorator`, found `_Wrapped[_P@_decorator, _T@_decorator, _P@_inner, _T@_inner]`
[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return, _T'return]((**_P'return) -> _T'return, /) -> ((**_P'return) -> _T'return)`, found `def _decorator(func: (**_P@_decorator) -> _T@_decorator) -> ((**_P@_decorator) -> _T@_decorator)`
[error] unresolved-attribute - Object of type `(_ObjectT@decorator, /) -> Any` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_ObjectT@deprecated_substitute, /) -> Any` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(**_P@_decorator) -> _T@_decorator` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(**_P@deprecated_hass_argument) -> _T@deprecated_hass_argument` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(**_P@_decorator) -> _T@_decorator` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(**_P@deprecated_hass_argument) -> _T@deprecated_hass_argument` has no attribute `__name__`
[error] invalid-assignment - Object of type `tuple[object, ...]` is not assignable to `_P@_inner.args`
[error] invalid-assignment - Object of type `tuple[object, ...]` is not assignable to `_P@deprecated_hass_argument.args`