Ecosystem report

Old: main (merge base) 2250fa6f New: 21747/merge ae28b457
Lint Rule Removed Added Changed
Total 152 61 310
invalid-argument-type 80 26 168
invalid-assignment 25 5 66
unsupported-operator 1 0 39
type-assertion-failure 13 0 21
invalid-return-type 4 1 14
possibly-missing-attribute 11 2 2
unresolved-attribute 0 14 0
no-matching-overload 5 7 0
unused-ignore-comment 6 5 0
non-subscriptable 4 1 0
not-iterable 2 0 0
unsupported-base 1 0 0
Project Removed Added Changed
Total 152 61 310
pandas-stubs 10 0 52
rotki 15 0 44
pandas 6 7 30
sympy 1 0 40
ibis 6 4 21
paasta 18 0 3
scipy-stubs 5 0 15
jax 1 6 10
core 9 5 2
cloud-init 8 3 4
scipy 12 1 2
altair 13 1 0
xarray 6 4 4
cwltool 0 0 12
scrapy 0 0 12
zulip 0 10 2
build 9 0 0
meson 3 3 3
static-frame 5 0 2
colour 6 0 0

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

tests/RepositoryAdvisory.py

[error] invalid-argument-type - :141:13 - Argument to bound method `offer_credits` is incorrect: Expected `Iterable[SimpleCredit | AdvisoryCredit]`, found `list[Unknown | dict[Unknown | str, Unknown | str]]`

github/RepositoryAdvisory.py

[error] invalid-argument-type - :153:13 - Argument to bound method `add_vulnerabilities` is incorrect: Expected `Iterable[SimpleAdvisoryVulnerability | AdvisoryVulnerability]`, found `list[Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | None] | str | None | list[str]]]`
[error] invalid-argument-type - :199:28 - Argument to bound method `offer_credits` is incorrect: Expected `Iterable[SimpleCredit | AdvisoryCredit]`, found `list[Unknown | dict[Unknown | str, Unknown | str | NamedUser]]`

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

tanjun/commands/slash.py

[error] invalid-argument-type - :1779:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[(...) -> Coroutine[Any, Any, Any] | Any]`, found `Sequence[(...) -> Coroutine[Any, Any, Any] | Any] | (((...) -> Coroutine[Any, Any, Any] | Any) & Sequence[object])`

tanjun/context/menu.py

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

altair (https://github.com/vega/altair)

tests/examples_arguments_syntax/dendrogram.py

[error] invalid-argument-type - :120:24 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Unknown | list[Unknown | list[Unknown | float]] | list[Unknown | str]]`, found `dict[Unknown | tuple[Hashable, Unknown] | dict[Any, Any], Unknown | list[Unknown | list[Unknown | float]] | list[Unknown | str]]`

altair/datasets/_cache.py

[error] invalid-assignment - :65:53 - Object of type `dict[Unknown | <class 'Int64'> | <class 'Float64'> | ... omitted 7 union elements, Unknown | str]` is not assignable to `Mapping[type[DType], Literal["integer", "number", "boolean", "string", "object", ... omitted 5 literals]]`

altair/datasets/_reader.py

[error] invalid-assignment - :290:35 - Object of type `dict[Unknown | str, Unknown | Sequence[str]]` is not assignable to `Mapping[Literal["supported", "unsupported"], Sequence[Literal["airports", "annual_precip", "anscombe", "barley", "birdstrikes", ... omitted 68 literals]]]`

altair/utils/schemapi.py

[error] invalid-assignment - :1694:5 - Object of type `dict[Unknown | str, Unknown | str]` is not assignable to `Mapping[Literal["vega-datasets", "vega-embed", "vega-lite", "vegafusion", "vl-convert-python"], str]`

altair/vegalite/v6/api.py

[error] invalid-argument-type - :4172:47 - Argument to bound method `to_dict` is incorrect: Expected `Literal["vega-lite", "vega"]`, found `Unknown | bool | str | ... omitted 4 union elements`
[error] invalid-argument-type - :4172:47 - Argument to bound method `to_dict` is incorrect: Expected `bool`, found `Unknown | bool | str | ... omitted 4 union elements`
[error] invalid-argument-type - :4172:47 - Argument to bound method `to_dict` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | bool | str | ... omitted 4 union elements`
[error] invalid-argument-type - :4172:47 - Argument to bound method `to_dict` is incorrect: Expected `list[str] | None`, found `Unknown | bool | str | ... omitted 4 union elements`
[error] invalid-argument-type - :4173:32 - Argument to bound method `to_dict` is incorrect: Expected `Literal["vega-lite", "vega"]`, found `Unknown | bool | str | ... omitted 4 union elements`
[error] invalid-argument-type - :4173:32 - Argument to bound method `to_dict` is incorrect: Expected `bool`, found `Unknown | bool | str | ... omitted 4 union elements`
[error] invalid-argument-type - :4173:32 - Argument to bound method `to_dict` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | bool | str | ... omitted 4 union elements`
[error] invalid-argument-type - :4173:32 - Argument to bound method `to_dict` is incorrect: Expected `list[str] | None`, found `Unknown | bool | str | ... omitted 4 union elements`

tests/test_datasets.py

[error] invalid-assignment - :56:52 - Object of type `dict[Unknown | str, Unknown | ParameterSet]` is not assignable to `Mapping[Literal["polars", "pandas", "pandas[pyarrow]", "pyarrow"], ParameterSet]`

tests/vegalite/v6/test_theme.py

[error] invalid-argument-type - :1098:47 - Argument to function `__new__` is incorrect: Expected `Iterable[Literal["config"]]`, found `set[Unknown | str]`

apprise (https://github.com/caronc/apprise)

apprise/plugins/fortysixelks.py

[error] invalid-assignment - :161 -
Old: Object of type `list[Unknown | (str & ~Literal[""]) | None]` is not assignable to `Iterable[str] | None`
New: Object of type `list[str | None]` is not assignable to `Iterable[str] | None`

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

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

tests/test_main.py

[error] invalid-argument-type - :270:58 - Argument to function `build_package` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :285:58 - Argument to function `build_package` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :302:58 - Argument to function `build_package` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :330:62 - Argument to function `build_package` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :340:62 - Argument to function `build_package` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :346:68 - Argument to function `build_package` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :357:78 - Argument to function `build_package_via_sdist` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :368:92 - Argument to function `build_package_via_sdist` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`
[error] invalid-argument-type - :373:82 - Argument to function `build_package_via_sdist` is incorrect: Expected `Sequence[Literal["sdist", "wheel", "editable"]]`, found `list[Unknown | str]`

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

cloudinit/sources/DataSourceNoCloud.py

[error] invalid-argument-type - :192 -
Old: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[Unknown | dict[Unknown, Unknown] | str | None]`
New: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[Mapping[Unknown, Unknown] | Unknown | str | None]`
[error] invalid-argument-type - :201 -
Old: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[Unknown | dict[Unknown, Unknown] | str | None | dict[Unknown | str, Unknown | str]]`
New: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[Mapping[Unknown, Unknown] | Unknown | str | None]`

cloudinit/sources/helpers/aliyun.py

[error] invalid-assignment - :202:9 - Cannot assign to a subscript on an object of type `int`
[error] invalid-argument-type - :205:12 - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | int | dict[Unknown, Unknown]`
[warning] possibly-missing-attribute - :206:25 - Attribute `keys` may be missing on object of type `Unknown | int | dict[Unknown, Unknown]`
[error] non-subscriptable - :207:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] non-subscriptable - :208:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] non-subscriptable - :209:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] non-subscriptable - :210:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-assignment - :174:9 - Cannot assign to a subscript on an object of type `int`

tests/unittests/test_ds_identify.py

[error] invalid-assignment - :1034 -
Old: Invalid subscript assignment with key of type `Literal["etc/cloud/ds-identify.cfg"]` and value of type `str` on object of type `list[Unknown | dict[Unknown | str, Unknown | str | int]]`
New: Invalid subscript assignment with key of type `Literal["etc/cloud/ds-identify.cfg"]` and value of type `LiteralString` on object of type `list[Unknown | dict[Unknown | str, Unknown | str | int]]`
[error] invalid-assignment - :1034 -
Old: Invalid subscript assignment with key of type `Literal["etc/cloud/ds-identify.cfg"]` and value of type `str` on object of type `list[Unknown | str]`
New: Invalid subscript assignment with key of type `Literal["etc/cloud/ds-identify.cfg"]` and value of type `LiteralString` on object of type `list[Unknown | str]`

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

