Ecosystem report

Old: main (merge base) c02d1643 New: 22444/merge b4e16957
Lint Rule Removed Added Changed
Total 76 2 14
invalid-argument-type 21 0 5
invalid-return-type 17 0 6
possibly-missing-attribute 13 0 1
invalid-assignment 11 0 0
no-matching-overload 8 0 0
unsupported-operator 3 0 0
invalid-await 2 0 0
unresolved-attribute 0 0 2
unused-ignore-comment 0 2 0
not-subscriptable 1 0 0
Project Removed Added Changed
Total 76 2 14
Expression 23 0 0
jax 13 0 2
scipy 9 0 3
prefect 6 1 3
static-frame 1 0 6
sympy 4 0 0
discord.py 3 0 0
cki-lib 2 0 0
pandas 2 0 0
pandas-stubs 1 1 0
ppb-vector 2 0 0
pwndbg 2 0 0
zulip 2 0 0
cloud-init 1 0 0
dulwich 1 0 0
jinja 1 0 0
openlibrary 1 0 0
spack 1 0 0
vision 1 0 0

Expression (https://github.com/cognitedata/Expression)

README.py

[error] invalid-assignment - :637:11 - Object of type `Unknown | range | int` is not assignable to `int`

expression/collections/map.py

[error] no-matching-overload - :252:24 - No overload of bound method `join` matches arguments

expression/collections/seq.py

[error] invalid-return-type - :299:16 - Return type does not match returned value: expected `_TSupportsSum@sum_by`, found `Unknown | Self@sum_by`
[error] invalid-return-type - :353:16 - Return type does not match returned value: expected `Iterable[_TSource@Seq]`, found `Unknown | _TState@unfold | Iterable[_TSource@Seq]`
[error] invalid-return-type - :446:12 - Return type does not match returned value: expected `Iterable[_TResult@choose]`, found `Unknown | Iterable[_TSource@choose] | Iterable[_TResult@choose]`

expression/effect/result.py

[error] invalid-return-type - :33:16 - Return type does not match returned value: expected `Result[_TResult@bind, _TError@ResultBuilder]`, found `Unknown | Result[_TSource@ResultBuilder, _TError@ResultBuilder] | Result[_TResult@bind, _TError@ResultBuilder]`

expression/collections/array.py

[error] invalid-return-type - :376:16 - Return type does not match returned value: expected `int`, found `Unknown | Self@sum_by | int`
[error] invalid-return-type - :442:16 - Return type does not match returned value: expected `TypedArray[_TSource@TypedArray]`, found `Unknown | _TState@unfold | TypedArray[_TSource@TypedArray]`
[error] invalid-argument-type - :655:23 - Argument to bound method `__init__` is incorrect: Expected `Iterable[_TSource@unfold] | None`, found `Unknown | _TState@unfold`

expression/collections/block.py

[error] invalid-return-type - :274:16 - Return type does not match returned value: expected `_TResult@sum_by`, found `Unknown | Block[_TSourceSum@sum_by]`
[error] invalid-return-type - :486:16 - Return type does not match returned value: expected `Block[_TSource@Block]`, found `Unknown | _TState@unfold | Block[_TSource@Block]`
[error] invalid-return-type - :595:12 - Return type does not match returned value: expected `Block[_TSource@concat]`, found `Unknown | Iterable[Block[_TSource@concat]] | Block[_TSource@concat]`
[error] invalid-argument-type - :1014:18 - Argument to bound method `__init__` is incorrect: Expected `Iterable[_TSource@unfold]`, found `Unknown | _TState@unfold`

expression/core/result.py

[error] invalid-return-type - :121:24 - Return type does not match returned value: expected `Result[_TResult@map2, _TErrorOut@Result]`, found `Result[Unknown | _TOther@map2 | _TResult@map2, _TErrorOut@Result]`

expression/extra/parser.py

[error] invalid-argument-type - :413:13 - Argument to function `pipe` is incorrect: Expected `(Unknown | Block[str] | str | ... omitted 4 union elements, /) -> int`, found `<class 'int'>`
[error] invalid-argument-type - :441:13 - Argument to function `pipe` is incorrect: Expected `(Unknown | Block[str] | str | ... omitted 3 union elements, /) -> float`, found `<class 'float'>`

tests/test_array.py

[error] invalid-assignment - :47:27 - Object of type `Unknown | TypedArray[Unknown | int] | TypedArray[str]` is not assignable to `TypedArray[str]`
[error] invalid-assignment - :58:35 - Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[uint8]` is not assignable to `TypedArray[uint8]`
[error] invalid-assignment - :69:36 - Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[uint16]` is not assignable to `TypedArray[uint16]`
[error] invalid-assignment - :80:36 - Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[uint32]` is not assignable to `TypedArray[uint32]`
[error] invalid-assignment - :91:37 - Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[float32]` is not assignable to `TypedArray[float32]`
[error] invalid-assignment - :99:35 - Object of type `Unknown | TypedArray[Unknown | int] | TypedArray[int16]` is not assignable to `TypedArray[int16]`

tests/test_seq.py

[error] invalid-argument-type - :154:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | Literal[0]`

cki-lib (https://gitlab.com/cki-project/cki-lib)

cki_lib/yaml.py

[error] invalid-assignment - :264:5 - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - :272:9 - Cannot delete subscript on object of type `str` with no `__delitem__` method

cloud-init (https://github.com/canonical/cloud-init)

cloudinit/config/schema.py

[error] no-matching-overload - :175:17 - No overload of bound method `join` matches arguments

discord.py (https://github.com/Rapptz/discord.py)

discord/channel.py

[error] no-matching-overload - :3427:16 - No overload of bound method `join` matches arguments

discord/state.py

[error] invalid-assignment - :1178:9 - Object of type `tuple[Unknown | Emoji, ...]` is not assignable to attribute `emojis` of type `tuple[Emoji, ...]`
[error] invalid-assignment - :1191:9 - Object of type `tuple[Unknown | GuildSticker, ...]` is not assignable to attribute `stickers` of type `tuple[GuildSticker, ...]`

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

dulwich/pack.py

[error] invalid-return-type - :674:16 - Return type does not match returned value: expected `Iterator[ObjectID]`, found `map[Unknown | bytes]`

jax (https://github.com/google/jax)

jax/_src/core.py

[error] invalid-argument-type - :3866:25 - Argument to function `join` is incorrect: Expected `Sequence[Doc]`, found `list[Unknown | (Jaxpr & ~ClosedJaxpr)]`

jax/_src/debugging.py

[error] unsupported-operator - :727:7 - Operator `*` is not supported between objects of type `Unknown | str` and `float`
[error] unsupported-operator - :727:19 - Operator `*` is not supported between objects of type `Unknown | str` and `float`
[error] unsupported-operator - :727:31 - Operator `*` is not supported between objects of type `Unknown | str` and `float`

jax/_src/interpreters/mlir.py

[error] invalid-argument-type - :2126:9 - Argument to function `_emit_lowering_rule_as_fun` is incorrect: Expected `Sequence[AbstractValue]`, found `list[Unknown | Var]`

jax/_src/pallas/hlo_interpreter.py

[error] no-matching-overload - :305:38 - No overload of function `safe_zip` matches arguments

jax/_src/pallas/mosaic/lowering.py

[error] no-matching-overload - :2165:37 - No overload of bound method `join` matches arguments

jax/_src/pallas/mosaic_gpu/lowering.py

[error] invalid-argument-type - :3232 -
Old: Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown | dtype[Any] | ShapedAbstractValue`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
New: Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
[error] invalid-argument-type - :3255 -
Old: Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown | dtype[Any] | ShapedAbstractValue`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
New: Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`

jax/_src/pallas/mosaic_gpu/primitives.py

[error] invalid-argument-type - :3380:7 - Argument to function `unzip2` is incorrect: Expected `Iterable[tuple[Unknown, Unknown]]`, found `map[Unknown | AbstractRef | TransformedRef]`

jax/_src/pallas/pipelining/schedulers.py

[error] invalid-return-type - :240:10 - Return type does not match returned value: expected `builtins.bool | Array`, found `Array | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 6 union elements`
[error] invalid-return-type - :302:10 - Return type does not match returned value: expected `builtins.bool | Array`, found `Array | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 6 union elements`

jax/_src/shard_map.py

[error] invalid-argument-type - :1393:29 - Argument to function `unzip2` is incorrect: Expected `Iterable[tuple[Unknown, Unknown]]`, found `list[Unknown | BatchTracer]`

jax/experimental/slab/djax.py

[warning] possibly-missing-attribute - :172:18 - Attribute `shape` may be missing on object of type `Unknown | int`

jax/experimental/slab/slab.py

[warning] possibly-missing-attribute - :337:18 - Attribute `shape` may be missing on object of type `Unknown | int`

jinja (https://github.com/pallets/jinja)

src/jinja2/environment.py

[error] invalid-return-type - :654:16 - Return type does not match returned value: expected `str`, found `Unknown | Extension | str`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/plugins/upstream/merge_authors.py

[warning] possibly-missing-attribute - :194:63 - Attribute `values` may be missing on object of type `Unknown | str | dict[Unknown, Unknown]`

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

pandas/tests/io/parser/test_multi_thread.py

[warning] possibly-missing-attribute - :120:14 - Attribute `columns` may be missing on object of type `Unknown | tuple[Unknown, Unknown]`
[error] invalid-assignment - :123:9 - Object of type `Unknown` is not assignable to attribute `columns` on type `Unknown | tuple[Unknown, Unknown]`

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

pandas-stubs/_typing.pyi

[warning] unused-ignore-comment - :1232:16 - Unused blanket `type: ignore` directive

tests/test_pandas.py

[error] no-matching-overload - :265:13 - No overload of function `concat` matches arguments

ppb-vector (https://github.com/ppb/ppb-vector)

ppb_vector/__init__.py

[error] invalid-argument-type - :468:13 - Argument to function `max` is incorrect: Argument type `Unknown | Vector | Sequence[SupportsFloat]` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`
[error] invalid-argument-type - :468:13 - Argument to function `max` is incorrect: Expected `int | float`, found `Unknown | Vector | Sequence[SupportsFloat]`

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

src/prefect/deployments/runner.py

[warning] possibly-missing-attribute - :795 -
Old: Attribute `__name__` may be missing on object of type `Unknown | ((...) -> Any)`
New: Attribute `__name__` may be missing on object of type `Unknown | (((...) -> Any) & ((*args: object, **kwargs: object) -> object))`

src/prefect/flow_engine.py

[error] invalid-argument-type - :1482:43 - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Unknown | R@run_generator_flow_sync`
[warning] possibly-missing-attribute - :1490:21 - Attribute `throw` may be missing on object of type `Unknown | R@run_generator_flow_sync`
[warning] possibly-missing-attribute - :1524:44 - Attribute `__anext__` may be missing on object of type `Unknown | R@run_generator_flow_async`
[warning] possibly-missing-attribute - :1531:25 - Attribute `throw` may be missing on object of type `Unknown | R@run_generator_flow_async`
[error] invalid-await - :812:32 - `Unknown | R@FlowRunEngine | Coroutine[Any, Any, R@FlowRunEngine]` is not awaitable
[error] invalid-await - :1401:24 - `Unknown | R@AsyncFlowRunEngine | Coroutine[Any, Any, R@AsyncFlowRunEngine]` is not awaitable

src/prefect/flows.py

[warning] unused-ignore-comment - :1750:53 - Unused blanket `type: ignore` directive
[error] unresolved-attribute - :286 -
Old: Object of type `(**P@Flow) -> R@Flow` has no attribute `__name__`
New: Object of type `((**P@Flow) -> R@Flow) & ((*args: object, **kwargs: object) -> object)` has no attribute `__name__`
[error] unresolved-attribute - :404 -
Old: Object of type `(**P@Flow) -> R@Flow` has no attribute `__name__`
New: Object of type `((**P@Flow) -> R@Flow) & ((*args: object, **kwargs: object) -> object)` has no attribute `__name__`

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

pwndbg/integration/__init__.py

[error] no-matching-overload - :955:19 - No overload of function `bisect_right` matches arguments
[error] no-matching-overload - :963:19 - No overload of function `bisect_right` matches arguments

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

scipy/signal/tests/test_ltisys.py

[warning] possibly-missing-attribute - :1005:28 - Attribute `shape` may be missing on object of type `Unknown | list[Unknown | list[Unknown | int | float]]`
[warning] possibly-missing-attribute - :1005:41 - Attribute `shape` may be missing on object of type `Unknown | list[Unknown | list[Unknown | int | float]]`
[warning] possibly-missing-attribute - :1022:28 - Attribute `shape` may be missing on object of type `Unknown | list[Unknown | list[Unknown | int | float]]`
[warning] possibly-missing-attribute - :1022:41 - Attribute `shape` may be missing on object of type `Unknown | list[Unknown | list[Unknown | int | float]]`

scipy/stats/_sensitivity_analysis.py

[error] invalid-argument-type - :718 -
Old: Argument is incorrect: Expected `(...) -> Unknown`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
New: Argument is incorrect: Expected `BootstrapResult | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
[error] invalid-argument-type - :718 -
Old: Argument is incorrect: Expected `BootstrapResult | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
New: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]] | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
[error] invalid-argument-type - :718 -
Old: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]] | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
New: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
[error] invalid-argument-type - :718:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :718:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :718:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :718:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :718:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`

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

lib/spack/spack/vendor/jinja2/environment.py

[error] invalid-return-type - :639:16 - Return type does not match returned value: expected `str`, found `Unknown | Extension | str`

static-frame (https://github.com/static-frame/static-frame)

static_frame/core/bus.py

[error] invalid-return-type - :671:16 - Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Bus[Any] | Bottom[Index[Any]] | Bottom[Series[Any, Any]] | ... omitted 6 union elements, object_]`
[error] invalid-return-type - :675 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Bus[Any] | Bottom[Index[Any]] | TypeBlocks | ... omitted 6 union elements, object_ | Self@iloc]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Self@iloc | Bus[Any], object_ | Self@iloc]`

static_frame/core/index.py

[error] invalid-return-type - :580 -
Old: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Bottom[Series[Any, Any]] | Any, TVDtype@Index]`
New: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Any | Bottom[Series[Any, Any]], TVDtype@Index]`

static_frame/core/node_selector.py

[error] invalid-return-type - :526 -
Old: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@InterfaceSelectQuartet, Any]`, found `InterGetItemLocReduces[Unknown | Bottom[Series[Any, Any]], Any]`
New: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@InterfaceSelectQuartet, Any]`, found `InterGetItemLocReduces[Bottom[Series[Any, Any]] | Unknown, Any]`

static_frame/core/series.py

[error] invalid-return-type - :772 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[Series[Any, Any], TVDtype@Series]`, found `InterGetItemILocReduces[Series[Any, Any] | TypeBlocks | Batch | ... omitted 6 union elements, TVDtype@Series]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Series[Any, Any], TVDtype@Series]`, found `InterGetItemILocReduces[Series[Any, Any] | Bottom[Index[Any]] | TypeBlocks | ... omitted 6 union elements, TVDtype@Series]`
[error] invalid-return-type - :4072 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | TypeBlocks | Batch | ... omitted 7 union elements, TVDtype@SeriesHE]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | ndarray[Never, Never] | TypeBlocks | ... omitted 7 union elements, TVDtype@SeriesHE]`

static_frame/core/yarn.py

[error] invalid-return-type - :418 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Yarn[Any] | TypeBlocks | Batch | ... omitted 6 union elements, object_]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Yarn[Any] | Bottom[Index[Any]] | TypeBlocks | ... omitted 6 union elements, object_]`

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

