Ecosystem report

Old: main (merge base) 7b7556da New: 24425/merge 0fa6b243
Lint Rule Removed Added Changed
Total 53 9 13
invalid-argument-type 38 5 2
invalid-return-type 1 1 9
invalid-assignment 6 1 1
no-matching-overload 6 0 0
possibly-missing-implicit-call 0 2 0
not-iterable 1 0 0
unresolved-attribute 0 0 1
unsupported-operator 1 0 0
Project Removed Added Changed
Total 53 9 13
xarray 34 5 2
pandas 5 1 4
prefect flaky 6 0 1
scikit-build-core flaky 2 0 4
hydpy 2 3 0
aiohttp 2 0 1
core 1 0 1
spack 1 0 0

aiohttp (https://github.com/aio-libs/aiohttp)

aiohttp/client.py

[error] invalid-return-type - Return type does not match returned value: expected `_RetType_co@_BaseRequestContextManager`, found `ClientResponse | Unknown`
[error] invalid-return-type - Return type does not match returned value: expected `_RetType_co@_BaseRequestContextManager`, found `ClientResponse | _RetType_co@_BaseRequestContextManager`
[error] invalid-argument-type - Argument to bound method `__aenter__` is incorrect: Argument type `_RetType_co@_BaseRequestContextManager` does not satisfy upper bound `ClientWebSocketResponse[_DecodeText@ClientWebSocketResponse]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `__aexit__` is incorrect: Argument type `_RetType_co@_BaseRequestContextManager` does not satisfy upper bound `ClientWebSocketResponse[_DecodeText@ClientWebSocketResponse]` of type variable `Self`

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

homeassistant/components/asuswrt/helpers.py

[error] invalid-return-type - Return type does not match returned value: expected `T@translate_to_legacy`, found `dict[Unknown, object]`
[error] invalid-return-type - Return type does not match returned value: expected `T@translate_to_legacy`, found `dict[str, Any]`
[error] no-matching-overload - No overload of bound method `get` matches arguments

hydpy (https://github.com/hydpy-dev/hydpy)

hydpy/auxs/iuhtools.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[float64]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[float64]], (key: str, /) -> ndarray[tuple[int] | tuple[Any, ...], dtype[Any]], (key: list[str], /) -> ndarray[tuple[int] | tuple[Any, ...], Unknown]]` cannot be called with key of type `bool` on object of type `VectorFloatFlex@__call__`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[float64]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[float64]], (key: str, /) -> ndarray[tuple[int] | tuple[Any, ...], dtype[Any]], (key: list[str], /) -> ndarray[tuple[int] | tuple[Any, ...], Unknown]]` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]` on object of type `VectorFloatFlex@__call__`
[warning] possibly-missing-implicit-call - Method `__getitem__` of type `VectorFloatFlex@__call__` may be missing
[warning] possibly-missing-implicit-call - Method `__getitem__` of type `VectorFloatFlex@__call__` may be missing
[error] invalid-assignment - Object of type `Any | ndarray[tuple[Any, ...], dtype[float64]]` is not assignable to `VectorFloatFlex@__call__`