colour (https://github.com/colour-science/colour)

colour/geometry/tests/test_vertices.py

[error] invalid-argument-type - :257:41 - Argument to function `primitive_vertices_cube_mpl` is incorrect: Expected `Sequence[Literal["-x", "+x", "-y", "+y", "-z", ... omitted 7 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :263:41 - Argument to function `primitive_vertices_cube_mpl` is incorrect: Expected `Sequence[Literal["-x", "+x", "-y", "+y", "-z", ... omitted 7 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :269:41 - Argument to function `primitive_vertices_cube_mpl` is incorrect: Expected `Sequence[Literal["-x", "+x", "-y", "+y", "-z", ... omitted 7 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :275:41 - Argument to function `primitive_vertices_cube_mpl` is incorrect: Expected `Sequence[Literal["-x", "+x", "-y", "+y", "-z", ... omitted 7 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :281:41 - Argument to function `primitive_vertices_cube_mpl` is incorrect: Expected `Sequence[Literal["-x", "+x", "-y", "+y", "-z", ... omitted 7 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :287:41 - Argument to function `primitive_vertices_cube_mpl` is incorrect: Expected `Sequence[Literal["-x", "+x", "-y", "+y", "-z", ... omitted 7 literals]] | None`, found `list[Unknown | str]`

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

homeassistant/components/anthropic/config_flow.py

[error] invalid-argument-type - :130:21 - Argument to bound method `async_create_entry` is incorrect: Expected `Iterable[ConfigSubentryData] | None`, found `list[Unknown | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | bool | list[Unknown | str] | str] | None] | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | bool] | None]]`

homeassistant/components/google_air_quality/config_flow.py

[error] invalid-argument-type - :134:21 - Argument to bound method `async_create_entry` is incorrect: Expected `Iterable[ConfigSubentryData] | None`, found `list[Unknown | dict[Unknown | str, Unknown | str | None]]`

homeassistant/components/google_generative_ai_conversation/config_flow.py

[error] invalid-argument-type - :132:21 - Argument to bound method `async_create_entry` is incorrect: Expected `Iterable[ConfigSubentryData] | None`, found `list[Unknown | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str | list[Unknown | str] | bool] | None] | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | bool] | None] | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str | bool] | None]]`

homeassistant/components/google_weather/config_flow.py

[error] invalid-argument-type - :134:21 - Argument to bound method `async_create_entry` is incorrect: Expected `Iterable[ConfigSubentryData] | None`, found `list[Unknown | dict[Unknown | str, Unknown | str | None]]`

homeassistant/components/home_connect/coordinator.py

[error] invalid-argument-type - :133:13 - Method `__getitem__` of type `bound method defaultdict[tuple[str, Unknown], list[() -> None]].__getitem__(key: tuple[str, Unknown], /) -> list[() -> None]` cannot be called with key of type `tuple[object, ...]` on object of type `defaultdict[tuple[str, Unknown], list[() -> None]]`

homeassistant/components/min_max/sensor.py

[error] invalid-assignment - :257 -
Old: Object of type `Event[EventStateChangedData | dict[Unknown | str, Unknown | str | State | None]]` is not assignable to `Event[EventStateChangedData]`
New: Object of type `Event[EventStateChangedData | dict[str, Any]]` is not assignable to `Event[EventStateChangedData]`

homeassistant/components/nibe_heatpump/coordinator.py

[error] invalid-argument-type - :42:17 - Method `__getitem__` of type `bound method defaultdict[_ContextTypeT@ContextCoordinator, list[() -> None]].__getitem__(key: _ContextTypeT@ContextCoordinator, /) -> list[() -> None]` cannot be called with key of type `object` on object of type `defaultdict[_ContextTypeT@ContextCoordinator, list[() -> None]]`

homeassistant/components/openai_conversation/config_flow.py

[error] invalid-argument-type - :135:17 - Argument to bound method `async_create_entry` is incorrect: Expected `Iterable[ConfigSubentryData] | None`, found `list[Unknown | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | bool | list[Unknown | str] | str] | None] | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | bool] | None]]`

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/components/template/weather.py

[error] invalid-argument-type - :449:41 - Argument to bound method `async_update_listeners` is incorrect: Expected `Iterable[Literal["daily", "hourly", "twice_daily"]] | None`, found `list[Unknown | str]`

homeassistant/components/weather/__init__.py

[error] invalid-assignment - :973:30 - Object of type `set[Unknown | str]` is not assignable to `Iterable[Literal["daily", "hourly", "twice_daily"]] | None`
[error] not-iterable - :974:30 - Object of type `Iterable[Literal["daily", "hourly", "twice_daily"]] | None` may not be iterable

homeassistant/components/zha/config_flow.py

[error] invalid-argument-type - :896 -
Old: Argument to bound method `__init__` is incorrect: Expected `Mapping[str, str] | None`, found `dict[Unknown | str, Unknown | str | None]`
New: Argument to bound method `__init__` is incorrect: Expected `Mapping[str, str] | None`, found `dict[str, str | Unknown | None] & dict[Unknown | str, Unknown | str | None]`

homeassistant/core.py

[error] invalid-argument-type - :640:43 - Argument to bound method `async_create_task` is incorrect: Expected `Coroutine[Any, Any, _R@async_add_job]`, found `(((...) -> Coroutine[Any, Any, _R@async_add_job] | _R@async_add_job) & Coroutine[object, Never, object]) | Coroutine[Any, Any, _R@async_add_job]`
[error] invalid-argument-type - :967:43 - Argument to bound method `async_create_task` is incorrect: Expected `Coroutine[Any, Any, _R@async_run_job]`, found `(((...) -> Coroutine[Any, Any, _R@async_run_job] | _R@async_run_job) & Coroutine[object, Never, object]) | Coroutine[Any, Any, _R@async_run_job]`

homeassistant/helpers/service.py

[error] invalid-assignment - :915:18 - Object of type `object` is not assignable to `ServiceResponse`

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

cwltool/cwlviewer.py

[error] invalid-argument-type - :56 -
Old: Argument to bound method `query` is incorrect: Expected `Mapping[str, Identifier] | None`, found `dict[Unknown | str, Unknown | str]`
New: Argument to bound method `query` is incorrect: Expected `Mapping[str, Identifier] | None`, found `dict[str, str]`
[error] invalid-argument-type - :124 -
Old: Argument to bound method `query` is incorrect: Expected `Mapping[str, Identifier] | None`, found `dict[Unknown | str, Unknown | str]`
New: Argument to bound method `query` is incorrect: Expected `Mapping[str, Identifier] | None`, found `dict[str, str]`
[error] invalid-argument-type - :155 -
Old: Argument to bound method `query` is incorrect: Expected `Mapping[str, Identifier] | None`, found `dict[Unknown | str, Unknown | str]`
New: Argument to bound method `query` is incorrect: Expected `Mapping[str, Identifier] | None`, found `dict[str, str]`

cwltool/main.py

[error] invalid-argument-type - :301 -
Old: Argument to function `realize_input_schema` is incorrect: Expected `MutableSequence[str | MutableMapping[str, None | int | str | ... omitted 3 union elements]]`, found `list[Unknown | (int & Top[Mapping[Unknown, object]]) | (str & Top[Mapping[Unknown, object]]) | ... omitted 3 union elements]`
New: Argument to function `realize_input_schema` is incorrect: Expected `MutableSequence[str | MutableMapping[str, None | int | str | ... omitted 3 union elements]]`, found `list[str | MutableMapping[str, None | int | str | ... omitted 3 union elements] | (@Todo & Top[Mapping[Unknown, object]]) | ... omitted 4 union elements]`
[warning] possibly-missing-attribute - :477 -
Old: Attribute `get` may be missing on object of type `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Attribute `get` may be missing on object of type `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-argument-type - :499 -
Old: Argument to bound method `_init_job` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Argument to bound method `_init_job` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-argument-type - :502 -
Old: Argument to bound method `bind_input` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements] | list[MutableMapping[str, None | int | str | ... omitted 3 union elements]]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Argument to bound method `bind_input` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements] | list[MutableMapping[str, None | int | str | ... omitted 3 union elements]]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-argument-type - :510 -
Old: Argument to function `printdeps` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Argument to function `printdeps` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-argument-type - :523 -
Old: Argument to bound method `store` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Argument to bound method `store` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] unsupported-operator - :526 -
Old: Operator `in` is not supported between objects of type `Literal["cwl:tool"]` and `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Operator `in` is not supported between objects of type `Literal["cwl:tool"]` and `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] unsupported-operator - :528 -
Old: Operator `in` is not supported between objects of type `Literal["__id"]` and `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Operator `in` is not supported between objects of type `Literal["__id"]` and `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-return-type - :530 -
Old: Return type does not match returned value: expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`

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

setup.py

[error] invalid-argument-type - :1271 -
Old: Argument to function `setup` is incorrect: Expected `Mapping[str, type[Command]]`, found `dict[Unknown | str, Unknown | <class 'CustomBuildExt'> | <class 'LibraryDownloader'> | ... omitted 3 union elements]`
New: Argument to function `setup` is incorrect: Expected `Mapping[str, type[Command]]`, found `dict[str, type[Command] | <class 'CleanLibraries'>]`

tests/debugging/exploration/_coverage.py

[error] invalid-argument-type - :67:13 - Method `__getitem__` of type `bound method defaultdict[Path, set[Unknown]].__getitem__(key: Path, /) -> set[Unknown]` cannot be called with key of type `Path | None` on object of type `defaultdict[Path, set[Unknown]]`

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

discord/interactions.py

[error] invalid-argument-type - :229:58 - Argument to bound method `_from_value` is incorrect: Expected `Sequence[Literal[0, 1, 2]]`, found `list[Unknown | int]`

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

dulwich/contrib/swift.py

[error] invalid-argument-type - :158 -
Old: Argument to bound method `add_todo` is incorrect: Expected `Iterable[tuple[ObjectID, bytes | None, int | None, bool]]`, found `list[Unknown | tuple[Unknown | bytes, None, None, bool]]`
New: Argument to bound method `add_todo` is incorrect: Expected `Iterable[tuple[ObjectID, bytes | None, int | None, bool]]`, found `list[tuple[ObjectID, bytes | None, int | None, bool] | tuple[Unknown | bytes, None, None, bool]]`
[error] invalid-argument-type - :891 -
Old: Argument to bound method `add_objects` is incorrect: Expected `Sequence[tuple[ShaFile, str | None]]`, found `list[Unknown | tuple[object, None]]`
New: Argument to bound method `add_objects` is incorrect: Expected `Sequence[tuple[ShaFile, str | None]]`, found `list[tuple[ShaFile, str | None] | tuple[object, None]]`

dulwich/diff_tree.py

[error] invalid-argument-type - :421 -
Old: Argument to function `_all_eq` is incorrect: Expected `(Unknown, /) -> Literal["delete"]`, found `def change_type(c: TreeChange) -> str`
New: Argument to function `_all_eq` is incorrect: Expected `(TreeChange | Unknown, /) -> Literal["delete"]`, found `def change_type(c: TreeChange) -> str`

dulwich/object_store.py

[error] invalid-argument-type - :2641 -
Old: Argument to function `_split_commits_and_tags` is incorrect: Expected `Iterable[ObjectID]`, found `list[Unknown | bytes]`
New: Argument to function `_split_commits_and_tags` is incorrect: Expected `Iterable[ObjectID]`, found `list[bytes | Unknown]`
[error] invalid-argument-type - :2812 -
Old: Argument to bound method `add_todo` is incorrect: Expected `Iterable[tuple[ObjectID, bytes | None, int | None, bool]]`, found `list[Unknown | tuple[Unknown | bytes, None, Unknown | int, bool]]`
New: Argument to bound method `add_todo` is incorrect: Expected `Iterable[tuple[ObjectID, bytes | None, int | None, bool]]`, found `list[tuple[ObjectID, bytes | None, int | None, bool] | tuple[Unknown | bytes, None, Unknown | int, bool]]`

dulwich/walk.py

[error] invalid-assignment - :332 -
Old: Object of type `list[Unknown | ObjectID | (Sequence[ObjectID] & bytes)]` is not assignable to `ObjectID | Sequence[ObjectID]`
New: Object of type `list[ObjectID | (Sequence[ObjectID] & bytes)]` is not assignable to `ObjectID | Sequence[ObjectID]`

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

graphql-core (https://github.com/graphql-python/graphql-core)

src/graphql/execution/execute.py

[error] invalid-assignment - :1676 -
Old: Object of type `BoxedAwaitableOrValue[CoroutineType[Any, Any, ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult]]` is not assignable to attribute `result` of type `BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult] | (() -> BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult])`
New: Object of type `BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult | CoroutineType[Any, Any, ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult]]` is not assignable to attribute `result` of type `BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult] | (() -> BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult])`
[error] invalid-argument-type - :1828 -
Old: Argument to bound method `append` is incorrect: Expected `BoxedAwaitableOrValue[StreamItemResult] | (() -> BoxedAwaitableOrValue[StreamItemResult])`, found `BoxedAwaitableOrValue[CoroutineType[Any, Any, StreamItemResult]]`
New: Argument to bound method `append` is incorrect: Expected `BoxedAwaitableOrValue[StreamItemResult] | (() -> BoxedAwaitableOrValue[StreamItemResult])`, found `BoxedAwaitableOrValue[StreamItemResult | CoroutineType[Any, Any, StreamItemResult]]`

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

hydpy/auxs/calibtools.py

[error] invalid-argument-type - :3471 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Sequence[int | float] | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[int | float]`, found `Sequence[int | float] | None`
[error] invalid-argument-type - :3472 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Sequence[int | float] | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[int | float]`, found `Sequence[int | float] | None`
[error] invalid-argument-type - :3473 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Sequence[int | float] | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[int | float]`, found `Sequence[int | float] | None`
[error] invalid-argument-type - :3474 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Sequence[str | None] | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[str | None]`, found `Sequence[str | None] | None`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-argument-type - :2293:51 - Argument to bound method `append` is incorrect: Expected `str | Builds[Any]`, found `(~None & ~Top[partial[Unknown]]) | Any`

ibis (https://github.com/ibis-project/ibis)

ibis/backends/bigquery/tests/unit/test_compiler.py

[error] invalid-argument-type - :273 -
Old: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, str | Unknown]`

ibis/backends/clickhouse/tests/conftest.py

[warning] possibly-missing-attribute - :94:9 - Attribute `setdefault` may be missing on object of type `Mapping[str, Any] | dict[Unknown, Unknown]`
[error] unresolved-attribute - :94:9 - Object of type `Mapping[str, Any]` has no attribute `setdefault`
[warning] possibly-missing-attribute - :95:9 - Attribute `setdefault` may be missing on object of type `Mapping[str, Any] | dict[Unknown, Unknown]`
[error] unresolved-attribute - :95:9 - Object of type `Mapping[str, Any]` has no attribute `setdefault`

ibis/backends/duckdb/tests/snapshots/test_decompile_tpch/test_parse_sql_tpch/tpch01/out_tpch.py

[error] invalid-argument-type - :29 -
Old: Argument to bound method `aggregate` is incorrect: Expected `Scalar | Deferred | Sequence[Scalar | Deferred] | None`, found `list[Unknown | Value]`
New: Argument to bound method `aggregate` is incorrect: Expected `Scalar | Deferred | Sequence[Scalar | Deferred] | None`, found `list[Unknown | Value] & list[Value | Deferred | @Todo]`

ibis/backends/oracle/tests/test_datatypes.py

[error] invalid-argument-type - :29 -
Old: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, str | Unknown]`
[error] invalid-argument-type - :53 -
Old: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, str | Unknown]`

ibis/backends/sql/compilers/base.py

[error] invalid-argument-type - :597 -
Old: Argument to bound method `translate` is incorrect: Expected `Mapping[Value, Any]`, found `Mapping[Expr, Any] | dict[Unknown, Unknown]`
New: Argument to bound method `translate` is incorrect: Expected `Mapping[Value, Any]`, found `Mapping[Expr, Any]`

ibis/backends/tests/sql/snapshots/test_select_sql/test_order_by_on_limit_yield_subquery/decompiled.py

[error] invalid-argument-type - :23 -
Old: Argument to bound method `aggregate` is incorrect: Expected `Scalar | Deferred | Sequence[Scalar | Deferred] | None`, found `list[Unknown | Value]`
New: Argument to bound method `aggregate` is incorrect: Expected `Scalar | Deferred | Sequence[Scalar | Deferred] | None`, found `list[Unknown | Value] & list[Value | Deferred | @Todo]`

ibis/backends/tests/sql/test_select_sql.py

[error] invalid-argument-type - :368 -
Old: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str]`
New: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str] & list[Value | str]`
[error] invalid-argument-type - :369 -
Old: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str]`
New: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str] & list[Value | str]`
[error] invalid-argument-type - :370 -
Old: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str]`
New: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str] & list[Value | str]`

ibis/backends/tests/test_join.py

[error] invalid-argument-type - :207 -
Old: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, str | Unknown]`

