Ecosystem report

Old: main (merge base) fde7d72f New: 22553/merge 5c14a620
Lint Rule Removed Added Changed
Total 10 18 18
invalid-assignment 0 5 5
invalid-return-type 0 1 7
invalid-argument-type 2 2 3
possibly-unresolved-reference 0 6 0
unused-ignore-comment 3 2 0
possibly-missing-attribute 3 0 1
invalid-await 2 0 0
unresolved-attribute 0 0 2
redundant-cast 0 1 0
unsupported-operator 0 1 0
Project Removed Added Changed
Total 10 18 18
prefect 6 1 14
core 0 11 0
rotki 3 2 0
static-frame 0 1 3
Tanjun 0 0 1
archinstall 0 1 0
manticore 1 0 0
mkdocs 0 1 0
pandas-stubs 0 1 0

Tanjun (https://github.com/FasterSpeeding/Tanjun)

tanjun/dependencies/data.py

[error] invalid-return-type - :347 -
Old: Return type does not match returned value: expected `_T@cached_inject`, found `Coroutine[Any, Any, _T@cached_inject | Coroutine[Any, Any, _T@cached_inject]] | _T@cached_inject`
New: Return type does not match returned value: expected `_T@cached_inject`, found `_T@cached_inject | Coroutine[Any, Any, _T@cached_inject | Coroutine[Any, Any, _T@cached_inject]]`

archinstall (https://github.com/archlinux/archinstall)

archinstall/tui/ui/result.py

[warning] redundant-cast - :26:10 - Value is already of type `list[ValueT@Result]`

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

homeassistant/components/influxdb/__init__.py

[error] unsupported-operator - :559:27 - Operator `-` is not supported between objects of type `int | float` and `object`

homeassistant/components/websocket_api/connection.py

[warning] possibly-unresolved-reference - :212:12 - Name `cur_id` used when possibly not defined
[warning] possibly-unresolved-reference - :215:21 - Name `cur_id` used when possibly not defined
[warning] possibly-unresolved-reference - :220:53 - Name `type_` used when possibly not defined
[warning] possibly-unresolved-reference - :221:62 - Name `type_` used when possibly not defined
[warning] possibly-unresolved-reference - :224:21 - Name `cur_id` used when possibly not defined
[warning] possibly-unresolved-reference - :241:24 - Name `cur_id` used when possibly not defined

homeassistant/core.py

[error] invalid-assignment - :1795:13 - Object of type `Mapping[str, Any] & Top[ReadOnlyDict[Unknown, Unknown]]` is not assignable to attribute `attributes` of type `ReadOnlyDict[str, Any]`

homeassistant/helpers/entity_platform.py

[error] invalid-assignment - :547:34 - Object of type `Iterable[Entity] & Top[list[Unknown]]` is not assignable to `list[Entity]`
[error] invalid-assignment - :572:34 - Object of type `Iterable[Entity] & Top[list[Unknown]]` is not assignable to `list[Entity]`
[error] invalid-assignment - :720:34 - Object of type `Iterable[Entity] & Top[list[Unknown]]` is not assignable to `list[Entity]`

manticore (https://github.com/trailofbits/manticore)

manticore/native/cpu/abstractcpu.py

[warning] unused-ignore-comment - :350:36 - Unused blanket `type: ignore` directive

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

mkdocs/config/config_options.py

[error] invalid-assignment - :95:17 - Object of type `partial[Config]` is not assignable to attribute `config_class` of type `type[SomeConfig@SubConfig]`

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

pandas-stubs/_typing.pyi

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

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

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)`
New: Attribute `__name__` may be missing on object of type `Unknown | (((...) -> Any) & ((*args: object, **kwargs: object) -> object))`

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

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

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

rotkehlchen/chain/decoding/tools.py

[error] invalid-argument-type - :98:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress | None`, found `A@BaseDecoderTools | None`
[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 - :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/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/series.py

[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]] | ndarray[Never, Never] | TypeBlocks | ... omitted 7 union elements, TVDtype@SeriesHE]`
[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] | ndarray[Never, Never] | TypeBlocks | ... 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]`

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] | ndarray[Never, Never] | TypeBlocks | ... 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_]`