Ecosystem report

Old: main (merge base) 76854fdb New: 22068/merge 65527567
Lint Rule Removed Added Changed
Total 16 24 57
invalid-return-type 1 4 22
invalid-assignment 0 0 23
invalid-argument-type 4 6 10
no-matching-overload 3 6 0
possibly-missing-attribute 6 2 0
type-assertion-failure 1 2 2
unused-ignore-comment 0 3 0
non-subscriptable 0 1 0
unsupported-operator 1 0 0
Project Removed Added Changed
Total 16 24 57
prefect 1 1 16
pandas 6 7 4
Expression 0 2 11
static-frame 1 2 8
scrapy 0 0 8
pandas-stubs 1 2 2
cloud-init 0 3 0
core 3 0 0
jax 0 3 0
xarray 2 1 0
beartype 0 2 0
pandera 0 0 2
Tanjun 0 0 1
anyio 0 0 1
dd-trace-py 0 0 1
discord.py 0 1 0
freqtrade 0 0 1
mongo-python-driver 1 0 0
mypy 0 0 1
openlibrary 1 0 0

Expression (https://github.com/cognitedata/Expression)

expression/collections/array.py

[error] invalid-return-type - :442 -
Old: Return type does not match returned value: expected `TypedArray[_TSource@TypedArray]`, found `TypedArray[_TSource@TypedArray] | Unknown | _TState@unfold`
New: Return type does not match returned value: expected `TypedArray[_TSource@TypedArray]`, found `Unknown | _TState@unfold | TypedArray[_TSource@TypedArray]`

expression/collections/block.py

[error] invalid-return-type - :486 -
Old: Return type does not match returned value: expected `Block[_TSource@Block]`, found `Block[_TSource@Block] | Unknown | _TState@unfold`
New: Return type does not match returned value: expected `Block[_TSource@Block]`, found `Unknown | _TState@unfold | Block[_TSource@Block]`
[error] invalid-return-type - :595 -
Old: Return type does not match returned value: expected `Block[_TSource@concat]`, found `Block[_TSource@concat] | Unknown | Iterable[Block[_TSource@concat]]`
New: Return type does not match returned value: expected `Block[_TSource@concat]`, found `Unknown | Iterable[Block[_TSource@concat]] | Block[_TSource@concat]`

expression/core/result.py

[error] invalid-return-type - :121 -
Old: Return type does not match returned value: expected `Result[_TResult@map2, _TErrorOut@Result]`, found `Result[_TResult@map2 | Unknown | _TOther@map2, _TErrorOut@Result]`
New: Return type does not match returned value: expected `Result[_TResult@map2, _TErrorOut@Result]`, found `Result[Unknown | _TOther@map2 | _TResult@map2, _TErrorOut@Result]`

expression/effect/result.py

[error] invalid-return-type - :33 -
Old: Return type does not match returned value: expected `Result[_TResult@bind, _TError@ResultBuilder]`, found `Result[_TResult@bind, _TError@ResultBuilder] | Unknown | Result[_TSource@ResultBuilder, _TError@ResultBuilder]`
New: Return type does not match returned value: expected `Result[_TResult@bind, _TError@ResultBuilder]`, found `Unknown | Result[_TSource@ResultBuilder, _TError@ResultBuilder] | Result[_TResult@bind, _TError@ResultBuilder]`

tests/test_array.py

[error] invalid-assignment - :47 -
Old: Object of type `TypedArray[str] | Unknown | TypedArray[Unknown | int]` is not assignable to `TypedArray[str]`
New: Object of type `Unknown | TypedArray[Unknown | int] | TypedArray[str]` is not assignable to `TypedArray[str]`
[error] invalid-assignment - :58 -
Old: Object of type `TypedArray[uint8] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[uint8]`
New: Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[uint8]` is not assignable to `TypedArray[uint8]`
[error] invalid-assignment - :69 -
Old: Object of type `TypedArray[uint16] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[uint16]`
New: Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[uint16]` is not assignable to `TypedArray[uint16]`
[error] invalid-assignment - :80 -
Old: Object of type `TypedArray[uint32] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[uint32]`
New: Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[uint32]` is not assignable to `TypedArray[uint32]`
[error] invalid-assignment - :91 -
Old: Object of type `TypedArray[float32] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[float32]`
New: Object of type `Unknown | TypedArray[Unknown | str] | TypedArray[float32]` is not assignable to `TypedArray[float32]`
[error] invalid-assignment - :99 -
Old: Object of type `TypedArray[int16] | Unknown | TypedArray[Unknown | int]` is not assignable to `TypedArray[int16]`
New: Object of type `Unknown | TypedArray[Unknown | int] | TypedArray[int16]` is not assignable to `TypedArray[int16]`

tests/test_result.py

[error] invalid-argument-type - :491:21 - Argument to bound method `or_else` is incorrect: Expected `Result[Literal[42], Any]`, found `Result[Literal[0, 42], Any]`
[error] invalid-argument-type - :509:21 - Argument to bound method `or_else` is incorrect: Expected `Result[Any, Literal["original error"]]`, found `Result[Any, Literal["new error", "original error"]]`

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

tanjun/context/menu.py

[error] invalid-assignment - :57 -
Old: Object of type `frozenset[CommandType | Unknown]` is not assignable to `frozenset[Literal[CommandType.USER, CommandType.MESSAGE]]`
New: Object of type `frozenset[Unknown | CommandType]` is not assignable to `frozenset[Literal[CommandType.USER, CommandType.MESSAGE]]`

anyio (https://github.com/agronholm/anyio)

src/anyio/_backends/_asyncio.py

[error] invalid-assignment - :2564 -
Old: Object of type `Future[T_Retval@run_async_from_thread] | Future[_T@run_coroutine_threadsafe]` is not assignable to `Future[T_Retval@run_async_from_thread]`
New: Object of type `Future[_T@run_coroutine_threadsafe] | Future[T_Retval@run_async_from_thread]` is not assignable to `Future[T_Retval@run_async_from_thread]`

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

beartype/claw/_ast/_kind/clawastimport.py

[warning] unused-ignore-comment - :622:68 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :631:72 - Unused blanket `type: ignore` directive

cloud-init (https://github.com/canonical/cloud-init)

tests/unittests/sources/test_lxd.py

[error] non-subscriptable - :40:5 - Cannot subscript object of type `int` with no `__getitem__` method

tests/unittests/test_net.py

[warning] possibly-missing-attribute - :5345:41 - Attribute `keys` may be missing on object of type `Unknown | list[Unknown | str] | dict[Unknown | str, Unknown | str | None] | dict[Unknown, Unknown]`
[warning] possibly-missing-attribute - :5502:41 - Attribute `keys` may be missing on object of type `Unknown | list[Unknown | str] | dict[Unknown | str, Unknown | str | None] | dict[Unknown | str, Unknown | str]`

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

homeassistant/components/tado/climate.py

[error] unsupported-operator - :813:20 - Operator `in` is not supported between objects of type `str | None` and `@Todo | str | list[Unknown]`

homeassistant/core.py

[error] invalid-argument-type - :1668:33 - Argument to bound method `__init__` is incorrect: Expected `(Event[Mapping[str, Any]], /) -> Coroutine[Any, Any, None] | None`, found `(Event[_DataT@async_listen_once], /) -> Coroutine[Any, Any, None] | None`

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, _R@ignore_variance | int | float | datetime, _P@ignore_variance, _R@ignore_variance | int | float | datetime]`

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

tests/testing/mocks.py

[error] invalid-argument-type - :668 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[dict[str, Any]]`, found `Iterable[dict[str, Any]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[dict[str, Any]]`

discord.py (https://github.com/Rapptz/discord.py)

discord/interactions.py

[error] invalid-return-type - :386:16 - Return type does not match returned value: expected `InteractionResponse[ClientT@Interaction]`, found `InteractionResponse[Client]`

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

freqtrade/optimize/analysis/lookahead.py

[error] invalid-argument-type - :48 -
Old: Argument to bound method `backtest` is incorrect: Expected `dict[Unknown, Unknown]`, found `dict[Unknown, Unknown] | DataFrame`
New: Argument to bound method `backtest` is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame | dict[Unknown, Unknown]`

jax (https://github.com/google/jax)

jax/_src/tree_util.py

[error] invalid-argument-type - :295:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`
[error] invalid-argument-type - :298:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`
[error] invalid-argument-type - :301:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)

pymongo/synchronous/database.py

[error] no-matching-overload - :938:20 - No overload of bound method `_command` matches arguments

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

mypyc/irbuild/util.py

[error] invalid-assignment - :35 -
Old: Object of type `frozenset[str | Unknown]` is not assignable to `frozenset[Literal["native_class", "allow_interpreted_subclasses", "serializable", "free_list_len"]]`
New: Object of type `frozenset[Unknown | str]` is not assignable to `frozenset[Literal["native_class", "allow_interpreted_subclasses", "serializable", "free_list_len"]]`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/plugins/upstream/mybooks.py

[error] invalid-argument-type - :477:13 - Argument to function `__new__` is incorrect: Expected `SupportsKeysAndGetItem[Literal["want-to-read", "already-read", "currently-reading"], Literal["Want to Read", "Already Read", "Currently Reading"]]`, found `dict[Unknown | str, Unknown | str]`

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

pandas/core/algorithms.py

[warning] possibly-missing-attribute - :551:30 - Attribute `dtype` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`
[warning] possibly-missing-attribute - :555:30 - Attribute `dtype` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`
[warning] possibly-missing-attribute - :558:21 - Attribute `dtype` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`
[warning] possibly-missing-attribute - :586:38 - Attribute `dtype` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`
[error] invalid-argument-type - :546 -
Old: Argument to bound method `isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`
New: Argument to bound method `isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | (Index & ~MultiIndex) | (Series & ~MultiIndex) | (SequenceNotStr[Unknown] & ndarray[tuple[object, ...], dtype[object]] & ~MultiIndex)`
[warning] possibly-missing-attribute - :556:34 - Attribute `astype` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`
[error] no-matching-overload - :556:34 - No overload of bound method `astype` matches arguments
[error] no-matching-overload - :556:34 - No overload of bound method `astype` matches arguments
[error] no-matching-overload - :556:34 - No overload of bound method `astype` matches arguments
[warning] possibly-missing-attribute - :587:18 - Attribute `astype` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`
[error] no-matching-overload - :587:18 - No overload of bound method `astype` matches arguments
[error] no-matching-overload - :587:18 - No overload of bound method `astype` matches arguments
[error] no-matching-overload - :587:18 - No overload of bound method `astype` matches arguments
[error] invalid-argument-type - :591 -
Old: Argument to function `ismember` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 5 union elements`
New: Argument to function `ismember` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | (Index & ~MultiIndex) | ... omitted 4 union elements`

pandas/core/arrays/datetimelike.py

[warning] unused-ignore-comment - :2585:71 - Unused blanket `type: ignore` directive

pandas/core/arrays/period.py

[error] invalid-return-type - :1469 -
Old: Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[Any]], BaseOffset]`, found `tuple[ndarray[tuple[Any, ...], dtype[Any]], BaseOffset | Unknown | None]`
New: Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[Any]], BaseOffset]`, found `tuple[ndarray[tuple[Any, ...], dtype[Unknown]], BaseOffset | Unknown | None]`