ibis/expr/tests/snapshots/test_sql/test_parse_sql_simple_select_count/decompiled.py

[error] invalid-argument-type - :9 -
Old: Argument to bound method `aggregate` is incorrect: Expected `Scalar | Deferred | Sequence[Scalar | Deferred] | None`, found `list[Unknown | Value]`
New: Argument to bound method `aggregate` is incorrect: Expected `Scalar | Deferred | Sequence[Scalar | Deferred] | None`, found `list[Unknown | Value] & list[Value | Deferred | @Todo]`

ibis/expr/tests/test_api.py

[error] invalid-argument-type - :20 -
Old: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, str | Unknown]`

ibis/expr/tests/test_format.py

[error] invalid-argument-type - :213 -
Old: Argument to bound method `filter` is incorrect: Expected `BooleanValue | bool | Sequence[BooleanValue | bool] | IfAnyAll | Deferred`, found `list[Unknown | ((t) -> Unknown)]`
New: Argument to bound method `filter` is incorrect: Expected `BooleanValue | bool | Sequence[BooleanValue | bool] | IfAnyAll | Deferred`, found `list[Unknown | ((t) -> Unknown)] & list[BooleanValue | bool | ((t) -> Unknown)]`
[error] invalid-argument-type - :299 -
Old: Argument to bound method `fill_null` is incorrect: Expected `Scalar | Mapping[str, Scalar]`, found `dict[Unknown | str, Unknown | int]`
New: Argument to bound method `fill_null` is incorrect: Expected `Scalar | Mapping[str, Scalar]`, found `dict[Unknown | str, Unknown | int] & dict[str, Scalar | int]`

ibis/expr/tests/test_newrels.py

[error] invalid-argument-type - :1411 -
Old: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str]`
New: Argument to bound method `aggregate` is incorrect: Expected `Sequence[Value] | None`, found `list[Unknown | str] & list[Value | str]`

ibis/expr/types/arrays.py

[error] invalid-argument-type - :1442 -
Old: Argument is incorrect: Expected `tuple[Value[Unknown, Any], ...]`, found `tuple[V@array, ...]`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Value[Unknown, Any]]`, found `Iterable[V@array]`

ibis/expr/types/relations.py

[error] not-iterable - :1411:21 - Object of type `Sequence[BooleanValue] | None` may not be iterable
[error] invalid-argument-type - :3080:40 - Argument is incorrect: Expected `tuple[Value[T@Column, Columnar], ...] | None`, found `None | Sequence[str]`
[error] invalid-argument-type - :1280 -
Old: Argument is incorrect: Expected `tuple[Value[Unknown, Any], ...]`, found `tuple[Value, ...] | tuple[@Todo, ...]`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Value[Unknown, Any]]`, found `tuple[Value, ...] | @Todo`
[error] invalid-assignment - :1401:18 - Object of type `tuple[Value, ...] | tuple[@Todo, ...]` is not assignable to `Sequence[BooleanValue] | None`
[error] invalid-argument-type - :1401:24 - Argument to class `tuple` is incorrect: Expected `Iterable[BooleanValue]`, found `tuple[Value, ...] | @Todo`
[error] invalid-assignment - :3079:22 - Object of type `tuple[Value, ...] | tuple[@Todo, ...]` is not assignable to `Sequence[str] | None`
[error] invalid-argument-type - :3079:28 - Argument to class `tuple` is incorrect: Expected `Iterable[str]`, found `tuple[Value, ...] | @Todo`
[warning] possibly-missing-attribute - :4448 -
Old: Attribute `setdefault` may be missing on object of type `(((str, /) -> Value) & Top[Mapping[Unknown, object]]) | Mapping[str, (str, /) -> Value] | Unknown | dict[Unknown, ((str, /) -> Value) & (() -> object) & ~Top[Mapping[Unknown, object]]]`
New: Attribute `setdefault` may be missing on object of type `(((str, /) -> Value) & Top[Mapping[Unknown, object]]) | Mapping[str, (str, /) -> Value] | Unknown`

ibis/tests/expr/test_table.py

[error] invalid-argument-type - :1936 -
Old: Argument to bound method `pivot_longer` is incorrect: Expected `((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None`, found `dict[str, (Overload[(self: LiteralString) -> str, (self) -> str]) | <class 'int'>]`
New: Argument to bound method `pivot_longer` is incorrect: Expected `((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None`, found `dict[str, (Overload[(self: LiteralString) -> str, (self) -> str]) | <class 'int'>] & dict[str, ((str, /) -> Value) | (Overload[(self: LiteralString) -> str, (self) -> str]) | <class 'int'>]`
[error] invalid-argument-type - :1959 -
Old: Argument to bound method `pivot_longer` is incorrect: Expected `((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None`, found `dict[str, (Overload[(self: LiteralString) -> str, (self) -> str]) | <class 'int'>]`
New: Argument to bound method `pivot_longer` is incorrect: Expected `((str, /) -> Value) | Mapping[str, (str, /) -> Value] | None`, found `dict[str, (Overload[(self: LiteralString) -> str, (self) -> str]) | <class 'int'>] & dict[str, ((str, /) -> Value) | (Overload[(self: LiteralString) -> str, (self) -> str]) | <class 'int'>]`

ibis/util.py

[error] invalid-argument-type - :134 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `(V@promote_tuple & ~tuple[object, ...]) | (Iterable[V@promote_tuple] & ~tuple[object, ...])`
New: Argument to class `tuple` is incorrect: Expected `Iterable[V@promote_tuple]`, found `(V@promote_tuple & ~tuple[object, ...]) | (Iterable[V@promote_tuple] & ~tuple[object, ...])`

ignite (https://github.com/pytorch/ignite)

tests/ignite/metrics/nlp/test_bleu.py

[error] invalid-argument-type - :26 -
Old: Argument to bound method `_corpus_bleu` is incorrect: Expected `Sequence[Sequence[Sequence[Any]]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `_corpus_bleu` is incorrect: Expected `Sequence[Sequence[Sequence[Any]]]`, found `list[Sequence[Sequence[Any]] | list[Sequence[Any] | int]]`

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

jax/_src/interpreters/pxla.py

[error] invalid-return-type - :2102:10 - Return type does not match returned value: expected `tuple[None | Layout]`, found `tuple[None | Layout, ...]`

jax/_src/numpy/indexing.py

[warning] unused-ignore-comment - :609:58 - Unused blanket `type: ignore` directive

jax/_src/pallas/fuser/block_spec.py

[error] invalid-return-type - :854 -
Old: Return type does not match returned value: expected `Sequence[BlockSpec]`, found `list[Unknown | NoBlockSpec]`
New: Return type does not match returned value: expected `Sequence[BlockSpec]`, found `list[BlockSpec | NoBlockSpec]`
[error] invalid-return-type - :872 -
Old: Return type does not match returned value: expected `Sequence[BlockSpec]`, found `list[Unknown | NoBlockSpec]`
New: Return type does not match returned value: expected `Sequence[BlockSpec]`, found `list[BlockSpec | NoBlockSpec]`
[error] invalid-argument-type - :881 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Element | Squeezed | Blocked | ... omitted 3 union elements]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`
[error] invalid-argument-type - :1796 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Element | Squeezed | Blocked | ... omitted 3 union elements]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`
[error] invalid-argument-type - :2313 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Element | Squeezed | Blocked | ... omitted 3 union elements]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`

jax/_src/pallas/mosaic/interpret/interpret_pallas_call.py

[error] invalid-argument-type - :642 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Unknown | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None`
[error] invalid-argument-type - :764 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Unknown | None`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None`

jax/_src/pallas/mosaic_gpu/lowering.py

[error] invalid-assignment - :452:15 - Object of type `BarrierRef | DialectBarrierRef | CollectiveBarrierRef` is not assignable to `Barrier`
[error] invalid-argument-type - :454:22 - Argument to bound method `append` is incorrect: Expected `BarrierRef | DialectBarrierRef | CollectiveBarrierRef`, found `Barrier`

jax/_src/pallas/pallas_call.py

[error] invalid-argument-type - :1786:34 - Argument to bound method `__init__` is incorrect: Expected `Mapping[Literal["mosaic_tpu", "triton", "mosaic_gpu"], CompilerParams]`, found `(Mapping[Literal["mosaic_tpu", "triton", "mosaic_gpu"], CompilerParams] & ~Top[FrozenDict[Unknown, Unknown]]) | (CompilerParams & Top[Mapping[Unknown, object]] & ~Top[FrozenDict[Unknown, Unknown]])`

jax/_src/sharding_impls.py

[warning] unused-ignore-comment - :191:54 - Unused blanket `type: ignore` directive

jax/experimental/jax2tf/tests/jax_primitives_coverage_test.py

[error] unresolved-attribute - :106:7 - Object of type `Sequence[Harness]` has no attribute `append`

jax/experimental/jax2tf/tests/shape_poly_test.py

[error] invalid-argument-type - :461 -
Old: Argument to function `check_shape_poly` is incorrect: Expected `Sequence[str | None]`, found `list[Unknown | tuple[list[Unknown | str], list[Unknown | str]] | dict[str, str]]`
New: Argument to function `check_shape_poly` is incorrect: Expected `Sequence[str | None]`, found `list[str | None | tuple[list[Unknown | str], list[Unknown | str]] | dict[str, str]]`
[error] invalid-argument-type - :484 -
Old: Argument to function `check_shape_poly` is incorrect: Expected `Sequence[str | None]`, found `list[Unknown | tuple[str, str] | str]`
New: Argument to function `check_shape_poly` is incorrect: Expected `Sequence[str | None]`, found `list[str | None | tuple[str, str]]`
[error] invalid-argument-type - :660 -
Old: Argument to function `check_shape_poly` is incorrect: Expected `Sequence[str | None]`, found `list[Unknown | dict[str, str]]`
New: Argument to function `check_shape_poly` is incorrect: Expected `Sequence[str | None]`, found `list[str | None | dict[str, str]]`

jinja (https://github.com/pallets/jinja)

tests/test_loader.py

[error] invalid-argument-type - :283 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[BaseLoader]`, found `list[Unknown | BaseLoader | None]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[BaseLoader]`, found `list[BaseLoader | Unknown | None]`
[error] invalid-argument-type - :293 -
Old: Argument to bound method `__init__` is incorrect: Expected `Mapping[str, BaseLoader]`, found `dict[Unknown | str, Unknown | BaseLoader | None]`
New: Argument to bound method `__init__` is incorrect: Expected `Mapping[str, BaseLoader]`, found `dict[str, BaseLoader | Unknown | None]`