pandas (https://github.com/pandas-dev/pandas)

pandas/core/algorithms.py

[error] invalid-return-type - Return type does not match returned value: expected `ArrayLikeT@_reconstruct_data`, found `Unknown | ndarray[tuple[Any, ...], Unknown]`

pandas/core/arrays/datetimes.py

[error] invalid-assignment - Object of type `Timestamp` is not assignable to `_TimestampNoneT1@_maybe_normalize_endpoints`
[error] invalid-assignment - Object of type `Timestamp` is not assignable to `_TimestampNoneT2@_maybe_normalize_endpoints`

pandas/core/dtypes/cast.py

[error] invalid-return-type - Return type does not match returned value: expected `NumpyIndexT@maybe_upcast_numeric_to_64bit`, found `Unknown | Index`
[error] invalid-return-type - Return type does not match returned value: expected `NumpyIndexT@maybe_upcast_numeric_to_64bit`, found `ndarray[tuple[Any, ...], Unknown] | Index`
[error] no-matching-overload - No overload of bound method `astype` matches arguments
[error] invalid-return-type - Return type does not match returned value: expected `NumpyIndexT@maybe_upcast_numeric_to_64bit`, found `Unknown | Index`
[error] invalid-return-type - Return type does not match returned value: expected `NumpyIndexT@maybe_upcast_numeric_to_64bit`, found `ndarray[tuple[Any, ...], Unknown] | Index`
[error] no-matching-overload - No overload of bound method `astype` matches arguments
[error] invalid-return-type - Return type does not match returned value: expected `NumpyIndexT@maybe_upcast_numeric_to_64bit`, found `Unknown | Index`
[error] invalid-return-type - Return type does not match returned value: expected `NumpyIndexT@maybe_upcast_numeric_to_64bit`, found `ndarray[tuple[Any, ...], Unknown] | Index`
[error] no-matching-overload - No overload of bound method `astype` matches arguments

pandas/core/resample.py

[error] invalid-return-type - Return type does not match returned value: expected `FreqIndexT@_asfreq_compat`, found `PeriodIndex | DatetimeIndex | TimedeltaIndex`
[error] invalid-return-type - Return type does not match returned value: expected `FreqIndexT@_asfreq_compat`, found `(FreqIndexT@_asfreq_compat & PeriodIndex) | DatetimeIndex | TimedeltaIndex`

prefect (https://github.com/PrefectHQ/prefect)

src/prefect/utilities/templating.py

[error] invalid-argument-type - Argument to function `find_placeholders` is incorrect: Argument type `object` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`
[error] no-matching-overload - No overload of function `apply_values` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `Unknown & ~<class 'NotSet'>` on object of type `dict[str, Any]`
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `object` on object of type `dict[str, Any]`
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `Unknown` on object of type `dict[str, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `T@resolve_variables`, found `dict[Any, Unknown]`

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

src/scikit_build_core/metadata/__init__.py

[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `str | list[str] | dict[str, str]`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[object, dict[str, str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[str, dict[str, str]]`
[error] unresolved-attribute - Object of type `object` has no attribute `items`
[error] unresolved-attribute - Attribute `items` is not defined on `str`, `list[str]` in union `str | list[str] | dict[str, str]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[object, list[str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[str, list[str]]`
[error] not-iterable - Object of type `object` is not iterable

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

lib/spack/spack/vendor/markupsafe/__init__.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Any` and value of type `Markup` on object of type `_ListOrDict@_escape_argspec`

xarray (https://github.com/pydata/xarray)

xarray/computation/rolling.py

[error] unsupported-operator - Operator `/=` is not supported between objects of type `T_Xarray@Rolling` and `Unknown`
[error] invalid-return-type - Return type does not match returned value: expected `T_Xarray@Coarsen`, found `DataArray`

xarray/core/coordinates.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@assert_coordinate_consistent.__getitem__(key: Any) -> T_Xarray@assert_coordinate_consistent) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@assert_coordinate_consistent])` cannot be called with key of type `Unknown` on object of type `T_Xarray@assert_coordinate_consistent`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@assert_coordinate_consistent.__getitem__(key: Any) -> T_Xarray@assert_coordinate_consistent) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@assert_coordinate_consistent])` cannot be called with key of type `Unknown` on object of type `T_Xarray@assert_coordinate_consistent`

xarray/core/groupby.py

[error] invalid-argument-type - Argument to bound method `transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `_shuffle` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `_shuffle` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `_from_temp_dataset` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@GroupBy.__getitem__(key: Any) -> T_Xarray@GroupBy) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@GroupBy])` cannot be called with key of type `Unknown` on object of type `T_Xarray@GroupBy`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@GroupBy.__getitem__(key: Any) -> T_Xarray@GroupBy) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@GroupBy])` cannot be called with key of type `Unknown` on object of type `T_Xarray@GroupBy`
[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`

xarray/core/indexes.py

[error] invalid-assignment - Object of type `Index` is not assignable to `T_PandasOrXarrayIndex@Indexes`
[error] invalid-assignment - Object of type `PandasIndex | (T_PandasOrXarrayIndex@Indexes & Index)` is not assignable to `T_PandasOrXarrayIndex@Indexes`

xarray/core/resample.py

[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `interp` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `interp` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`

xarray/indexes/nd_point_index.py

[error] invalid-argument-type - Argument to bound method `equals` is incorrect: Argument type `object` does not satisfy upper bound `TreeAdapter` of type variable `Self`

xarray/plot/facetgrid.py

[error] invalid-argument-type - Argument to bound method `to_index` is incorrect: Expected `DataArray`, found `T_DataArrayOrSet@FacetGrid`
[error] invalid-argument-type - Argument to bound method `to_index` is incorrect: Expected `DataArray`, found `T_DataArrayOrSet@FacetGrid`
[error] invalid-argument-type - Argument to bound method `to_numpy` is incorrect: Expected `DataArray`, found `T_DataArrayOrSet@FacetGrid`
[error] invalid-argument-type - Argument to bound method `to_numpy` is incorrect: Expected `DataArray`, found `T_DataArrayOrSet@FacetGrid`
[error] invalid-argument-type - Argument to bound method `to_numpy` is incorrect: Expected `DataArray`, found `T_DataArrayOrSet@FacetGrid`
[error] invalid-argument-type - Method `__getitem__` of type `(Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_DataArrayOrSet@FacetGrid]) | (bound method T_DataArrayOrSet@FacetGrid.__getitem__(key: Any) -> T_DataArrayOrSet@FacetGrid)` cannot be called with key of type `Any` on object of type `T_DataArrayOrSet@FacetGrid`
[error] invalid-argument-type - Argument to function `label_from_attrs` is incorrect: Expected `DataArray | None`, found `T_DataArrayOrSet@FacetGrid`