Ecosystem report

Old: main (merge base) f516d47c New: 22781/merge 9fc3e27a
Lint Rule Removed Added Changed
Total 5 29 27
invalid-argument-type 4 15 3
invalid-return-type 0 5 5
invalid-assignment 0 2 6
invalid-await 0 2 6
possibly-missing-attribute 0 3 3
unused-ignore-comment 1 2 0
not-subscriptable 0 0 2
unresolved-attribute 0 0 2
Project Removed Added Changed
Total 5 29 27
prefect 1 6 20
meson 0 9 0
core 0 1 4
rotki 2 3 0
static-frame 0 4 1
materialize 2 0 0
pyjwt 0 0 2
setuptools 0 2 0
cki-lib 0 1 0
hydra-zen 0 1 0
pandas 0 1 0
pydantic 0 1 0

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

tests/kcidb/test_validate.py

[error] invalid-argument-type - :200:40 - Argument expression after ** must be a mapping type: Found `Unknown | str | dict[Unknown | str, Unknown | int | list[Unknown | dict[Unknown | str, Unknown | str]] | ... omitted 3 union elements]`

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

homeassistant/components/risco/config_flow.py

[error] not-subscriptable - :272 -
Old: Cannot subscript object of type `int` with no `__getitem__` method
New: Cannot subscript object of type `bool` with no `__getitem__` method
[warning] possibly-missing-attribute - :294 -
Old: Attribute `values` may be missing on object of type `Unknown | int | dict[Unknown | str, Unknown | AlarmControlPanelState] | dict[Unknown | AlarmControlPanelState, Unknown | str]`
New: Attribute `values` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown | AlarmControlPanelState] | dict[Unknown | AlarmControlPanelState, Unknown | str] | Divergent`
[error] not-subscriptable - :300 -
Old: Cannot subscript object of type `int` with no `__getitem__` method
New: Cannot subscript object of type `bool` with no `__getitem__` method
[warning] possibly-missing-attribute - :302 -
Old: Attribute `get` may be missing on object of type `Unknown | int | dict[Unknown | str, Unknown | AlarmControlPanelState] | dict[Unknown | AlarmControlPanelState, Unknown | str]`
New: Attribute `get` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown | AlarmControlPanelState] | dict[Unknown | AlarmControlPanelState, Unknown | str] | Divergent`

homeassistant/util/variance.py

[error] invalid-return-type - :47:12 - Return type does not match returned value: expected `(**_P@ignore_variance) -> _R@ignore_variance`, found `_Wrapped[_P@ignore_variance, int | _R@ignore_variance | float | datetime, _P@ignore_variance, _R@ignore_variance | int | float | datetime]`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-assignment - :2181:82 - Object of type `object` is not assignable to `((str, /) -> bool) | Collection[str | int]`