koda-validate (https://github.com/keithasaurus/koda-validate)

koda_validate/dictionary.py

[error] invalid-return-type - :60:20 - Return type does not match returned value: expected `Valid[Just[A@KeyNotRequired] | Nothing] | Invalid`, found `Valid[Just[Unknown | A@KeyNotRequired]]`
[error] invalid-return-type - :67:20 - Return type does not match returned value: expected `Valid[Just[A@KeyNotRequired] | Nothing] | Invalid`, found `Valid[Just[Unknown | A@KeyNotRequired]]`

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

misc/python/materialize/scratch.py

[error] invalid-argument-type - :195:32 - Invalid argument to key "BlockDeviceMappings" with declared type `Sequence[BlockDeviceMappingTypeDef]` on TypedDict `RunInstancesRequestServiceResourceCreateInstancesTypeDef`: value of type `list[Unknown | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | int | str]]]`
[error] invalid-argument-type - :188 -
Old: Invalid argument to key "TagSpecifications" with declared type `Sequence[TagSpecificationTypeDef | TagSpecificationOutputTypeDef]` on TypedDict `RunInstancesRequestServiceResourceCreateInstancesTypeDef`: value of type `list[Unknown | dict[Unknown | str, Unknown | str | list[dict[Unknown | str, Unknown | str] | Unknown]]]`
New: Invalid argument to key "TagSpecifications" with declared type `Sequence[TagSpecificationTypeDef | TagSpecificationOutputTypeDef]` on TypedDict `RunInstancesRequestServiceResourceCreateInstancesTypeDef`: value of type `list[TagSpecificationTypeDef | TagSpecificationOutputTypeDef | dict[Unknown | str, Unknown | str | list[dict[Unknown | str, Unknown | str] | Unknown]]]`

meson (https://github.com/mesonbuild/meson)

mesonbuild/backend/ninjabackend.py

[error] unresolved-attribute - :1692:37 - Object of type `File` has no attribute `name`
[error] invalid-assignment - :1695:17 - Invalid subscript assignment with key of type `Unknown` and value of type `CustomTarget | CustomTargetIndex | GeneratedList` on object of type `OrderedDict[str, File]`

mesonbuild/build.py

[error] invalid-assignment - :1295 -
Old: Object of type `list[Sequence[str | bool] | Literal[False]]` is not assignable to attribute `install_dir` of type `list[str | Literal[False]]`
New: Object of type `list[str | Literal[False] | list[str | Literal[False]]]` is not assignable to attribute `install_dir` of type `list[str | Literal[False]]`

mesonbuild/mconf.py

[error] invalid-argument-type - :290:17 - Method `__getitem__` of type `bound method defaultdict[str, dict[OptionKey, UserBooleanOption | UserComboOption | UserIntegerOption | ... omitted 3 union elements]].__getitem__(key: str, /) -> dict[OptionKey, UserBooleanOption | UserComboOption | UserIntegerOption | ... omitted 3 union elements]` cannot be called with key of type `Unknown | str | None` on object of type `defaultdict[str, dict[OptionKey, UserBooleanOption | UserComboOption | UserIntegerOption | ... omitted 3 union elements]]`

mesonbuild/modules/codegen.py

[error] invalid-argument-type - :317:26 - Argument to bound method `extend` is incorrect: Expected `Iterable[Literal["lex", "flex", "reflex", "win_flex"]]`, found `list[Unknown | str]`
[error] invalid-assignment - :398:55 - Object of type `dict[Unknown | str, Unknown | list[str]]` is not assignable to `Mapping[Literal["yacc", "byacc", "bison", "win_bison"], list[str]]`

mesonbuild/modules/i18n.py

[error] invalid-argument-type - :425 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[str | BuildTarget | CustomTarget | ... omitted 4 union elements]`, found `list[Unknown | ExternalProgram | Executable | None | str]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[str | BuildTarget | CustomTarget | ... omitted 4 union elements]`, found `list[str | BuildTarget | CustomTarget | ... omitted 5 union elements]`

mesonbuild/modules/rust.py

[error] invalid-argument-type - :478 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[str | File | BuildTarget | ... omitted 5 union elements]`, found `list[Unknown | File | CustomTarget | ... omitted 5 union elements]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[str | File | BuildTarget | ... omitted 5 union elements]`, found `list[str | File | BuildTarget | ... omitted 7 union elements]`

mesonbuild/mparser.py

[error] invalid-assignment - :671:47 - Object of type `dict[Unknown | str, Unknown | str]` is not assignable to `Mapping[str, Literal["==", "!=", "<", "<=", ">=", ... omitted 3 literals]]`

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

test/mitmproxy/test_http.py

[error] invalid-argument-type - :588 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `list[Unknown | list[Unknown | bytes]]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `list[tuple[bytes, bytes] | list[Unknown | bytes]]`
[error] invalid-argument-type - :821 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `list[Unknown | tuple[bytes, str]]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `list[tuple[bytes, bytes] | tuple[bytes, str]]`

mkosi (https://github.com/systemd/mkosi)

mkosi/__init__.py

[error] invalid-argument-type - :4369:16 - Argument to bound method `__init__` is incorrect: Expected `nullcontext[None]`, found `nullcontext[Popen[str] | None]`
[error] invalid-argument-type - :4372:16 - Argument to bound method `__init__` is incorrect: Expected `nullcontext[None]`, found `nullcontext[Popen[str] | None]`
[error] invalid-argument-type - :4378:16 - Argument to bound method `__init__` is incorrect: Expected `nullcontext[None]`, found `nullcontext[Popen[str] | None]`
[error] invalid-argument-type - :4384:16 - Argument to bound method `__init__` is incorrect: Expected `nullcontext[None]`, found `nullcontext[Popen[str] | None]`
[error] invalid-argument-type - :2528 -
Old: Argument to bound method `sandbox` is incorrect: Expected `Sequence[Path | str]`, found `list[Unknown | str | None | Path]`
New: Argument to bound method `sandbox` is incorrect: Expected `Sequence[Path | str]`, found `list[Path | str | Unknown | None]`
[error] invalid-argument-type - :4345 -
Old: Argument to function `run` is incorrect: Expected `Sequence[Path | str]`, found `list[Unknown | Path | None | str]`
New: Argument to function `run` is incorrect: Expected `Sequence[Path | str]`, found `list[Path | str | None]`

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

pymongo/asynchronous/auth.py

[error] invalid-assignment - :365 -
Old: Object of type `dict[Unknown | str, Unknown | ((credentials: @Todo, conn: AsyncConnection) -> CoroutineType[Any, Any, None]) | ((credentials: @Todo, conn: AsyncConnection, reauthenticate: bool) -> CoroutineType[Any, Any, Mapping[str, Any] | None]) | partial[Unknown]]` is not assignable to `Mapping[str, (...) -> Coroutine[Any, Any, None]]`
New: Object of type `dict[str, ((...) -> Coroutine[Any, Any, None]) | ((credentials: @Todo, conn: AsyncConnection, reauthenticate: bool) -> CoroutineType[Any, Any, Mapping[str, Any] | None])]` is not assignable to `Mapping[str, (...) -> Coroutine[Any, Any, None]]`

pymongo/helpers_shared.py

[warning] unused-ignore-comment - :160:39 - Unused blanket `type: ignore` directive

pymongo/synchronous/auth.py

[error] invalid-assignment - :360 -
Old: Object of type `dict[Unknown | str, Unknown | ((credentials: @Todo, conn: Connection) -> None) | ((credentials: @Todo, conn: Connection, reauthenticate: bool) -> Mapping[str, Any] | None) | partial[Unknown]]` is not assignable to `Mapping[str, (...) -> None]`
New: Object of type `dict[str, ((...) -> None) | ((credentials: @Todo, conn: Connection, reauthenticate: bool) -> Mapping[str, Any] | None)]` is not assignable to `Mapping[str, (...) -> None]`

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:44 - Object of type `frozenset[str | Unknown]` is not assignable to `frozenset[Literal["native_class", "allow_interpreted_subclasses", "serializable", "free_list_len"]]`

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

optuna/study/study.py

[error] invalid-argument-type - :496 -
Old: Argument to function `_optimize` is incorrect: Expected `tuple[type[Exception], ...]`, found `tuple[object, ...]`
New: Argument to class `tuple` is incorrect: Expected `Iterable[type[Exception]]`, found `Iterable[type[Exception]] | (type[Exception] & Iterable[object])`

paasta (https://github.com/yelp/paasta)

paasta_tools/instance/kubernetes.py

[warning] possibly-missing-attribute - :381:17 - Attribute `append` may be missing on object of type `Unknown | str | int | list[Unknown]`

paasta_tools/kubernetes_tools.py

[warning] possibly-missing-attribute - :3177:17 - Attribute `extend` may be missing on object of type `Unknown | list[Unknown] | str`

paasta_tools/setup_kubernetes_cr.py

[error] invalid-assignment - :307:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :307:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :311:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :311:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["annotations"]` on object of type `str`
[error] invalid-assignment - :314:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :314:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :317:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :317:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["annotations"]` on object of type `str`
[error] invalid-assignment - :318:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :318:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["annotations"]` on object of type `str`
[error] invalid-assignment - :319:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :319:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :320:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :320:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :321:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :321:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`

paasta_tools/utils.py

[error] invalid-argument-type - :609 -
Old: Argument to bound method `extend` is incorrect: Expected `Iterable[DockerParameter]`, found `list[Unknown | dict[Unknown | str, Unknown | str]]`
New: Argument to bound method `extend` is incorrect: Expected `Iterable[DockerParameter]`, found `list[DockerParameter | dict[Unknown | str, Unknown | str]]`
[error] invalid-argument-type - :617 -
Old: Argument to bound method `extend` is incorrect: Expected `Iterable[DockerParameter]`, found `list[Unknown | dict[Unknown | str, Unknown | str]]`
New: Argument to bound method `extend` is incorrect: Expected `Iterable[DockerParameter]`, found `list[DockerParameter | dict[Unknown | str, Unknown | str]]`
[error] invalid-return-type - :630 -
Old: Return type does not match returned value: expected `Iterable[DockerParameter]`, found `list[Unknown | dict[Unknown | str, Unknown | str]]`
New: Return type does not match returned value: expected `Iterable[DockerParameter]`, found `list[DockerParameter | 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/_mixins.py

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

pandas/core/common.py

[error] invalid-argument-type - :306:21 - Argument to bound method `__init__` is incorrect: Expected `Iterable[T@maybe_iterable_to_list]`, found `(Iterable[T@maybe_iterable_to_list] & ~Sized) | (T@maybe_iterable_to_list & Iterable[object] & ~Sized)`

pandas/core/indexes/range.py

[error] invalid-return-type - :815 -
Old: Return type does not match returned value: expected `Self@sort_values | tuple[Self@sort_values, ndarray[tuple[Any, ...], dtype[Any]] | RangeIndex]`, found `RangeIndex | tuple[RangeIndex, ndarray[tuple[Any, ...], dtype[Any]]]`
New: Return type does not match returned value: expected `Self@sort_values | tuple[Self@sort_values, ndarray[tuple[Any, ...], dtype[Any]] | RangeIndex]`, found `RangeIndex | ndarray[tuple[Any, ...], dtype[Any]] | tuple[RangeIndex | ndarray[tuple[Any, ...], dtype[Any]], ndarray[tuple[Any, ...], dtype[Any]]]`

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/tests/arrays/sparse/test_accessor.py

[error] invalid-argument-type - :229 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | ndarray[tuple[Any, ...], dtype[Unknown]]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | ndarray[tuple[Any, ...], dtype[Unknown]]]`

pandas/tests/frame/methods/test_sort_index.py

[error] invalid-argument-type - :284 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :359 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :364 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :372 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`

pandas/tests/frame/test_stack_unstack.py

[error] invalid-argument-type - :793 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :795 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :803 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :815 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | str]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | str]]`
[error] invalid-argument-type - :818 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :827 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | str]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | str]]`
[error] invalid-argument-type - :829 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | str | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | str | int]]`

pandas/tests/groupby/aggregate/test_aggregate.py

[error] invalid-argument-type - :1022 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | str]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | str]]`

pandas/tests/groupby/methods/test_value_counts.py

[error] invalid-argument-type - :1061 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`

pandas/tests/groupby/test_counting.py

[error] invalid-argument-type - :54 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :133 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`

pandas/tests/indexes/multi/test_sorting.py

[error] invalid-argument-type - :42 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`

pandas/tests/indexing/multiindex/test_multiindex.py

[error] invalid-argument-type - :230 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | tuple[str, str, str] | int | float]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | int | float]`

pandas/tests/reshape/merge/test_multi.py

[error] invalid-argument-type - :478 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | Timestamp | str]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | Timestamp | str]]`
[error] invalid-argument-type - :488 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | Timestamp | str]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | Timestamp | str]]`

pandas/tests/series/methods/test_sort_index.py

[error] invalid-argument-type - :83 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :101 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :220 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`
[error] invalid-argument-type - :231 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int]]`

pandas/tests/strings/test_split_partition.py

[error] invalid-argument-type - :280 -
Old: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | tuple[str, str, str] | list[Unknown | int | float] | list[Unknown | None]]`
New: Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[tuple[Hashable, ...] | list[Unknown | int | float] | list[Unknown | None]]`

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

tests/indexes/test_indexes.py

[error] type-assertion-failure - :754:9 - Type `IntervalIndex[Interval[int]]` does not match asserted type `Unknown`

tests/series/arithmetic/complex/test_add.py

[error] unsupported-operator - :52 -
Old: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | bool]`
New: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | bool]`
[error] unsupported-operator - :53 -
Old: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | int]`
New: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | int]`
[error] unsupported-operator - :54 -
Old: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | float]`
New: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | float]`
[error] unsupported-operator - :55 -
Old: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | complex]`
New: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | complex]`
[error] unsupported-operator - :57 -
Old: Operator `+` is unsupported between objects of type `list[Unknown | bool]` and `Series[list[Unknown | complex]]`
New: Operator `+` is unsupported between objects of type `list[Unknown | bool]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :58 -
Old: Operator `+` is unsupported between objects of type `list[Unknown | int]` and `Series[list[Unknown | complex]]`
New: Operator `+` is unsupported between objects of type `list[Unknown | int]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :59 -
Old: Operator `+` is unsupported between objects of type `list[Unknown | float]` and `Series[list[Unknown | complex]]`
New: Operator `+` is unsupported between objects of type `list[Unknown | float]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :60 -
Old: Operator `+` is unsupported between objects of type `list[Unknown | complex]` and `Series[list[Unknown | complex]]`
New: Operator `+` is unsupported between objects of type `list[Unknown | complex]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :172 -
Old: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex]]` and `Series[list[Unknown | complex]]`
New: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :177 -
Old: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex]]` and `Series[list[Unknown | complex]]`
New: Operator `+` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`