sympy/utilities/tests/test_codegen.py

[error] invalid-argument-type - :54:33 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Idx` on object of type `str`
[error] invalid-argument-type - :54:39 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Idx` on object of type `str`
[warning] possibly-missing-attribute - :55:52 - Attribute `label` may be missing on object of type `Unknown | str`
[warning] possibly-missing-attribute - :55:61 - Attribute `label` may be missing on object of type `Unknown | str`

vision (https://github.com/pytorch/vision)

references/depth/stereo/transforms.py

[error] invalid-return-type - :124:16 - Return type does not match returned value: expected `tuple[tuple[Unknown, Unknown], tuple[Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None, Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None], tuple[Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None, Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None]]`, found `tuple[tuple[Unknown, ...], tuple[Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None, ...], tuple[Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None, ...]]`

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

zerver/lib/message.py

[error] invalid-argument-type - :297:9 - Argument to function `generic_bulk_cached_fetch` is incorrect: Expected `(int | Unknown | dict[str, Any], /) -> str`, found `def to_dict_cache_key_id(message_id: int) -> str`
[error] invalid-argument-type - :298:9 - Argument to function `generic_bulk_cached_fetch` is incorrect: Expected `(list[int | Unknown | dict[str, Any]], /) -> Iterable[dict[str, Any] | Unknown]`, found `def ids_to_dict(needed_ids: list[int]) -> list[dict[str, Any]]`