materialize (https://github.com/MaterializeInc/materialize)

misc/python/materialize/mzcompose/services/kafka.py

[error] invalid-argument-type - :66:27 - Invalid argument to key "depends_on" with declared type `list[str] | dict[str, ServiceDependency]` on TypedDict `ServiceConfig`: value of type `dict[str | Unknown, ServiceDependency | Unknown | dict[Unknown | str, Unknown | str]]`

misc/python/materialize/mzcompose/services/schema_registry.py

[error] invalid-argument-type - :45:27 - Invalid argument to key "depends_on" with declared type `list[str] | dict[str, ServiceDependency]` on TypedDict `ServiceConfig`: value of type `dict[str | Unknown, ServiceDependency | Unknown | dict[Unknown | str, Unknown | str]]`

meson (https://github.com/mesonbuild/meson)

docs/refman/loaderyaml.py

[error] invalid-argument-type - :205:47 - Argument is incorrect: Expected `Type`, found `Unknown | str`
[error] invalid-argument-type - :212:47 - Argument is incorrect: Expected `Type`, found `Unknown | str`
[error] invalid-argument-type - :218:30 - Argument is incorrect: Expected `str`, found `Unknown | bool | str`
[error] invalid-argument-type - :219:46 - Argument is incorrect: Expected `Type`, found `Unknown | bool | str`
[error] invalid-argument-type - :219:46 - Argument is incorrect: Expected `bool`, found `Unknown | bool | str`
[error] invalid-argument-type - :219:46 - Argument is incorrect: Expected `str`, found `Unknown | bool | str`
[error] invalid-argument-type - :219:46 - Argument is incorrect: Expected `str`, found `Unknown | bool | str`
[error] invalid-argument-type - :219:46 - Argument is incorrect: Expected `str`, found `Unknown | bool | str`
[error] invalid-argument-type - :219:46 - Argument is incorrect: Expected `str`, found `Unknown | bool | str`

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

pandas/io/formats/style.py

[error] invalid-argument-type - :2828:27 - Argument expression after ** must be a mapping type: Found `Unknown | None | dict[Unknown | str, Unknown | str]`

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

src/integrations/prefect-dbt/prefect_dbt/cli/commands.py

[error] invalid-await - :461 -
Old: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
[error] invalid-await - :535 -
Old: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
[error] invalid-await - :610 -
Old: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
[error] invalid-await - :685 -
Old: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
[error] invalid-await - :760 -
Old: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
[error] invalid-await - :835 -
Old: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable

src/integrations/prefect-dbt/prefect_dbt/core/settings.py

[error] invalid-assignment - :94 -
Old: Object of type `T@resolve_block_document_references | dict[str, Any]` is not assignable to `dict[str, Any]`
New: Object of type `T@resolve_block_document_references | int | dict[str, Any] | ... omitted 4 union elements` is not assignable to `dict[str, Any]`
[error] invalid-assignment - :99 -
Old: Object of type `T@resolve_variables | dict[str, Any]` is not assignable to `dict[str, Any]`
New: Object of type `int | T@resolve_variables | float | ... omitted 4 union elements` is not assignable to `dict[str, Any]`

src/prefect/cli/deploy/_core.py

[error] invalid-assignment - :86 -
Old: Object of type `T@resolve_block_document_references | dict[str, Any]` is not assignable to `dict[str, Any]`
New: Object of type `T@resolve_block_document_references | int | dict[str, Any] | ... omitted 4 union elements` is not assignable to `dict[str, Any]`
[error] invalid-assignment - :87 -
Old: Object of type `T@resolve_variables` is not assignable to `dict[str, Any]`
New: Object of type `int | T@resolve_variables | float | ... omitted 4 union elements` is not assignable to `dict[str, Any]`

src/prefect/deployments/runner.py

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

src/prefect/deployments/steps/core.py

[error] invalid-argument-type - :137 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`
New: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | int | dict[str, Any] | ... omitted 4 union elements`

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) & ((*args: object, **kwargs: object) -> object)` has no attribute `__name__`
New: Object of type `(**P@Flow) -> R@Flow` has no attribute `__name__`
[error] unresolved-attribute - :404 -
Old: Object of type `((**P@Flow) -> R@Flow) & ((*args: object, **kwargs: object) -> object)` has no attribute `__name__`
New: Object of type `(**P@Flow) -> R@Flow` has no attribute `__name__`

src/prefect/utilities/templating.py

[error] invalid-assignment - :320 -
Old: Invalid subscript assignment with key of type `object` and value of type `T@resolve_block_document_references | dict[str, Any]` on object of type `dict[str, Any]`
New: Invalid subscript assignment with key of type `object` and value of type `T@resolve_block_document_references | int | dict[str, Any] | ... omitted 4 union elements` on object of type `dict[str, Any]`
[error] invalid-return-type - :323 -
Old: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[Unknown | T@resolve_block_document_references | dict[str, Any]]`
New: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[Unknown | T@resolve_block_document_references | int | ... omitted 5 union elements]`
[error] invalid-return-type - :437 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown | T@resolve_variables]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown | int | T@resolve_variables | ... omitted 5 union elements]`
[error] invalid-return-type - :442 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `list[Unknown | T@resolve_variables]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `list[Unknown | int | T@resolve_variables | ... omitted 5 union elements]`

src/prefect/workers/base.py

[error] invalid-argument-type - :232 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`
New: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | int | dict[str, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :234 -
Old: Argument expression after ** must be a mapping type: Found `T@resolve_variables`
New: Argument expression after ** must be a mapping type: Found `int | T@resolve_variables | float | ... omitted 4 union elements`

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

pydantic/_internal/_core_metadata.py

[error] invalid-assignment - :87:54 - Invalid assignment to key "pydantic_js_extra" with declared type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | ((dict[str, Divergent], type[Any], /) -> None)` on TypedDict `CoreMetadata`: value of type `dict[object, object]`

pyjwt (https://github.com/jpadilla/pyjwt)

jwt/api_jws.py

[error] invalid-assignment - :50 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `options` of type `SigOptions`
New: Object of type `dict[Unknown | str, Unknown | bool]` is not assignable to attribute `options` of type `SigOptions`

jwt/api_jwt.py

[error] invalid-return-type - :83 -
Old: Return type does not match returned value: expected `FullOptions`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `FullOptions`, found `dict[Unknown | str, Unknown]`

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

rotkehlchen/chain/decoding/tools.py

[warning] unused-ignore-comment - :96:44 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :99:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `Sequence[A@BaseDecoderTools]`, found `Unknown | tuple[BTCAddress, ...] | tuple[ChecksumAddress, ...] | tuple[SubstrateAddress, ...] | tuple[SolanaAddress, ...]`
[warning] unused-ignore-comment - :100:62 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :98:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress | None`, found `A@BaseDecoderTools | None`
[error] invalid-argument-type - :97:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress`, found `A@BaseDecoderTools`

setuptools (https://github.com/pypa/setuptools)

setuptools/tests/test_build_py.py

[error] invalid-argument-type - :424:15 - Argument expression after ** must be a mapping type: Found `Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]] | set[Unknown | str] | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str] | str]]`
[error] invalid-argument-type - :438:15 - Argument expression after ** must be a mapping type: Found `Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]] | set[Unknown | str] | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str] | 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] | IndexHierarchy | TypeBlocks | ... 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[Self@iloc | Bus[Any], object_ | Self@iloc]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Bus[Any] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, object_ | Self@iloc]`

static_frame/core/series.py

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

static_frame/core/yarn.py

[error] invalid-return-type - :418:16 - Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Yarn[Any] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, object_]`