tests/series/arithmetic/complex/test_mul.py

[error] invalid-return-type - :31 -
Old: Return type does not match returned value: expected `Series[int | float | complex]`, found `Series[int | float | complex] | Series[list[Unknown | complex]]`
New: Return type does not match returned value: expected `Series[int | float | complex]`, found `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[builtins.bool | numpy.bool[builtins.bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]] | Series[int | float | complex]`
[error] type-assertion-failure - :31 -
Old: Type `Series[int | float | complex]` does not match asserted type `Series[list[Unknown | complex]]`
New: Type `Series[int | float | complex]` does not match asserted type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`

tests/series/arithmetic/complex/test_sub.py

[error] unsupported-operator - :18 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `Literal[True]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `Literal[True]`
[error] unsupported-operator - :19 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `Literal[1]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `Literal[1]`
[error] unsupported-operator - :20 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `float`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `float`
[error] unsupported-operator - :21 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `complex`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `complex`
[error] unsupported-operator - :23 -
Old: Operator `-` is unsupported between objects of type `Literal[True]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `Literal[True]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :24 -
Old: Operator `-` is unsupported between objects of type `Literal[1]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `Literal[1]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :25 -
Old: Operator `-` is unsupported between objects of type `float` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `float` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :26 -
Old: Operator `-` is unsupported between objects of type `complex` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `complex` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :51 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | bool]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | bool]`
[error] unsupported-operator - :52 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | int]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | int]`
[error] unsupported-operator - :53 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | float]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | float]`
[error] unsupported-operator - :54 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `list[Unknown | complex]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `list[Unknown | complex]`
[error] unsupported-operator - :56 -
Old: Operator `-` is unsupported between objects of type `list[Unknown | bool]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `list[Unknown | bool]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :57 -
Old: Operator `-` is unsupported between objects of type `list[Unknown | int]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `list[Unknown | int]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :58 -
Old: Operator `-` is unsupported between objects of type `list[Unknown | float]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `list[Unknown | float]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :59 -
Old: Operator `-` is unsupported between objects of type `list[Unknown | complex]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `list[Unknown | complex]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :171 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`
[error] unsupported-operator - :176 -
Old: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex]]` and `Series[list[Unknown | complex]]`
New: Operator `-` is unsupported between objects of type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]` and `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`

tests/series/arithmetic/complex/test_truediv.py

[error] invalid-return-type - :14 -
Old: Return type does not match returned value: expected `Series[int | float | complex]`, found `Series[int | float | complex] | Series[list[Unknown | complex]]`
New: Return type does not match returned value: expected `Series[int | float | complex]`, found `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[builtins.bool | numpy.bool[builtins.bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]] | Series[int | float | complex]`
[error] type-assertion-failure - :14 -
Old: Type `Series[int | float | complex]` does not match asserted type `Series[list[Unknown | complex]]`
New: Type `Series[int | float | complex]` does not match asserted type `Series[list[Unknown | complex] & list[int | integer[Any] | complex] & list[bool | bool[bool] | complex] & list[BaseOffset | complex] & list[str | complex] & list[list[str] | complex] & list[complex]]`

tests/series/arithmetic/test_truediv.py

[error] unsupported-operator - :359 -
Old: Operator `/` is unsupported between objects of type `Series[list[Unknown | Path]]` and `Path`
New: Operator `/` is unsupported between objects of type `Series[list[Unknown | Path] & list[int | integer[Any] | Path] & list[bool | bool[bool] | Path] & list[BaseOffset | Path] & list[str | Path] & list[list[str] | Path] & list[Path]]` and `Path`

tests/series/test_agg.py

[error] type-assertion-failure - :42 -
Old: Type `Series[int | float | complex]` does not match asserted type `Series[list[Unknown | complex | int | float]]`
New: Type `Series[int | float | complex]` does not match asserted type `Series[list[Unknown | complex | int | float] & list[int | integer[Any] | complex | float] & list[int | bool[bool] | complex | float] & list[BaseOffset | complex | int | float] & list[str | complex | int | float] & list[list[str] | complex | int | float] & list[complex | int | float]]`

tests/series/test_series.py

