Ecosystem report

Old: main (merge base) 4abc5fe2 New: 22148/merge 5ceb502e
Lint Rule Removed Added Changed
Total 42 6 27
invalid-assignment 28 0 9
invalid-argument-type 12 1 3
invalid-await 0 2 6
invalid-return-type 0 0 6
possibly-missing-attribute 0 3 1
unresolved-attribute 0 0 2
not-subscriptable 1 0 0
unused-ignore-comment 1 0 0
Project Removed Added Changed
Total 42 6 27
prefect 3 6 22
dd-trace-py 13 0 1
core 7 0 0
zulip 7 0 0
freqtrade 3 0 0
materialize 2 0 0
static-frame 0 0 2
PyWinCtl 1 0 0
Tanjun 0 0 1
cwltool 1 0 0
hydpy 1 0 0
mypy 1 0 0
paroxython 1 0 0
pip 1 0 0
spack 0 0 1
urllib3 1 0 0

PyWinCtl (https://github.com/Kalmat/PyWinCtl)

src/pywinctl/_pywinctl_linux.py

[error] invalid-assignment - :307:13 - Invalid subscript assignment with key of type `Unknown` and value of type `dict[Unknown | str, Unknown | dict[Unknown, Unknown]]` on object of type `dict[str, _WINDICT]`

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

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

homeassistant/components/media_player/__init__.py

[error] invalid-assignment - :1210:13 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | Lock]` on object of type `OrderedDict[str, _CacheImage]`

homeassistant/components/recorder/statistics.py

[error] invalid-assignment - :555:13 - Invalid subscript assignment with key of type `Unknown` and value of type `dict[Unknown | str, Unknown | int | float]` on object of type `dict[int, StatisticDataTimestamp]`
[error] invalid-assignment - :579:17 - Invalid subscript assignment with key of type `Unknown` and value of type `dict[Unknown | str, Unknown | int | float]` on object of type `dict[int, StatisticDataTimestamp]`

homeassistant/components/sensor/recorder.py

[error] invalid-assignment - :830:9 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | StatisticMeanType | bool | None | str]` on object of type `dict[str, StatisticMetaData]`

homeassistant/components/thread/diagnostics.py

[error] invalid-assignment - :93:9 - Invalid subscript assignment with key of type `Unknown` and value of type `dict[Unknown | str, Unknown | bool]` on object of type `dict[str, Route]`
[error] invalid-assignment - :179:18 - Invalid subscript assignment with key of type `str & ~AlwaysFalsy` and value of type `dict[Unknown | str, Unknown | str | (list[str] & ~AlwaysFalsy) | ... omitted 3 union elements]` on object of type `dict[str, Router]`

homeassistant/components/traccar_server/coordinator.py

[error] invalid-assignment - :136:13 - Invalid subscript assignment with key of type `Unknown` and value of type `dict[Unknown | str, Unknown | None | dict[str, Any]]` on object of type `dict[int, TraccarServerCoordinatorDataDevice]`

cwltool (https://github.com/common-workflow-language/cwltool)

cwltool/cwlprov/ro.py

[error] invalid-assignment - :263:13 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str | None]` on object of type `dict[str, Aggregate]`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

ddtrace/contrib/internal/ray/span_manager.py

[error] invalid-assignment - :214 -
Old: Invalid subscript assignment with key of type `None | str` and value of type `dict[Unknown, Unknown]` on object of type `dict[str, dict[tuple[int, int], Span]]`
New: Invalid subscript assignment with key of type `None | str` and value of type `dict[tuple[int, int], Span]` on object of type `dict[str, dict[tuple[int, int], Span]]`

ddtrace/internal/remoteconfig/client.py

[error] invalid-argument-type - :110:36 - Argument expression after ** must be a mapping with `str` key type: Found `object`
[error] invalid-argument-type - :110:36 - Argument is incorrect: Expected `Mapping[Unknown, Unknown]`, found `object`
[error] invalid-argument-type - :110:36 - Argument is incorrect: Expected `list[str]`, found `object`
[error] invalid-argument-type - :110:36 - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - :110:36 - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - :113:38 - Argument expression after ** must be a mapping with `str` key type: Found `object`
[error] invalid-argument-type - :113:38 - Argument is incorrect: Expected `int`, found `object`
[error] invalid-argument-type - :113:38 - Argument is incorrect: Expected `list[str]`, found `object`
[error] invalid-argument-type - :152:46 - Argument expression after ** must be a mapping with `str` key type: Found `object`
[error] invalid-argument-type - :152:46 - Argument is incorrect: Expected `Mapping[str, Any]`, found `object`
[error] invalid-argument-type - :152:46 - Argument is incorrect: Expected `Mapping[str, str]`, found `object`
[error] invalid-argument-type - :152:46 - Argument is incorrect: Expected `int`, found `object`

ddtrace/llmobs/_experiment.py

[error] invalid-assignment - :216:9 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str]` on object of type `dict[str, UpdatableDatasetRecord]`

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

freqtrade/rpc/api_server/api_download_data.py

[error] invalid-assignment - :32:17 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown]` on object of type `dict[str, ProgressTask]`
[error] invalid-assignment - :73:5 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str | None | dict[Unknown, Unknown] | bool]` on object of type `dict[str, JobsContainer]`

freqtrade/rpc/api_server/api_pairlists.py