pandas/core/sorting.py

[error] invalid-return-type - :428 -
Old: Return type does not match returned value: expected `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]`, found `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]] | Series | ndarray[tuple[Any, ...], dtype[Any]]`
New: Return type does not match returned value: expected `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]`, found `ndarray[tuple[Any, ...], dtype[Any]] | ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]] | Series`

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

tests/indexes/test_indexes.py

[error] type-assertion-failure - :533:9 - Type `IntervalIndex[Interval[int]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :644:9 - Type `IntervalIndex[Interval[int]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :541 -
Old: Type `IntervalIndex[Interval[int | float]]` does not match asserted type `IntervalIndex[Interval[int]]`
New: Type `IntervalIndex[Interval[int | float]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :655 -
Old: Type `IntervalIndex[Interval[int | float]]` does not match asserted type `IntervalIndex[Interval[int]]`
New: Type `IntervalIndex[Interval[int | float]]` does not match asserted type `Unknown`

tests/test_timefuncs.py

[error] type-assertion-failure - :1464:9 - Type `DatetimeIndex` does not match asserted type `Unknown`

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

tests/mypy/pandas_modules/pandas_dataframe.py

[error] invalid-return-type - :35 -
Old: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[SchemaOut] | DataFrame[AnotherSchema]`
New: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[AnotherSchema] | DataFrame[SchemaOut]`
[error] invalid-return-type - :41 -
Old: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[SchemaOut] | DataFrame[Schema]`
New: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[Schema] | DataFrame[SchemaOut]`

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

src/integrations/prefect-databricks/prefect_databricks/models/jobs.py

[error] invalid-assignment - :3849 -
Old: Object of type `dataclasses.Field[dict[str, Any] | None | Literal["{}"]]` is not assignable to `dict[str, Any] | None`
New: Object of type `dataclasses.Field[Literal["{}"] | dict[str, Any] | None]` is not assignable to `dict[str, Any] | None`

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

[error] invalid-assignment - :94 -
Old: Object of type `dict[str, Any] | T@resolve_block_document_references | str | ... 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 `dict[str, Any] | T@resolve_variables | str | ... 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/_states.py

[error] invalid-argument-type - :219 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[State[Any] | R@return_value_to_state_sync]`
New: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[R@return_value_to_state_sync | State[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 | dict[str, Any]` 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 `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 `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 | dict[str, Any]`

src/prefect/states.py

[error] invalid-argument-type - :369 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[State[Any] | R@return_value_to_state]`
New: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[R@return_value_to_state | State[Any]]`

src/prefect/tasks.py

[error] no-matching-overload - :1200:16 - No overload of function `run_task` matches arguments
[error] invalid-return-type - :1200:16 - Return type does not match returned value: expected `T@__call__ | State[T@__call__] | None`, found `State[T@__call__] | T@__call__ | State[Never]`

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 | 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 | 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 | dict[str, Any] | Unknown]`
[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, T@resolve_variables | Unknown]`
[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[T@resolve_variables | Unknown]`

src/prefect/variables.py

[error] invalid-return-type - :90 -
Old: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Variable[str | int | float | ... omitted 3 union elements] | Self@aset`
New: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Self@aset | Variable[str | int | float | ... omitted 3 union elements]`
[error] invalid-return-type - :139 -
Old: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Variable[str | int | float | ... omitted 3 union elements] | Self@set`
New: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Self@set | Variable[str | int | float | ... omitted 3 union elements]`

src/prefect/workers/base.py

[error] invalid-argument-type - :228 -
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 | dict[str, Any]`
[error] invalid-argument-type - :230 -
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 `T@resolve_variables`

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

tests/test_pipeline_files.py

[error] invalid-assignment - :370 -
Old: Object of type `dataclasses.Field[list[str] | <class 'list'>]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :371 -
Old: Object of type `dataclasses.Field[list[dict[str, str]] | <class 'list'>]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :373 -
Old: Object of type `dataclasses.Field[list[str] | <class 'list'>]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :374 -
Old: Object of type `dataclasses.Field[list[dict[str, str]] | <class 'list'>]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`

tests/test_pipeline_images.py

[error] invalid-assignment - :332 -
Old: Object of type `dataclasses.Field[list[str] | <class 'list'>]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :333 -
Old: Object of type `dataclasses.Field[list[dict[str, str]] | <class 'list'>]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :335 -
Old: Object of type `dataclasses.Field[list[str] | <class 'list'>]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
[error] invalid-assignment - :336 -
Old: Object of type `dataclasses.Field[list[dict[str, str]] | <class 'list'>]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`

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

setuptools/_vendor/typing_extensions.py

[error] invalid-argument-type - :3546 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[str]`, found `object`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `object`

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

static_frame/core/node_selector.py

[error] invalid-return-type - :526:16 - Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@InterfaceSelectQuartet, Any]`, found `InterGetItemLocReduces[Top[Series[Any, Any]] | Unknown, Any]`

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] | Top[Index[Any]] | Top[Series[Any, Any]] | ... omitted 7 union elements, object_]`
New: Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Top[Index[Any]] | Top[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] | Top[Index[Any]] | TypeBlocks | ... omitted 7 union elements, generic[object]]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Top[Index[Any]] | TypeBlocks | Top[Bus[Any]] | ... omitted 6 union elements, generic[object]]`

static_frame/core/index.py

[error] invalid-return-type - :580:16 - Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Top[Series[Any, Any]] | Any, TVDtype@Index]`
[error] invalid-return-type - :763 -
Old: Return type does not match returned value: expected `InterfaceString[ndarray[Any, Any]]`, found `InterfaceString[ndarray[Any, Any] | Bottom[Series[Any, Any]]]`
New: Return type does not match returned value: expected `InterfaceString[ndarray[Any, Any]]`, found `InterfaceString[ndarray[object, object] | Bottom[Series[Any, Any]]]`
[error] invalid-return-type - :781 -
Old: Return type does not match returned value: expected `InterfaceDatetime[ndarray[Any, Any]]`, found `InterfaceDatetime[ndarray[Any, Any] | Bottom[Series[Any, Any]]]`
New: Return type does not match returned value: expected `InterfaceDatetime[ndarray[Any, Any]]`, found `InterfaceDatetime[ndarray[object, object] | Bottom[Series[Any, Any]]]`
[error] invalid-return-type - :801 -
Old: Return type does not match returned value: expected `InterfaceRe[ndarray[Any, Any]]`, found `InterfaceRe[ndarray[Any, Any] | Bottom[Series[Any, Any]]]`
New: Return type does not match returned value: expected `InterfaceRe[ndarray[Any, Any]]`, found `InterfaceRe[ndarray[object, object] | Bottom[Series[Any, Any]]]`

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] | TypeBlocks | Batch | ... omitted 6 union elements, generic[object]]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Series[Any, Any], TVDtype@Series]`, found `InterGetItemILocReduces[Top[Index[Any]] | TypeBlocks | Top[Bus[Any]] | ... omitted 6 union elements, generic[object]]`
[error] invalid-return-type - :4072 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[SeriesHE[Any, Any] | TypeBlocks | Batch | ... omitted 7 union elements, generic[object]]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Top[Index[Any]] | TypeBlocks | Top[Bus[Any]] | ... omitted 7 union elements, generic[object]]`

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] | TypeBlocks | Batch | ... omitted 7 union elements, generic[object]]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Top[Index[Any]] | TypeBlocks | Top[Bus[Any]] | ... omitted 6 union elements, generic[object]]`

static_frame/test/unit/test_series.py

[error] no-matching-overload - :4489:37 - No overload of function `round` matches arguments

xarray (https://github.com/pydata/xarray)

xarray/core/dataset.py

[error] invalid-argument-type - :2565:52 - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Resampler | str | int | tuple[int, ...] | None] | None`, found `(str & Top[Mapping[Unknown, object]]) | (int & Top[Mapping[Unknown, object]]) | (tuple[int, ...] & Top[Mapping[Unknown, object]]) | ... omitted 3 union elements`
[error] invalid-argument-type - :912:47 - Argument to bound method `_construct_direct` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `dict[Hashable, Any] | None | Default`
[error] invalid-argument-type - :912:63 - Argument to bound method `_construct_direct` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `dict[Unknown, Unknown] | None | Default`