[error] invalid-argument-type - :1443 -
Old: Argument to bound method `describe` is incorrect: Argument type `Series[list[Unknown | int | datetime64[date | int | None]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
New: Argument to bound method `describe` is incorrect: Argument type `Series[list[Unknown | int | datetime64[date | int | None]] & list[int | integer[Any] | datetime64[date | int | None]] & list[int | bool[bool] | datetime64[date | int | None]] & list[BaseOffset | int | datetime64[date | int | None]] & list[str | int | datetime64[date | int | None]] & list[list[str] | int | datetime64[date | int | None]] & list[int | datetime64[date | int | None]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
[error] invalid-argument-type - :1444 -
Old: Argument to bound method `describe` is incorrect: Argument type `Series[list[Unknown | int | datetime64[date | int | None]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
New: Argument to bound method `describe` is incorrect: Argument type `Series[list[Unknown | int | datetime64[date | int | None]] & list[int | integer[Any] | datetime64[date | int | None]] & list[int | bool[bool] | datetime64[date | int | None]] & list[BaseOffset | int | datetime64[date | int | None]] & list[str | int | datetime64[date | int | None]] & list[list[str] | int | datetime64[date | int | None]] & list[int | datetime64[date | int | None]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
[error] invalid-argument-type - :1445 -
Old: Argument to bound method `describe` is incorrect: Argument type `Series[list[Unknown | int | datetime64[date | int | None]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
New: Argument to bound method `describe` is incorrect: Argument type `Series[list[Unknown | int | datetime64[date | int | None]] & list[int | integer[Any] | datetime64[date | int | None]] & list[int | bool[bool] | datetime64[date | int | None]] & list[BaseOffset | int | datetime64[date | int | None]] & list[str | int | datetime64[date | int | None]] & list[list[str] | int | datetime64[date | int | None]] & list[int | datetime64[date | int | None]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
[error] invalid-argument-type - :1445 -
Old: Argument to bound method `describe` is incorrect: Expected `list[Unknown | int | datetime64[date | int | None]] | list[list[Unknown | int | datetime64[date | int | None]]] | None`, found `<class 'number'>`
New: Argument to bound method `describe` is incorrect: Expected `(list[Unknown | int | datetime64[date | int | None]] & list[int | integer[Any] | datetime64[date | int | None]] & list[int | bool[bool] | datetime64[date | int | None]] & list[BaseOffset | int | datetime64[date | int | None]] & list[str | int | datetime64[date | int | None]] & list[list[str] | int | datetime64[date | int | None]] & list[int | datetime64[date | int | None]]) | list[list[Unknown | int | datetime64[date | int | None]] & list[int | integer[Any] | datetime64[date | int | None]] & list[int | bool[bool] | datetime64[date | int | None]] & list[BaseOffset | int | datetime64[date | int | None]] & list[str | int | datetime64[date | int | None]] & list[list[str] | int | datetime64[date | int | None]] & list[int | datetime64[date | int | None]]] | None`, found `<class 'number'>`
[error] type-assertion-failure - :1964 -
Old: Type `Series[CategoricalDtype]` does not match asserted type `Series[list[Unknown | int]]`
New: Type `Series[CategoricalDtype]` does not match asserted type `Series[list[Unknown | int] & list[int | integer[Any]] & list[int | bool[bool]] & list[BaseOffset | int] & list[str | int] & list[list[str] | int] & list[int]]`
[error] unsupported-operator - :1976 -
Old: Operator `>` is not supported between objects of type `Series[list[Unknown | bytes]]` and `Literal[b"def"]`
New: Operator `>` is not supported between objects of type `Series[list[Unknown | bytes] & list[int | integer[Any] | bytes] & list[builtins.bool | numpy.bool[builtins.bool] | bytes] & list[BaseOffset | bytes] & list[str | bytes] & list[list[str] | bytes] & list[bytes]]` and `Literal[b"def"]`
[error] unsupported-operator - :1977 -
Old: Operator `<` is not supported between objects of type `Series[list[Unknown | bytes]]` and `Literal[b"def"]`
New: Operator `<` is not supported between objects of type `Series[list[Unknown | bytes] & list[int | integer[Any] | bytes] & list[builtins.bool | numpy.bool[builtins.bool] | bytes] & list[BaseOffset | bytes] & list[str | bytes] & list[list[str] | bytes] & list[bytes]]` and `Literal[b"def"]`
[error] unsupported-operator - :1978 -
Old: Operator `<=` is not supported between objects of type `Series[list[Unknown | bytes]]` and `Literal[b"def"]`
New: Operator `<=` is not supported between objects of type `Series[list[Unknown | bytes] & list[int | integer[Any] | bytes] & list[builtins.bool | numpy.bool[builtins.bool] | bytes] & list[BaseOffset | bytes] & list[str | bytes] & list[list[str] | bytes] & list[bytes]]` and `Literal[b"def"]`
[error] unsupported-operator - :1979 -
Old: Operator `>=` is not supported between objects of type `Series[list[Unknown | bytes]]` and `Literal[b"def"]`
New: Operator `>=` is not supported between objects of type `Series[list[Unknown | bytes] & list[int | integer[Any] | bytes] & list[builtins.bool | numpy.bool[builtins.bool] | bytes] & list[BaseOffset | bytes] & list[str | bytes] & list[list[str] | bytes] & list[bytes]]` and `Literal[b"def"]`
[error] unsupported-operator - :2026 -
Old: Operator `>` is not supported between objects of type `Series[list[Unknown | int | float | complex]]` and `int | float | complex`
New: Operator `>` is not supported between objects of type `Series[list[Unknown | int | float | complex] & list[int | integer[Any] | float | complex] & list[int | numpy.bool[builtins.bool] | float | complex] & list[BaseOffset | int | float | complex] & list[str | int | float | complex] & list[list[str] | int | float | complex] & list[int | float | complex]]` and `int | float | complex`
[error] unsupported-operator - :2027 -
Old: Operator `<` is not supported between objects of type `Series[list[Unknown | int | float | complex]]` and `int | float | complex`
New: Operator `<` is not supported between objects of type `Series[list[Unknown | int | float | complex] & list[int | integer[Any] | float | complex] & list[int | numpy.bool[builtins.bool] | float | complex] & list[BaseOffset | int | float | complex] & list[str | int | float | complex] & list[list[str] | int | float | complex] & list[int | float | complex]]` and `int | float | complex`
[error] unsupported-operator - :2028 -
Old: Operator `<=` is not supported between objects of type `Series[list[Unknown | int | float | complex]]` and `int | float | complex`
New: Operator `<=` is not supported between objects of type `Series[list[Unknown | int | float | complex] & list[int | integer[Any] | float | complex] & list[int | numpy.bool[builtins.bool] | float | complex] & list[BaseOffset | int | float | complex] & list[str | int | float | complex] & list[list[str] | int | float | complex] & list[int | float | complex]]` and `int | float | complex`
[error] unsupported-operator - :2029 -
Old: Operator `>=` is not supported between objects of type `Series[list[Unknown | int | float | complex]]` and `int | float | complex`
New: Operator `>=` is not supported between objects of type `Series[list[Unknown | int | float | complex] & list[int | integer[Any] | float | complex] & list[int | numpy.bool[builtins.bool] | float | complex] & list[BaseOffset | int | float | complex] & list[str | int | float | complex] & list[list[str] | int | float | complex] & list[int | float | complex]]` and `int | float | complex`
[error] invalid-assignment - :3726 -
Old: Object of type `Series[int | list[Unknown | int | NAType]]` is not assignable to `Series[int]`
New: Object of type `Series[int | (list[Unknown | int | NAType] & list[int | integer[Any] | NAType] & list[int | numpy.bool[builtins.bool] | NAType] & list[BaseOffset | int | NAType] & list[str | int | NAType] & list[list[str] | int | NAType] & list[int | NAType])]` is not assignable to `Series[int]`
[error] type-assertion-failure - :4072 -
Old: Type `Series[Any]` does not match asserted type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]]]`
New: Type `Series[Any]` does not match asserted type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]] & list[int | integer[Any] | list[Unknown | int] | str | list[Unknown]] & list[bool | bool[bool] | list[Unknown | int] | str | list[Unknown]] & list[BaseOffset | list[Unknown | int] | str | list[Unknown]] & list[str | list[Unknown | int] | list[Unknown]] & list[list[str] | list[str | int] | str]]`
[error] invalid-argument-type - :4072 -
Old: Argument to bound method `explode` is incorrect: Argument type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
New: Argument to bound method `explode` is incorrect: Argument type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]] & list[int | integer[Any] | list[Unknown | int] | str | list[Unknown]] & list[bool | bool[bool] | list[Unknown | int] | str | list[Unknown]] & list[BaseOffset | list[Unknown | int] | str | list[Unknown]] & list[str | list[Unknown | int] | list[Unknown]] & list[list[str] | list[str | int] | str]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
[error] type-assertion-failure - :4073 -
Old: Type `Series[Any]` does not match asserted type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]]]`
New: Type `Series[Any]` does not match asserted type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]] & list[int | integer[Any] | list[Unknown | int] | str | list[Unknown]] & list[bool | bool[bool] | list[Unknown | int] | str | list[Unknown]] & list[BaseOffset | list[Unknown | int] | str | list[Unknown]] & list[str | list[Unknown | int] | list[Unknown]] & list[list[str] | list[str | int] | str]]`
[error] invalid-argument-type - :4073 -
Old: Argument to bound method `explode` is incorrect: Argument type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`
New: Argument to bound method `explode` is incorrect: Argument type `Series[list[Unknown | list[Unknown | int] | str | list[Unknown]] & list[int | integer[Any] | list[Unknown | int] | str | list[Unknown]] & list[bool | bool[bool] | list[Unknown | int] | str | list[Unknown]] & list[BaseOffset | list[Unknown | int] | str | list[Unknown]] & list[str | list[Unknown | int] | list[Unknown]] & list[list[str] | list[str | int] | str]]` does not satisfy upper bound `Series[S1@Series]` of type variable `Self`

tests/test_interval_index.py

[error] type-assertion-failure - :53:9 - Type `IntervalIndex[Interval[int]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :61:9 - Type `IntervalIndex[Interval[int]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :74:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :89:11 - Type `bool` does not match asserted type `Unknown`
[error] type-assertion-failure - :91:11 - Type `Literal["left", "right", "both", "neither"]` does not match asserted type `Unknown`

tests/test_io.py

[error] invalid-argument-type - :1412:43 - Argument to function `read_html` is incorrect: Expected `Literal["lxml", "html5lib", "bs4"] | Sequence[Literal["lxml", "html5lib", "bs4"]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :1414:41 - Argument to function `read_html` is incorrect: Expected `Literal["lxml", "html5lib", "bs4"] | Sequence[Literal["lxml", "html5lib", "bs4"]] | None`, found `list[Unknown | str]`

tests/test_pandas.py

[error] type-assertion-failure - :729:9 - Type `ndarray[tuple[int], dtype[integer[Any]]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :762:9 - Type `ndarray[tuple[int], dtype[integer[Any]]]` does not match asserted type `Unknown`

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

pandera/backends/polars/base.py

[error] invalid-argument-type - :143:13 - Method `__getitem__` of type `bound method defaultdict[str, int].__getitem__(key: str, /) -> int` cannot be called with key of type `Unknown | None` on object of type `defaultdict[str, int]`

tests/mypy/pandas_modules/pandas_dataframe.py

[error] no-matching-overload - :35:12 - No overload of bound method `pipe` matches arguments
[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]`

tests/pandas/test_dtypes.py

[error] invalid-assignment - :169 -
Old: Object of type `list[tuple[dict[Unknown, Unknown], list[Unknown]] | tuple[dict[Unknown | <class 'datetime'> | <class 'datetime64'> | ... omitted 4 union elements, Unknown | str], Series[pandas._libs.tslibs.timestamps.Timestamp]] | tuple[dict[Unknown | PeriodDtype, Unknown | str], Series[Period]] | tuple[dict[Unknown | <class 'SparseDtype'> | SparseDtype, Unknown | SparseDtype], Series[list[Unknown | int | None]]] | tuple[dict[Unknown | IntervalDtype, Unknown | str], Series[Interval[int | float]]]]` is not assignable to `list[tuple[dict[Unknown, Unknown], list[Unknown]]]`
New: Object of type `list[tuple[dict[Unknown, Unknown], list[Unknown]] | tuple[dict[Unknown | <class 'datetime'> | <class 'datetime64'> | ... omitted 4 union elements, Unknown | str], Series[pandas._libs.tslibs.timestamps.Timestamp]] | tuple[dict[Unknown | PeriodDtype, Unknown | str], Series[Period]] | tuple[dict[Unknown | <class 'SparseDtype'> | SparseDtype, Unknown | SparseDtype], Series[list[Unknown | int | None] & list[int | integer[Any] | None] & list[int | numpy.bool[builtins.bool] | None] & list[BaseOffset | int | None] & list[str | int | None] & list[list[str] | int | None] & list[int | None]]] | tuple[dict[Unknown | IntervalDtype, Unknown | str], Series[Interval[int | float]]]]` is not assignable to `list[tuple[dict[Unknown, Unknown], list[Unknown]]]`

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

paroxython/derived_labels_db.py

[error] invalid-argument-type - :189:13 - Method `__getitem__` of type `bound method defaultdict[LabelName, dict[Span, Any]].__getitem__(key: LabelName, /) -> dict[Span, Any]` cannot be called with key of type `str | Unknown` on object of type `defaultdict[LabelName, dict[Span, Any]]`

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

src/pip/_vendor/resolvelib/structs.py

[error] invalid-argument-type - :206:34 - Argument to bound method `__init__` is incorrect: Expected `Sequence[CT@build_iter_view]`, found `(Iterable[CT@build_iter_view] & Sequence[object] & ~(() -> object)) | list[CT@build_iter_view]`
[error] invalid-argument-type - :203 -
Old: Argument to bound method `__init__` is incorrect: Expected `() -> Iterable[Unknown]`, found `(Iterable[CT@build_iter_view] & (() -> object)) | (() -> Iterable[CT@build_iter_view])`
New: Argument to bound method `__init__` is incorrect: Expected `() -> Iterable[CT@build_iter_view]`, found `(Iterable[CT@build_iter_view] & (() -> object)) | (() -> Iterable[CT@build_iter_view])`

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/prefect/server/models/concurrency_limits_v2.py

[error] invalid-return-type - :16:12 - Return type does not match returned value: expected `ColumnElement[int | float]`, found `greatest[int]`
[error] invalid-return-type - :69:12 - Return type does not match returned value: expected `ColumnElement[int | float]`, found `greatest[int]`

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

pybind11 (https://github.com/pybind/pybind11)

tests/test_pytypes.py

[error] invalid-argument-type - :457 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Unknown | bytes | bytearray | ... omitted 5 union elements`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | bytes | bytearray | ... omitted 5 union elements`

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

pydantic/_internal/_generate_schema.py

[error] invalid-assignment - :2472:5 - Object of type `dict[Unknown | tuple[str, str], Unknown | ((f, schema) -> Unknown) | ((f, _) -> Unknown)]` is not assignable to `Mapping[tuple[Literal["before", "after", "wrap", "plain"], Literal["no-info", "with-info"]], ((...) -> Any, InvalidSchema | AnySchema | NoneSchema | ... omitted 49 union elements, /) -> InvalidSchema | AnySchema | NoneSchema | ... omitted 49 union elements]`

pydantic/v1/utils.py

[error] invalid-return-type - :613 -
Old: Return type does not match returned value: expected `Mapping[int | str, Any]`, found `AbstractSet[int | str] | Mapping[int | str, Any] | dict[Unknown, ellipsis]`
New: Return type does not match returned value: expected `Mapping[int | str, Any]`, found `AbstractSet[int | str] | Mapping[int | str, Any]`

pytest-robotframework (https://github.com/detachhead/pytest-robotframework)

pytest_robotframework/__init__.py

[error] invalid-argument-type - :301:22 - Argument to bound method `__init__` is incorrect: Expected `nullcontext[None]`, found `nullcontext[object]`

pywin32 (https://github.com/mhammond/pywin32)

setup.py

[error] invalid-argument-type - :549 -
Old: Argument to bound method `spawn` is incorrect: Expected `MutableSequence[str]`, found `list[Unknown | str | Path]`
New: Argument to bound method `spawn` is incorrect: Expected `MutableSequence[str]`, found `list[str | Path]`

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

rotkehlchen/chain/ethereum/modules/yearn/utils.py

[error] invalid-argument-type - :71:17 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 25 literals]]`, found `list[Unknown | CacheType]`

rotkehlchen/chain/evm/decoding/curve/lend/utils.py

[error] invalid-argument-type - :107:13 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 25 literals]]`, found `list[Unknown | CacheType | ChecksumAddress]`
[error] invalid-argument-type - :112:13 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 25 literals]]`, found `list[Unknown | CacheType | ChecksumAddress]`
[error] invalid-argument-type - :118:17 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 25 literals]]`, found `list[Unknown | CacheType | ChecksumAddress]`

rotkehlchen/chain/evm/decoding/thegraph/constants.py

[error] invalid-assignment - :15:60 - Object of type `list[Unknown | dict[Unknown | str, Unknown | bool | list[Unknown | dict[Unknown | str, Unknown | bool | str]] | str]]` is not assignable to `Sequence[ABIEvent]`

rotkehlchen/chain/evm/decoding/velodrome/decoder.py

[error] invalid-argument-type - :477:17 - Argument to function `globaldb_get_general_cache_values` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_LP_TOKENS, CacheType.CURVE_POOL_TOKENS, CacheType.VELODROME_POOL_ADDRESS, CacheType.VELODROME_GAUGE_ADDRESS, CacheType.VELODROME_GAUGE_BRIBE_ADDRESS, ... omitted 21 literals]]`, found `list[Unknown | CacheType]`
[error] invalid-argument-type - :483:17 - Argument to function `globaldb_get_general_cache_values` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_LP_TOKENS, CacheType.CURVE_POOL_TOKENS, CacheType.VELODROME_POOL_ADDRESS, CacheType.VELODROME_GAUGE_ADDRESS, CacheType.VELODROME_GAUGE_BRIBE_ADDRESS, ... omitted 21 literals]]`, found `list[Unknown | CacheType]`

rotkehlchen/balances/historical.py

[error] invalid-assignment - :73 -
Old: Invalid subscript assignment with key of type `Unknown` and value of type `dict[Unknown | str, Unknown | Price]` on object of type `dict[Asset, HistoricalBalance]`
New: Invalid subscript assignment with key of type `Asset` and value of type `dict[Unknown | str, Unknown | FVal]` on object of type `dict[Asset, HistoricalBalance]`

rotkehlchen/chain/arbitrum_one/modules/arbitrum_one_bridge/decoder.py

[error] invalid-assignment - :50 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/arbitrum_one/modules/umami/constants.py

[error] invalid-assignment - :9 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/base/modules/echo/constants.py

[error] invalid-assignment - :23 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/base/modules/runmoney/constants.py

[error] invalid-assignment - :8 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/constants.py

[error] invalid-assignment - :21 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/ethereum/airdrops.py

[error] invalid-assignment - :68 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :70 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/ethereum/defi/price.py

[error] invalid-argument-type - :280 -
Old: Argument is incorrect: Expected `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`, found `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]`
New: Argument is incorrect: Expected `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`, found `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]`

rotkehlchen/chain/ethereum/modules/curve/crvusd/constants.py

[error] invalid-assignment - :8 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | str | list[Unknown] | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :9 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | str | list[Unknown] | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/ethereum/modules/eigenlayer/balances.py

[error] invalid-assignment - :33 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/ethereum/modules/eigenlayer/constants.py

[error] invalid-assignment - :43 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str] | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/ethereum/modules/hedgey/constants.py

[error] invalid-assignment - :11 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str] | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str | list[Unknown]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/ethereum/modules/juicebox/constants.py

[error] invalid-assignment - :10 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/ethereum/modules/lido_csm/constants.py

[error] invalid-assignment - :18 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :20 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :22 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :52 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/aura_finance/constants.py

[error] invalid-assignment - :19 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str] | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/balancer/constants.py

[error] invalid-assignment - :77 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/balancer/v3/constants.py

[error] invalid-assignment - :14 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/beefy_finance/constants.py

[error] invalid-assignment - :12 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :13 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str] | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/constants.py

[error] invalid-assignment - :34 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str] | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/curve/lend/constants.py