[error] invalid-assignment - :92:5 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str | None | bool | dict[Unknown, Unknown]]` on object of type `dict[str, JobsContainer]`

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

hydpy/core/threadingtools.py

[error] invalid-assignment - :261:21 - Invalid subscript assignment with key of type `Node` and value of type `list[Element]` on object of type `dict[Node | Element, list[Node | Element]]`

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

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

[error] invalid-assignment - :205:13 - Invalid subscript assignment with key of type `Literal["azurite", "minio"]` and value of type `dict[Unknown | str, Unknown | str]` on object of type `dict[str, ServiceDependency]`
[error] invalid-assignment - :251:13 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str]` on object of type `dict[str, ServiceDependency]`

mypy (https://github.com/python/mypy)

mypy/build.py

[error] invalid-assignment - :1176:13 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | (str & ~AlwaysFalsy) | int]` on object of type `dict[str, FgDepMeta]`

paroxython (https://github.com/laowantong/paroxython)

paroxython/make_db.py

[error] invalid-assignment - :91:13 - Invalid subscript assignment with key of type `ProgramPath` and value of type `dict[Unknown | str, Unknown | Source | dict[LabelName, list[tuple[int, int]]] | dict[TaxonName, list[tuple[int, int]]]]` on object of type `dict[ProgramPath, ProgramRecord]`

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

src/pip/_internal/commands/search.py

[error] invalid-assignment - :101:13 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str | list[Unknown | str]]` on object of type `OrderedDict[str, TransformedHit]`

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, None | Unknown]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :535 -
Old: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :610 -
Old: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :685 -
Old: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :760 -
Old: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :835 -
Old: `Unknown | None | Coroutine[Any, Any, None | Unknown]` is not awaitable
New: `Unknown | None | Coroutine[Any, Any, Unknown | None]` 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] | str | ... omitted 4 union elements` 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 | str | int | ... omitted 4 union elements` 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/_actions.py

[error] invalid-assignment - :193 -
Old: Invalid subscript assignment with key of type `Literal["push"]` and value of type `list[Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | None]]]` on object of type `list[dict[str, Any]]`
New: Invalid subscript assignment with key of type `Literal["push"]` and value of type `list[dict[str, Any]] & list[Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | None]]]` on object of type `list[dict[str, Any]]`
[error] invalid-assignment - :201 -
Old: Invalid subscript assignment with key of type `Literal["pull"]` and value of type `list[Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | None]]]` on object of type `list[dict[str, Any]]`
New: Invalid subscript assignment with key of type `Literal["pull"]` and value of type `list[dict[str, Any]] & list[Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | None]]]` on object of type `list[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] | str | ... omitted 4 union elements` 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 | str | int | ... omitted 4 union elements` 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] | str | ... omitted 4 union elements`
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/locking/filesystem.py

[error] invalid-assignment - :138:9 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str | datetime | None | Path]` on object of type `dict[str, _LockInfo]`
[error] invalid-assignment - :187:9 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | str | datetime | None | Path]` on object of type `dict[str, _LockInfo]`

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] | str | ... 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 | 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] | str | ... 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 | 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 | str | int | ... omitted 5 union elements]`
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 | str | int | ... omitted 5 union elements]`
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] | str | ... omitted 4 union elements`
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 | str | int | ... omitted 4 union elements`
New: Argument expression after ** must be a mapping type: Found `int | T@resolve_variables | float | ... omitted 4 union elements`

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

lib/spack/spack/environment/environment.py

[error] invalid-assignment - :1299 -
Old: Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | list[Unknown] | dict[Unknown, Unknown]]` on object of type `dict[str, dict[str, list[str]]]`
New: Invalid subscript assignment with key of type `str` and value of type `dict[str, list[str] | dict[Unknown, Unknown]]` on object of type `dict[str, dict[str, list[str]]]`

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

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

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

src/urllib3/contrib/emscripten/fetch.py

[error] not-subscriptable - :400:34 - Cannot subscript object of type `None` with no `__getitem__` method

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

zerver/lib/message.py

[error] invalid-assignment - :1016:13 - Invalid subscript assignment with key of type `Any` and value of type `dict[str, Any]` on object of type `dict[int, RawUnreadStreamDict]`
[error] invalid-assignment - :1029:13 - Invalid subscript assignment with key of type `Any` and value of type `dict[str, Any]` on object of type `dict[int, RawUnreadDirectMessageDict]`
[error] invalid-assignment - :1048:17 - Invalid subscript assignment with key of type `Any` and value of type `dict[str, int | Unknown]` on object of type `dict[int, RawUnreadDirectMessageDict]`
[error] invalid-assignment - :1052:17 - Invalid subscript assignment with key of type `Any` and value of type `dict[str, str]` on object of type `dict[int, RawUnreadDirectMessageGroupDict]`

zerver/tornado/event_queue.py

[error] invalid-assignment - :1030:13 - Invalid subscript assignment with key of type `Unknown | str` and value of type `dict[str, ClientDescriptor | list[Unknown] | bool]` on object of type `dict[str, ClientInfo]`
[error] invalid-assignment - :1041:13 - Invalid subscript assignment with key of type `Unknown | str` and value of type `dict[str, ClientDescriptor | Any | bool]` on object of type `dict[str, ClientInfo]`

zilencer/views.py

[error] invalid-assignment - :1734:9 - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown | str, Unknown | int | None]` on object of type `dict[str, RemoteRealmDictValue]`