Ecosystem report

Old: main (merge base) 4c7d1f50 New: 22586/merge 4e6bad53
Lint Rule Removed Added Changed
Total 9 6 12
invalid-return-type 4 1 4
invalid-argument-type 2 1 3
invalid-assignment 0 0 5
unused-ignore-comment 0 4 0
unresolved-attribute 3 0 0
Project Removed Added Changed
Total 9 6 12
prefect 0 0 11
rotki 2 3 0
static-frame 4 0 1
strawberry 3 2 0
core 0 1 0

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

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]`

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

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

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

src/prefect/cli/deploy/_core.py

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

src/prefect/deployments/steps/core.py

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

src/prefect/utilities/templating.py

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

src/prefect/workers/base.py

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

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`

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[Series[Any, Any]] | 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[Bus[Any] | IndexHierarchy | TypeBlocks | ... omitted 7 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/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] | IndexHierarchy | TypeBlocks | ... 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]] | IndexHierarchy | 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] | Bottom[Index[Any]] | Bottom[Series[Any, Any]] | ... omitted 7 union elements, object_]`

strawberry (https://github.com/strawberry-graphql/strawberry)

strawberry/experimental/pydantic/error_type.py

[warning] unused-ignore-comment - :149:37 - Unused blanket `type: ignore` directive

strawberry/experimental/pydantic/object_type.py

[warning] unused-ignore-comment - :255:24 - Unused blanket `type: ignore` directive
[error] unresolved-attribute - :271:9 - Unresolved attribute `_pydantic_type` on type `type`
[error] unresolved-attribute - :293:13 - Unresolved attribute `from_pydantic` on type `type`
[error] unresolved-attribute - :295:13 - Unresolved attribute `to_pydantic` on type `type`