[error] invalid-assignment - :5 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | str | list[Unknown] | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :6 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | str | list[Unknown] | list[Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/curve/lend/decoder.py

[error] invalid-argument-type - :122:21 - Argument to function `globaldb_get_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 25 literals]]`, found `list[Unknown | CacheType | str]`

rotkehlchen/chain/evm/decoding/gitcoinv2/constants.py

[error] invalid-argument-type - :27:66 - Invalid argument to key "inputs" with declared type `Sequence[ABIComponentIndexed]` on TypedDict `ABIEvent`: value of type `list[Unknown | dict[Unknown | str, Unknown | bool | str]]`
[error] invalid-argument-type - :29:71 - Invalid argument to key "inputs" with declared type `Sequence[ABIComponentIndexed]` on TypedDict `ABIEvent`: value of type `list[Unknown | dict[Unknown | str, Unknown | bool | str] | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | bool | str]]`
[error] invalid-assignment - :24 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str | list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str] | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]] | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/giveth/balances.py

[error] invalid-assignment - :28 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/morpho/constants.py

[error] invalid-assignment - :6 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/pendle/constants.py

[error] invalid-assignment - :25 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/quickswap/v3/constants.py

[error] invalid-assignment - :8 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :9 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/quickswap/v4/constants.py

[error] invalid-assignment - :7 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :8 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/stakedao/constants.py

[error] invalid-assignment - :13 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | str | list[Unknown] | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :14 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/thegraph/decoder.py

[error] invalid-assignment - :40 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown] | str | list[Unknown | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/uniswap/v4/constants.py

[error] invalid-assignment - :12 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str] | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str | list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str] | dict[Unknown | str, Unknown | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 5 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
[error] invalid-assignment - :13 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/decoding/velodrome/constants.py

[error] invalid-assignment - :16 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str | list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/evm/proxies_inquirer.py

[error] invalid-argument-type - :57 -
Old: Argument is incorrect: Expected `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`, found `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]`
New: Argument is incorrect: Expected `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`, found `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]`

rotkehlchen/chain/gnosis/node_inquirer.py

[error] invalid-assignment - :37 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/chain/gnosis/transactions.py

[error] invalid-assignment - :24 -
Old: Object of type `list[Unknown | dict[Unknown | str, Unknown | bool | list[Unknown | dict[Unknown | str, Unknown | bool | str]] | str]]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`
New: Object of type `list[ABIFunction | ABIConstructor | ABIFallback | ... omitted 4 union elements]` is not assignable to `Sequence[ABIFunction | ABIConstructor | ABIFallback | ... omitted 3 union elements]`

rotkehlchen/tests/unit/decoders/test_curve_lend.py

[error] invalid-argument-type - :84:13 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 25 literals]]`, found `list[Unknown | CacheType | ChecksumAddress]`

rotkehlchen/tests/unit/test_evm_names.py

[error] invalid-assignment - :40:49 - Object of type `dict[Unknown | str, Unknown | str]` is not assignable to `Mapping[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"], str]`
[error] invalid-argument-type - :49:59 - Argument to bound method `get_prioritized_names` is incorrect: Expected `Sequence[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"]]`, found `list[str]`
[error] invalid-assignment - :66:56 - Object of type `dict[Unknown | str, Unknown | None | str]` is not assignable to `Mapping[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"], str | None]`
[error] invalid-argument-type - :75:59 - Argument to bound method `get_prioritized_names` is incorrect: Expected `Sequence[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"]]`, found `list[str]`

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

src/scikit_build_core/build/_pathutil.py

[error] invalid-argument-type - :25:38 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `DirEntry[Path]`
[error] invalid-argument-type - :27:24 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `DirEntry[Path]`

src/scikit_build_core/_logging.py

[warning] unsupported-base - :153:13 - Unsupported class base with type `<class 'Mapping[str, Style]'> | <class 'Mapping[str, Divergent]'>`

tests/test_settings.py

[error] invalid-argument-type - :700 -
Old: Argument to bound method `__init__` is incorrect: Expected `Mapping[str, str | list[str] | bool]`, found `dict[Unknown | str, Unknown | list[Unknown | dict[Unknown | str, Unknown | str]]]`
New: Argument to bound method `__init__` is incorrect: Expected `Mapping[str, str | list[str] | bool]`, found `dict[str, str | list[str] | bool | list[str | dict[Unknown | str, Unknown | str]]]`

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/linear_model/_linear_loss.py

[error] invalid-argument-type - :755 -
Old: Argument to function `multi_dot` is incorrect: Expected `Iterable[_SupportsArray[dtype[bool[bool] | number[Any, int | float | complex]]] | _NestedSequence[_SupportsArray[dtype[bool[bool] | number[Any, int | float | complex]]]] | int | ... omitted 7 union elements]`, found `list[Unknown | dia_matrix[Any]]`
New: Argument to function `multi_dot` is incorrect: Expected `Iterable[_SupportsArray[dtype[bool[bool] | number[Any, int | float | complex]]] | _NestedSequence[_SupportsArray[dtype[bool[bool] | number[Any, int | float | complex]]]] | int | ... omitted 7 union elements]`, found `list[_SupportsArray[dtype[bool[bool] | number[Any, int | float | complex]]] | _NestedSequence[_SupportsArray[dtype[bool[bool] | number[Any, int | float | complex]]]] | int | ... omitted 9 union elements]`

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

scipy/stats/_ksstats.py

[error] invalid-argument-type - :529:39 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`

scipy/_lib/array_api_extra/tests/test_lazy.py

[error] invalid-argument-type - :228:15 - Argument to bound method `__init__` is incorrect: Expected `nullcontext[None]`, found `nullcontext[object]`

scipy/integrate/tests/test_quadrature.py

[error] invalid-argument-type - :120:31 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :141:31 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`

scipy/signal/tests/test_signaltools.py

[error] invalid-argument-type - :1824:42 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :1825:25 - Argument to function `__new__` is incorrect: Expected `Sequence[Sequence[Literal["aligned", "allocate", "arraymask", "copy", "config", ... omitted 10 literals]]] | None`, found `list[Unknown | list[Unknown | str]]`

scipy/special/_basic.py

[error] invalid-argument-type - :3225:44 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :3257:9 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :3258:9 - Argument to function `__new__` is incorrect: Expected `Sequence[Sequence[Literal["aligned", "allocate", "arraymask", "copy", "config", ... omitted 10 literals]]] | None`, found `list[Unknown | list[Unknown | str]]`

scipy/special/tests/test_orthogonal_eval.py

[error] invalid-argument-type - :56 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Unknown | int`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | int`
[error] invalid-argument-type - :161 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `Unknown | int`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | int`

scipy/stats/_continuous_distns.py

[error] invalid-argument-type - :5266:28 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :5267:28 - Argument to function `__new__` is incorrect: Expected `Sequence[Sequence[Literal["aligned", "allocate", "arraymask", "copy", "config", ... omitted 10 literals]]] | None`, found `list[Unknown | list[Unknown | str]]`
[error] invalid-argument-type - :11872:28 - Argument to function `__new__` is incorrect: Expected `Sequence[Literal["buffered", "c_index", "copy_if_overlap", "common_dtype", "delay_bufalloc", ... omitted 9 literals]] | None`, found `list[Unknown | str]`
[error] invalid-argument-type - :11873:28 - Argument to function `__new__` is incorrect: Expected `Sequence[Sequence[Literal["aligned", "allocate", "arraymask", "copy", "config", ... omitted 10 literals]]] | None`, found `list[Unknown | list[Unknown | str]]`

scipy-stubs (https://github.com/scipy/scipy-stubs)

tests/sparse/test_construct.pyi

[error] type-assertion-failure - :291:1 - Type `coo_array[bool[bool], tuple[int, int]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :301:1 - Type `dok_array[bool[bool], tuple[int, int]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :253 -
Old: Type `bsr_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `Unknown`
New: Type `bsr_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `bsr_array[bool[bool]]`
[error] type-assertion-failure - :254 -
Old: Type `bsr_array[signedinteger[_64Bit]]` does not match asserted type `Unknown`
New: Type `bsr_array[signedinteger[_64Bit]]` does not match asserted type `bsr_array[bool[bool]]`
[error] type-assertion-failure - :255 -
Old: Type `bsr_array[float64]` does not match asserted type `Unknown`
New: Type `bsr_array[float64]` does not match asserted type `bsr_array[bool[bool]]`
[error] type-assertion-failure - :256 -
Old: Type `bsr_array[complex128]` does not match asserted type `Unknown`
New: Type `bsr_array[complex128]` does not match asserted type `bsr_array[bool[bool]]`
[error] type-assertion-failure - :257 -
Old: Type `coo_array[complexfloating[_32Bit, _32Bit], tuple[int, int]]` does not match asserted type `Unknown`
New: Type `coo_array[complexfloating[_32Bit, _32Bit], tuple[int, int]]` does not match asserted type `coo_array[bool[bool], tuple[int, int]]`
[error] type-assertion-failure - :258 -
Old: Type `csc_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `Unknown`
New: Type `csc_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `csc_array[bool[bool]]`
[error] type-assertion-failure - :259 -
Old: Type `csr_array[complexfloating[_32Bit, _32Bit], tuple[int, int]]` does not match asserted type `Unknown`
New: Type `csr_array[complexfloating[_32Bit, _32Bit], tuple[int, int]]` does not match asserted type `csr_array[bool[bool], tuple[int, int]]`
[error] type-assertion-failure - :260 -
Old: Type `dia_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `Unknown`
New: Type `dia_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `dia_array[bool[bool]]`
[error] type-assertion-failure - :261 -
Old: Type `dok_array[complexfloating[_32Bit, _32Bit], tuple[int, int]]` does not match asserted type `Unknown`
New: Type `dok_array[complexfloating[_32Bit, _32Bit], tuple[int, int]]` does not match asserted type `dok_array[bool[bool], tuple[int, int]]`
[error] type-assertion-failure - :262 -
Old: Type `lil_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `Unknown`
New: Type `lil_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `lil_array[bool[bool]]`
[error] type-assertion-failure - :292 -
Old: Type `coo_array[signedinteger[_64Bit], tuple[int, int]]` does not match asserted type `Unknown`
New: Type `coo_array[signedinteger[_64Bit], tuple[int, int]]` does not match asserted type `coo_array[bool[bool], tuple[int, int]]`
[error] type-assertion-failure - :298 -
Old: Type `csc_array[float64]` does not match asserted type `Unknown`
New: Type `csc_array[float64]` does not match asserted type `csc_array[bool[bool]]`
[error] type-assertion-failure - :299 -
Old: Type `csr_array[complex128, tuple[int, int]]` does not match asserted type `Unknown`
New: Type `csr_array[complex128, tuple[int, int]]` does not match asserted type `csr_array[bool[bool], tuple[int, int]]`
[error] type-assertion-failure - :300 -
Old: Type `dia_array[signedinteger[_64Bit]]` does not match asserted type `Unknown`
New: Type `dia_array[signedinteger[_64Bit]]` does not match asserted type `dia_array[bool[bool]]`
[error] type-assertion-failure - :302 -
Old: Type `lil_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `Unknown`
New: Type `lil_array[complexfloating[_32Bit, _32Bit]]` does not match asserted type `lil_array[bool[bool]]`

tests/stats/test_mode.pyi

[error] type-assertion-failure - :29:1 - Type `signedinteger[_64Bit]` does not match asserted type `Unknown`
[error] type-assertion-failure - :44:1 - Type `signedinteger[_64Bit]` does not match asserted type `Unknown`
[error] type-assertion-failure - :49:1 - Type `signedinteger[_64Bit]` does not match asserted type `Unknown`

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

tests/test_contracts.py

[error] invalid-argument-type - :571 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[type[Contract]]`, found `list[Unknown | CustomFailContractPreProcess]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[type[Contract]]`, found `list[type[Contract] | CustomFailContractPreProcess]`
[error] invalid-argument-type - :585 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[type[Contract]]`, found `list[Unknown | CustomFailContractPostProcess]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[type[Contract]]`, found `list[type[Contract] | CustomFailContractPostProcess]`

tests/test_http_response.py

[error] invalid-argument-type - :282 -
Old: Argument to bound method `follow_all` is incorrect: Expected `Iterable[str | Link]`, found `list[Unknown | None]`
New: Argument to bound method `follow_all` is incorrect: Expected `Iterable[str | Link]`, found `list[str | Link | None] & list[Unknown | None]`
[error] invalid-argument-type - :291 -
Old: Argument to bound method `follow_all` is incorrect: Expected `Iterable[str | Link]`, found `list[Unknown | None]`
New: Argument to bound method `follow_all` is incorrect: Expected `Iterable[str | Link]`, found `list[str | Link | None] & list[Unknown | None]`

tests/test_pipeline_files.py

[error] invalid-assignment - :368 -
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 - :369 -
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 - :371 -
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 - :372 -
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/_distutils/dist.py

[error] invalid-return-type - :74 -
Old: Return type does not match returned value: expected `str | list[str]`, found `Iterable[str] | list[Unknown]`
New: Return type does not match returned value: expected `str | list[str]`, found `Iterable[str]`

setuptools/_vendor/inflect/__init__.py

[error] no-matching-overload - :3001:13 - No overload of bound method `join` matches arguments

setuptools/glob.py

[error] invalid-argument-type - :34:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[AnyStr@glob]`, found `Iterator[str]`
[error] invalid-argument-type - :34:23 - Argument to function `iglob` is incorrect: Expected `str`, found `AnyStr@glob`

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

lib/spack/spack/vendor/jinja2/environment.py

[error] invalid-argument-type - :1114 -
Old: Argument to bound method `__init__` is incorrect: Expected `MutableMapping[Unknown, Unknown]`, found `Mapping[str, Any] | dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `MutableMapping[str, Any]`, found `Mapping[str, Any]`

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

static_frame/core/frame.py

[error] invalid-argument-type - :3356 -
Old: Argument to function `index_from_optional_constructors` is incorrect: Expected `Iterable[Hashable]`, found `Unknown | list[Unknown] | None`
New: Argument to function `index_from_optional_constructors` is incorrect: Expected `Iterable[Hashable]`, found `ndarray[Any, Any] | Unknown | list[ndarray[Any, Any]] | None`

static_frame/core/index_hierarchy.py

[warning] unused-ignore-comment - :567:44 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :313 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `(((...) -> IndexBase) & ~(() -> object)) | (@Todo & ~None & ~(() -> object)) | (Iterable[((...) -> IndexBase) | @Todo | None] & ~(() -> object))`
New: Argument to class `tuple` is incorrect: Expected `Iterable[((...) -> IndexBase) | @Todo | None]`, found `(((...) -> IndexBase) & ~(() -> object)) | (@Todo & ~None & ~(() -> object)) | (Iterable[((...) -> IndexBase) | @Todo | None] & ~(() -> object))`

static_frame/core/reduce.py

[warning] unused-ignore-comment - :243:55 - Unused blanket `type: ignore` directive

static_frame/profile/__main__.py

[warning] unused-ignore-comment - :2561:70 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :2562:70 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_series.py

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

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

strawberry/federation/schema.py

[error] invalid-assignment - :80 -
Old: Object of type `list[Unknown | NewType]` is not assignable to `Iterable[type]`
New: Object of type `list[type | NewType]` is not assignable to `Iterable[type]`

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

sympy/combinatorics/fp_groups.py

[error] invalid-argument-type - :25 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `bound method FpGroup._generators() -> Unknown`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `bound method FpGroup._generators() -> Unknown`

sympy/core/tests/test_match.py

[error] invalid-argument-type - :418 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | <class 'sin'>]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Expr | int | float | complex | <class 'sin'>]`

sympy/core/tests/test_subs.py

[error] no-matching-overload - :558:12 - No overload of bound method `subs` matches arguments

sympy/functions/special/bessel.py

[error] invalid-argument-type - :1526 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1527 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1528 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1529 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1703 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1704 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1705 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1706 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1858 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1859 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1860 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :1861 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :2022 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :2023 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :2024 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`
[error] invalid-argument-type - :2025 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Unknown | Basic]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Expr | int | float | complex]`, found `list[Basic | int | float | complex]`

sympy/geometry/plane.py

[error] invalid-argument-type - :66 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :193 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`

