Ecosystem report

Old: main (merge base) d08b174e → New: 27645/merge f8cdda07
Lint Rule Removed Added Changed
Total 16 7 1
invalid-argument-type 16 0 1
not-subscriptable 0 4 0
invalid-return-type 0 2 0
invalid-assignment 0 1 0
Project Removed Added Changed
Total 16 7 1
hydpy non-strict 2 5 0
pandas strict 3 2 1
pwndbg non-strict 6 0 0
xarray strict 4 0 0
operator non-strict 1 0 0

hydpy non-strict (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]]]` 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]]]` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]` on object of type `VectorFloatFlex@__call__`
[error] not-subscriptable - Cannot subscript object of type `float*` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `float*` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-assignment - Object of type `Unknown | ndarray[tuple[Any, ...], dtype[float64]]` is not assignable to `VectorFloatFlex@__call__`

operator non-strict (https://github.com/canonical/operator)

ops/pebble.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method AnyStr@ExecError.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str) | (Overload[(key: SupportsIndex, /) -> int, (key: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> bytes])` cannot be called with key of type `slice[None, int, None]` on object of type `AnyStr@ExecError`

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

pandas/core/dtypes/missing.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method _ArrLikeT@remove_na_arraylike.__getitem__(key) -> Unknown) | (Overload[(key: SupportsIndex) -> Any, (key: slice[Any, Any, Any] | ndarray[tuple[Any, ...], dtype[Any]] | list[int] | list[builtins.bool] | Series) -> Index]) | (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[Any]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[Any]]])` cannot be called with key of type `NDFrame` on object of type `_ArrLikeT@remove_na_arraylike`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex) -> Any, (key: slice[Any, Any, Any] | ndarray[tuple[Any, ...], dtype[Any]] | list[int] | list[bool] | Series) -> Index]` cannot be called with key of type `NDFrame` on object of type `Index`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method _ArrLikeT@remove_na_arraylike.__getitem__(key) -> Unknown) | (Overload[(key: SupportsIndex) -> Any, (key: slice[Any, Any, Any] | ndarray[tuple[Any, ...], dtype[Any]] | list[int] | list[builtins.bool] | Series) -> Index]) | (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[Any]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[Any]]])` cannot be called with key of type `bool` on object of type `_ArrLikeT@remove_na_arraylike`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method _ArrLikeT@remove_na_arraylike.__getitem__(key) -> Unknown) | (Overload[(key: SupportsIndex) -> Any, (key: slice[Any, Any, Any] | ndarray[tuple[Any, ...], dtype[Any]] | list[int] | list[builtins.bool] | Series) -> Index]) | (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[Any]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[Any]]])` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]` on object of type `_ArrLikeT@remove_na_arraylike`
[error] invalid-return-type - Return type does not match returned value: expected `_ArrLikeT@remove_na_arraylike`, found `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method _ArrLikeT@remove_na_arraylike.__getitem__(key) -> Unknown) | (Overload[(key: SupportsIndex) -> Any, (key: slice[Any, Any, Any] | ndarray[tuple[Any, ...], dtype[Any]] | list[int] | list[builtins.bool] | Series) -> Index]) | (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[Any]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[Any]]])` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]` on object of type `_ArrLikeT@remove_na_arraylike`
[error] invalid-return-type - Return type does not match returned value: expected `_ArrLikeT@remove_na_arraylike`, found `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]]`

pwndbg non-strict (https://github.com/pwndbg/pwndbg)

pwndbg/aglib/heap/ptmalloc.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["num_slots"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["counts"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["entries"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["tcache_small_bins"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["tcache_bins"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["tcache_count"]` on object of type `TheValue@GlibcMemoryAllocator`

steam.py non-strict (https://github.com/Gobot1234/steam.py)

steam/chat.py

flaky
(1/10)
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
flaky
(2/10)
[warning] possibly-missing-attribute - Attribute `reactions` may be missing on object of type `ChatMessageT@Chat`

steam/client.py

flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `PublishedFile[User | PartialUser] | None` is not a subtype of `PublishedFile[PartialUser] | None`
flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `list[PublishedFile[User | PartialUser] | None]` is not a subtype of `list[PublishedFile[PartialUser] | None]`

steam/published_file.py

flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `PublishedFile[User | PartialUser] & ~AlwaysFalsy` is not a subtype of `PublishedFile[PartialUser]`

steam/user.py

flaky
(1/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`

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

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 `Hashable` 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 `Hashable` on object of type `T_Xarray@assert_coordinate_consistent`

xarray/core/groupby.py

[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 `Hashable` 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 `Hashable` on object of type `T_Xarray@GroupBy`