Ecosystem report

Old: main (merge base) a559275c New: 22488/merge 847eb7a5
Lint Rule Removed Added Changed
Total 9 3 17
invalid-argument-type 2 2 3
invalid-return-type 0 0 6
invalid-assignment 0 0 5
possibly-missing-attribute 3 0 1
unused-ignore-comment 2 1 0
invalid-await 2 0 0
unresolved-attribute 0 0 2
Project Removed Added Changed
Total 9 3 17
prefect 6 1 14
rotki 3 2 0
static-frame 0 0 2
Tanjun 0 0 1

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 `_T@cached_inject | Coroutine[Any, Any, _T@cached_inject | Coroutine[Any, Any, _T@cached_inject]]`
New: 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`

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 | int | dict[str, Any] | ... 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 `T@resolve_block_document_references | int | dict[str, Any] | ... 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/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 | int | dict[str, Any] | ... omitted 4 union elements`
New: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`

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

src/prefect/workers/base.py

[error] invalid-argument-type - :232 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | int | dict[str, Any] | ... 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

[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/bus.py

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

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[Any | Bottom[Series[Any, Any]], TVDtype@Index]`
New: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Bottom[Series[Any, Any]] | Any, TVDtype@Index]`