sympy/matrices/matrixbase.py

[error] invalid-return-type - :3200 -
Old: Return type does not match returned value: expected `MatrixBase | MatrixExpr`, found `list[Unknown | list[Unknown | Expr]]`
New: Return type does not match returned value: expected `MatrixBase | MatrixExpr`, found `list[Expr | int | float | complex | list[Unknown | Expr]] & list[Unknown | list[Unknown | Expr]]`
[error] invalid-assignment - :3951 -
Old: Object of type `list[MatrixBase | list[Unknown | One]]` is not assignable to `list[MatrixBase]`
New: Object of type `list[MatrixBase | (list[Expr | int | float | complex] & list[Unknown | One])]` is not assignable to `list[MatrixBase]`

sympy/matrices/tests/test_commonmatrix.py

[error] invalid-argument-type - :1060 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :1061 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :1062 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :1063 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`

sympy/matrices/tests/test_matrixbase.py

[error] invalid-argument-type - :658 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :659 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :660 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :661 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`

sympy/polys/domains/tests/test_domains.py

[error] invalid-argument-type - :816 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int]]`

sympy/polys/tests/test_densearith.py

[error] invalid-argument-type - :160 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int]]`
[error] invalid-argument-type - :161 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int]]`
[error] invalid-argument-type - :174 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int]]`
[error] invalid-argument-type - :175 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int] | list[Unknown]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int] | list[Unknown]]`

sympy/polys/tests/test_galoistools.py

[error] invalid-argument-type - :552 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int]]`
[error] invalid-argument-type - :617 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int]]`
[error] invalid-argument-type - :625 -
Old: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[Unknown | list[Unknown | int]]`
New: Argument to bound method `map` is incorrect: Expected `Iterable[int | MPZ]`, found `list[int | MPZ | list[Unknown | int]]`

sympy/stats/joint_rv_types.py

[error] invalid-argument-type - :192 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `ImmutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `ImmutableDenseMatrix`

sympy/utilities/tests/test_wester.py

[error] invalid-argument-type - :1467 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `MutableDenseMatrix`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`

trio (https://github.com/python-trio/trio)

src/trio/_channel.py

[error] invalid-argument-type - :250 -
Old: Argument to bound method `_create` is incorrect: Expected `<class 'MemorySendChannel[SendType@MemorySendChannel]'>`, found `<class 'MemorySendChannel'>`
New: Argument to bound method `_create` is incorrect: Expected `<class 'MemorySendChannel[Unknown]'>`, found `<class 'MemorySendChannel'>`
[error] invalid-argument-type - :402 -
Old: Argument to bound method `_create` is incorrect: Expected `<class 'MemoryReceiveChannel[ReceiveType@MemoryReceiveChannel]'>`, found `<class 'MemoryReceiveChannel'>`
New: Argument to bound method `_create` is incorrect: Expected `<class 'MemoryReceiveChannel[Unknown]'>`, found `<class 'MemoryReceiveChannel'>`

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

test/with_dummyserver/test_https.py

[error] invalid-argument-type - :760:21 - Argument to bound method `__init__` is incorrect: Expected `nullcontext[None]`, found `nullcontext[object]`

vision (https://github.com/pytorch/vision)

test/test_transforms_v2.py

[error] invalid-argument-type - :3700 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int] | None`, found `list[Unknown | int | float]`
New: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int] | None`, found `list[int | float] & list[Unknown | int | float]`
[error] invalid-argument-type - :3706 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int] | None`, found `list[Unknown | float]`
New: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int] | None`, found `list[int | float] & list[Unknown | float]`
[error] invalid-argument-type - :4721 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int]`, found `list[Unknown | int | float]`
New: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int]`, found `list[int | float] & list[Unknown | int | float]`
[error] invalid-argument-type - :4727 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int]`, found `list[Unknown | float]`
New: Argument to bound method `__init__` is incorrect: Expected `int | Sequence[int]`, found `list[int | float] & list[Unknown | float]`

torchvision/ops/poolers.py

[error] invalid-argument-type - :283 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `tuple[int] | list[int] | int`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `tuple[int] | list[int] | int`

torchvision/prototype/utils/_internal.py

[error] invalid-argument-type - :34 -
Old: Argument is incorrect: Expected `Sequence[str]`, found `(Collection[str] & Sequence[object]) | list[Unknown]`
New: Argument is incorrect: Expected `Sequence[str]`, found `Collection[str] & Sequence[object]`

werkzeug (https://github.com/pallets/werkzeug)

tests/test_routing.py

[error] invalid-argument-type - :615 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[Rule]`, found `list[Unknown | Submount | EndpointPrefix | Subdomain]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[Rule]`, found `list[Rule | Submount | EndpointPrefix | Subdomain]`

tests/test_send_file.py

[error] invalid-argument-type - :131 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[tuple[str, str] | str, Unknown | str]`

tests/test_test.py

[error] invalid-argument-type - :223 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[tuple[str, str] | str, Unknown | str]`
[error] invalid-argument-type - :227 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[tuple[str, str] | str, Unknown | str]`

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

xarray/coding/cftime_offsets.py

[error] invalid-assignment - :687 -
Old: Object of type `dict[Unknown | str, Unknown | type[BaseCFTimeOffset] | partial[Unknown]]` is not assignable to `Mapping[str, type[BaseCFTimeOffset]]`
New: Object of type `dict[str, type[BaseCFTimeOffset] | partial[Unknown]]` is not assignable to `Mapping[str, type[BaseCFTimeOffset]]`

xarray/core/dataset.py

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

xarray/core/datatree.py

[error] invalid-argument-type - :1341 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[tuple[str | Unknown, _CoordWrapper]]`, found `Iterable[tuple[str, Unknown]] | ItemsView[str, DataArray | Variable | Any | ... omitted 9 union elements] | dict_items[Unknown, Unknown]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[tuple[str, _CoordWrapper]]`, found `Iterable[tuple[str, DataArray | Variable | Any | ... omitted 9 union elements]]`

xarray/core/treenode.py

[error] invalid-return-type - :166 -
Old: Return type does not match returned value: expected `Mapping[str, Self@children]`, found `Frozen[str, typing.Self]`
New: Return type does not match returned value: expected `Mapping[str, Self@children]`, found `Frozen[str, Self@children | typing.Self]`

xarray/core/utils.py

[error] no-matching-overload - :848:32 - No overload of bound method `tolist` matches arguments
[error] invalid-assignment - :850:13 - Invalid subscript assignment with key of type `K@decode_numpy_dict_values` and value of type `object` on object of type `dict[K@decode_numpy_dict_values, V@decode_numpy_dict_values]`

xarray/tests/test_backends.py

[error] invalid-argument-type - :3784:34 - Argument to bound method `__init__` is incorrect: Expected `MutableMapping[str, bool | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]]]`, found `dict[str, bool]`
[error] invalid-argument-type - :3784:47 - Argument to bound method `__init__` is incorrect: Expected `MutableMapping[str, bool | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]]]`, found `dict[str, dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]]]`
[error] invalid-argument-type - :3801:25 - Argument to bound method `__init__` is incorrect: Expected `MutableMapping[str, bool | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]]]`, found `dict[str, bool]`
[error] invalid-argument-type - :3801:38 - Argument to bound method `__init__` is incorrect: Expected `MutableMapping[str, bool | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]]]`, found `dict[str, dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | int]]]`

xarray/tests/test_concat.py

[warning] unused-ignore-comment - :1463:38 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1468:38 - Unused blanket `type: ignore` directive

xarray/tests/test_dataarray.py

[error] invalid-argument-type - :2692 -
Old: Argument to function `__new__` is incorrect: Expected `Sequence[SequenceNotStr[Hashable]]`, found `list[Unknown | Index[Any]]`
New: Argument to function `__new__` is incorrect: Expected `Sequence[SequenceNotStr[Hashable]]`, found `list[SequenceNotStr[Hashable] | Index[Any]]`

zope.interface (https://github.com/zopefoundation/zope.interface)

src/zope/interface/__init__.py

[error] invalid-argument-type - :88 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `<class 'IInterfaceDeclaration'>`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `<class 'IInterfaceDeclaration'>`

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

zerver/actions/message_send.py

[error] invalid-assignment - :1136 -
Old: Object of type `dict[str, Unknown | None]` is not assignable to `UserData`
New: Object of type `dict[str, Unknown | list[str] | None]` is not assignable to `UserData`

zerver/actions/streams.py

[error] unresolved-attribute - :432:58 - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - :768:16 - Object of type `UserProfile` has no attribute `realm_id`
[error] unresolved-attribute - :806:16 - Object of type `Subscription` has no attribute `recipient_id`
[error] unresolved-attribute - :807:42 - Object of type `Subscription` has no attribute `recipient_id`
[error] unresolved-attribute - :808:49 - Object of type `Subscription` has no attribute `recipient_id`
[error] unresolved-attribute - :976:17 - Object of type `Stream` has no attribute `recipient_id`
[error] unresolved-attribute - :1071:16 - Object of type `Stream` has no attribute `realm_id`
[error] unresolved-attribute - :1074:16 - Object of type `UserProfile` has no attribute `realm_id`
[error] unresolved-attribute - :1076:20 - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - :1081:23 - Object of type `Stream` has no attribute `id`

zerver/lib/event_schema.py

[error] invalid-argument-type - :341 -
Old: Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `object`
New: Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `object`