Summary

Comparing branches/commits:
Old: main (merge base) b9c84add
New: 20368/merge 2ee20275
Lint Rule Removed Added Changed
Total 175 281 79
invalid-argument-type 27 141 60
unused-ignore-comment 51 10 0
invalid-return-type 44 4 8
possibly-missing-attribute 2 36 3
invalid-assignment 10 19 8
no-matching-overload 1 35 0
unresolved-attribute 15 11 0
unsupported-operator 7 6 0
redundant-cast 10 0 0
type-assertion-failure 3 5 0
index-out-of-bounds 3 3 0
not-iterable 1 5 0
call-non-callable 1 3 0
possibly-missing-implicit-call 0 3 0

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

github/MainClass.py

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

github/Requester.py

[error] invalid-assignment - :499:9 - Object of type `Literal[b""]` is not assignable to `str`

aiohttp (https://github.com/aio-libs/aiohttp)

aiohttp/web.py

[error] invalid-argument-type - :389:29 - Argument to bound method `__init__` is incorrect: Expected `socket`, found `object`

antidote (https://github.com/Finistere/antidote)

src/antidote/lib/interface_ext/_internal.py

[error] invalid-argument-type - :132:27 - Argument to bound method `append` is incorrect: Expected `Predicate[Weight@create_conditions] | Weight@create_conditions | NeutralWeight | None | bool`, found `QualifiedBy`
[error] invalid-argument-type - :134:27 - Argument to bound method `append` is incorrect: Expected `Predicate[Weight@create_conditions] | Weight@create_conditions | NeutralWeight | None | bool`, found `QualifiedBy`

tests/core/test_wiring.py

[warning] unused-ignore-comment - :204:36 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :317:42 - Unused blanket `type: ignore` directive

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

src/anyio/_core/_contextmanagers.py

[error] invalid-return-type - :72:16 - Return type does not match returned value: expected `_T_co@__enter__`, found `object`
[error] invalid-return-type - :165:16 - Return type does not match returned value: expected `_T_co@__aenter__`, found `object`

src/anyio/_core/_sockets.py

[error] invalid-argument-type - :976:39 - Argument is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `(str & ~ByteStreamConnectable) | (bytes & ~ByteStreamConnectable) | (tuple[str | IPv4Address | IPv6Address, int] & PathLike[object] & ~ByteStreamConnectable) | (PathLike[str] & ~ByteStreamConnectable)`
[error] invalid-argument-type - :974:38 -
Old: Argument is incorrect: Expected `int`, found `str | IPv4Address | IPv6Address | int`
New: Argument is incorrect: Expected `int`, found `object`
[error] invalid-argument-type - :974:38 -
Old: Argument is incorrect: Expected `str | IPv4Address | IPv6Address`, found `str | IPv4Address | IPv6Address | int`
New: Argument is incorrect: Expected `int`, found `object`
[error] invalid-argument-type - :974:38 - Argument is incorrect: Expected `str | IPv4Address | IPv6Address`, found `object`

arviz (https://github.com/arviz-devs/arviz)

arviz/stats/stats.py

[error] invalid-argument-type - :2032:41 - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None | tuple[()]`

arviz/tests/base_tests/test_data.py

[error] invalid-argument-type - :374:16 - Argument to function `concat` is incorrect: Expected `Iterable[InferenceData]`, found `Literal["hello"]`

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

tests/test_validators.py

[error] invalid-argument-type - :1339:27 - Argument to function `not_` is incorrect: Expected `type[Exception] | Iterable[type[Exception]]`, found `tuple[<class 'str'>, <class 'int'>]`

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

src/bokeh/core/property_mixins.py

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

src/bokeh/layouts.py

[error] invalid-argument-type - :688:45 - Argument to function `_create_grid` is incorrect: Expected `Iterable[UIElement | list[UIElement]]`, found `(UIElement & Top[list[Unknown]]) | list[UIElement]`

src/bokeh/model/model.py

[error] invalid-return-type - :510:16 - Return type does not match returned value: expected `Iterable[bokeh.model.model.Model @ src/bokeh/model/model.py:79]`, found `Iterable[bokeh.model.model.Model @ src/bokeh/model/model.pyi:40]`

src/bokeh/plotting/_legends.py

[warning] possibly-missing-attribute - :75:12 - Attribute `label` on type `LegendItem | tuple[str, list[GlyphRenderer[Glyph]]]` may be missing
[error] invalid-return-type - :76:20 - Return type does not match returned value: expected `LegendItem | None`, found `LegendItem | tuple[str, list[GlyphRenderer[Glyph]]]`

cki-lib (https://gitlab.com/cki-project/cki-lib)

cki_lib/owners.py

[error] invalid-return-type - :242:16 - Return type does not match returned value: expected `None`, found `LiteralString`

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

cloudinit/stages.py

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

tests/unittests/sources/test_configdrive.py

[warning] possibly-missing-attribute - :1003:44 - Attribute `upper` on type `Unknown | str | None` may be missing

tests/unittests/test_ds_identify.py

[error] no-matching-overload - :1002:9 - No overload of bound method `update` matches arguments
[error] no-matching-overload - :1018:9 - No overload of bound method `update` matches arguments
[error] invalid-assignment - :1037:9 -
Old: Method `__setitem__` of type `Unknown | (Overload[(key: SupportsIndex, value: Unknown | dict[Unknown | str, Unknown | str | int], /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown | dict[Unknown | str, Unknown | str | int]], /) -> None]) | (bound method dict[Unknown | str, Unknown | str].__setitem__(key: Unknown | str, value: Unknown | str, /) -> None) | (Overload[(key: SupportsIndex, value: Unknown | str, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown | str], /) -> None])` cannot be called with a key of type `Literal["etc/cloud/ds-identify.cfg"]` and a value of type `LiteralString` on object of type `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]`
New: Method `__setitem__` of type `Unknown | (Overload[(key: SupportsIndex, value: Unknown | dict[Unknown | str, Unknown | str | int], /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown | dict[Unknown | str, Unknown | str | int]], /) -> None]) | (bound method dict[Unknown | str, Unknown | str].__setitem__(key: Unknown | str, value: Unknown | str, /) -> None) | (Overload[(key: SupportsIndex, value: Unknown | str, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown | str], /) -> None])` cannot be called with a key of type `Literal["etc/cloud/ds-identify.cfg"]` and a value of type `str` on object of type `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]`

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

colour/graph/conversion.py

[error] invalid-argument-type - :1121:30 - Argument is incorrect: Expected `(...) -> Unknown`, found `Unknown | str | ((sd: @Todo | SpectralDistribution | MultiSpectralDistributions, cmfs: MultiSpectralDistributions | None = None, illuminant: SpectralDistribution | None = None, k: @Todo | None = None, method: str = str, **kwargs: Any) -> @Todo) | ... omitted 60 union elements`
[error] invalid-argument-type - :1121:30 - Argument is incorrect: Expected `str`, found `Unknown | str | ((sd: @Todo | SpectralDistribution | MultiSpectralDistributions, cmfs: MultiSpectralDistributions | None = None, illuminant: SpectralDistribution | None = None, k: @Todo | None = None, method: str = str, **kwargs: Any) -> @Todo) | ... omitted 60 union elements`
[error] invalid-argument-type - :1121:30 - Argument is incorrect: Expected `str`, found `Unknown | str | ((sd: @Todo | SpectralDistribution | MultiSpectralDistributions, cmfs: MultiSpectralDistributions | None = None, illuminant: SpectralDistribution | None = None, k: @Todo | None = None, method: str = str, **kwargs: Any) -> @Todo) | ... omitted 60 union elements`

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

homeassistant/components/netgear/__init__.py

[error] invalid-argument-type - :96:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `def async_update_devices() -> CoroutineType[Any, Any, bool]`

homeassistant/helpers/redact.py

[error] call-non-callable - :63:33 - Object of type `object` is not callable

homeassistant/components/esphome/entity.py

[error] invalid-argument-type - :181:28 - Argument to bound method `__call__` is incorrect: Expected `Iterable[Entity]`, found `list[typing.TypeVar] & ~AlwaysFalsy`

homeassistant/components/iss/__init__.py

[error] invalid-argument-type - :58:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `def async_update() -> CoroutineType[Any, Any, IssData]`

homeassistant/components/lovelace/websocket.py

[error] invalid-argument-type - :58:46 -
Old: Argument to bound method `send_error` is incorrect: Expected `dict[str, Any] | None`, found `Literal["config_not_found", "No config found."]`
New: Argument to bound method `send_error` is incorrect: Expected `dict[str, Any] | None`, found `str`

homeassistant/components/peco/__init__.py

[error] invalid-argument-type - :73:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `def async_update_outage_data() -> CoroutineType[Any, Any, PECOCoordinatorData]`
[error] invalid-argument-type - :103:13 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `def async_update_meter_data() -> CoroutineType[Any, Any, bool]`

homeassistant/components/powerwall/__init__.py

[error] invalid-argument-type - :229:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `bound method PowerwallDataManager.async_update_data() -> CoroutineType[Any, Any, PowerwallData]`

homeassistant/components/recollect_waste/__init__.py

[error] invalid-argument-type - :60:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `def async_get_pickup_events() -> CoroutineType[Any, Any, list[Unknown]]`

homeassistant/components/sonos/media_browser.py

[error] invalid-return-type - :73:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

homeassistant/components/spotify/__init__.py

[error] invalid-argument-type - :81:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `def _update_devices() -> CoroutineType[Any, Any, list[Unknown]]`

homeassistant/components/tts/__init__.py

[error] invalid-argument-type - :371:41 - Argument to bound method `write` is incorrect: Expected `bytes | bytearray | memoryview[Unknown]`, found `object`

homeassistant/components/weather/__init__.py

[error] invalid-assignment - :973:13 - 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/wiz/__init__.py

[error] invalid-argument-type - :110:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `def _async_update() -> CoroutineType[Any, Any, int | float | None]`

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

tests/appsec/iast/aspects/test_side_effects.py

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

tests/tracer/test_http.py

[error] unresolved-attribute - :58:67 - Type `Literal[b""]` has no attribute `encode`

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

discord/channel.py

[error] unresolved-attribute - :632:31 - Type `object` has no attribute `id`
[error] unresolved-attribute - :639:39 - Type `object` has no attribute `id`
[error] unresolved-attribute - :1276:31 - Type `object` has no attribute `id`
[error] unresolved-attribute - :1283:39 - Type `object` has no attribute `id`

discord/threads.py

[error] unresolved-attribute - :491:26 - Type `object` has no attribute `id`
[error] unresolved-attribute - :498:39 - Type `object` has no attribute `id`

discord/utils.py

[warning] unused-ignore-comment - :815:84 - Unused blanket `type: ignore` directive

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

dragonchain/transaction_processor/level_5_actions_utest.py

[error] invalid-argument-type - :199:55 - Argument to function `verify_blocks` is incorrect: Expected `Iterable[bytes]`, found `list[Unknown | str]`

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

dulwich/bundle.py

[error] unresolved-attribute - :300:13 - Type `set[Unknown]` has no attribute `append`

dulwich/client.py

[error] invalid-return-type - :1885:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`
[error] invalid-return-type - :2143:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`
[error] invalid-return-type - :2997:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

dulwich/porcelain.py

[error] invalid-assignment - :924:13 - Object of type `list[Unknown | (str & ~AlwaysFalsy) | (bytes & ~AlwaysFalsy) | ... omitted 3 union elements]` is not assignable to `Sequence[str | bytes | PathLike[str]] | bytes | PathLike[str] | None`
[error] not-iterable - :925:18 - Object of type `Sequence[str | bytes | PathLike[str]] | (list[Unknown | str] & ~PathLike[object]) | bytes | PathLike[str] | None` may not be iterable

dulwich/worktree.py

[error] invalid-assignment - :283:13 - Object of type `list[Unknown | str | bytes | (Iterable[str | bytes | PathLike[str]] & PathLike[object]) | PathLike[str]]` is not assignable to `Iterable[str | bytes | PathLike[str]] | bytes | PathLike[str]`
[error] invalid-argument-type - :284:25 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Iterable[str | bytes | PathLike[str]] | bytes | PathLike[str]`

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

freqtrade/data/converter/trade_converter_kraken.py

[error] invalid-argument-type - :82:39 - Argument to function `trades_convert_types` is incorrect: Expected `DataFrame`, found `Series[Any]`

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

tests/type/test_directives.py

[warning] unused-ignore-comment - :74:46 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :160:57 - Unused blanket `type: ignore` directive

tests/type/test_schema.py

[warning] unused-ignore-comment - :384:52 - Unused blanket `type: ignore` directive

tests/utilities/test_ast_to_dict.py

[warning] unused-ignore-comment - :32:41 - Unused blanket `type: ignore` directive

src/graphql/error/graphql_error.py

[warning] unused-ignore-comment - :144:30 - Unused blanket `type: ignore` directive

tests/type/test_validation.py

[warning] unused-ignore-comment - :435:66 - Unused blanket `type: ignore` directive

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

hydpy/core/devicetools.py

[error] no-matching-overload - :2635:17 - No overload matches arguments

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

ibis/common/egraph.py

[error] unresolved-attribute - :732:44 - Type `list[Rewrite]` has no attribute `matcher`
[error] unresolved-attribute - :733:25 - Type `list[Rewrite]` has no attribute `applier`

ibis/backends/snowflake/__init__.py

[error] invalid-return-type - :573:16 - Return type does not match returned value: expected `Iterable[tuple[str, DataType]]`, found `Schema`

ibis/backends/snowflake/tests/test_udf.py

[error] no-matching-overload - :118:14 - No overload of function `concat` matches arguments

ibis/expr/format.py

[error] unresolved-attribute - :177:18 - Type `Node` has no attribute `op`
[warning] possibly-missing-attribute - :177:18 - Attribute `op` on type `Node | Unknown` may be missing

ibis/expr/types/relations.py

[error] no-matching-overload - :2691:13 - No overload of bound method `update` matches arguments
[error] invalid-assignment - :4412:9 - Object of type `list[Iterable[str]]` is not assignable to `Iterable[str]`
[error] invalid-argument-type - :4415:64 - Argument to function `len` is incorrect: Expected `Sized`, found `Iterable[str]`
[error] invalid-argument-type - :4857:37 - Argument to function `_to_selector` is incorrect: Expected `Sequence[str | Selector | Column] | Selector | Column`, found `list[Iterable[str] | Selector]`
[error] invalid-assignment - :1268:9 -
Old: Object of type `GeneratorType[@Todo, @Todo, @Todo]` is not assignable to `tuple[Iterable[str], ...]`
New: Object of type `GeneratorType[@Todo, @Todo, @Todo]` is not assignable to `tuple[Iterable[str] | Iterable[Value] | Iterable[Deferred], ...]`

ibis/formats/pandas.py

[error] invalid-assignment - :71:13 - Object of type `Top[list[Any]]` is not assignable to `Series[Any] | Iterable[tuple[str, dtype[Any] | ExtensionDtype]]`

ibis/tests/expr/test_table.py

[error] invalid-argument-type - :1617:23 -
Old: Argument to bound method `group_by` is incorrect: Expected `Iterable[str]`, found `(t) -> Unknown`
New: Argument to bound method `group_by` is incorrect: Expected `Iterable[str] | Iterable[Value]`, found `(t) -> Unknown`

ibis/util.py

[error] invalid-return-type - :109:16 -
Old: Return type does not match returned value: expected `list[V@promote_list]`, found `Top[list[Unknown]]`
New: Return type does not match returned value: expected `list[V@promote_list]`, found `(V@promote_list & Top[list[Unknown]]) | (Iterable[V@promote_list] & Top[list[Unknown]])`
[error] invalid-return-type - :111:16 -
Old: Return type does not match returned value: expected `list[V@promote_list]`, found `list[Unknown | Top[dict[Unknown, Unknown]]]`
New: Return type does not match returned value: expected `list[V@promote_list]`, found `list[Unknown | (V@promote_list & Top[dict[Unknown, Unknown]]) | (Iterable[V@promote_list] & Top[dict[Unknown, Unknown]])]`
[error] invalid-return-type - :134:16 -
Old: Return type does not match returned value: expected `tuple[V@promote_tuple]`, found `tuple[object, ...]`
New: Return type does not match returned value: expected `tuple[V@promote_tuple]`, found `(V@promote_tuple & tuple[object, ...]) | (Iterable[V@promote_tuple] & tuple[object, ...])`

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

ignite/engine/engine.py

[warning] unused-ignore-comment - :953:35 - Unused blanket `type: ignore` directive

ignite/handlers/time_profilers.py

[warning] unused-ignore-comment - :99:65 - Unused blanket `type: ignore` directive

tests/ignite/metrics/test_accuracy.py

[warning] possibly-missing-attribute - :445:22 -
Old: Attribute `item` on type `Unknown | int | float` may be missing
New: Attribute `item` on type `Unknown | int | float | str` may be missing

isort (https://github.com/pycqa/isort)

isort/core.py

[error] invalid-argument-type - :86:27 - Argument to function `__new__` is incorrect: Expected `Iterable[None]`, found `TextIO`
[error] invalid-argument-type - :126:40 - Argument to function `__new__` is incorrect: Expected `Iterable[None]`, found `TextIO`

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

jax/_src/interpreters/pxla.py

[error] invalid-argument-type - :1771:45 -
Old: Argument is incorrect: Expected `MismatchType`, found `Unknown | MismatchType | None`
New: Argument is incorrect: Expected `MismatchType`, found `Sequence[Device] | MismatchType | Any | None`
[error] invalid-argument-type - :1771:45 -
Old: Argument is incorrect: Expected `Sequence[Device]`, found `Unknown | MismatchType | None`
New: Argument is incorrect: Expected `MismatchType`, found `Sequence[Device] | MismatchType | Any | None`
[error] invalid-argument-type - :1771:45 -
Old: Argument is incorrect: Expected `SourceInfo | None`, found `Unknown | MismatchType | None`
New: Argument is incorrect: Expected `MismatchType`, found `Sequence[Device] | MismatchType | Any | None`
[error] invalid-argument-type - :1771:45 - Argument is incorrect: Expected `Sequence[Device]`, found `Sequence[Device] | MismatchType | Any | None`
[error] invalid-argument-type - :1771:45 - Argument is incorrect: Expected `SourceInfo | None`, found `Sequence[Device] | MismatchType | Any | None`

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

src/jinja2/async_utils.py

[error] call-non-callable - :91:16 - Object of type `object` is not callable

src/jinja2/filters.py

[error] invalid-assignment - :169:9 - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str, Any]]`
[warning] redundant-cast - :142:17 - Value is already of type `HasHTML`
[warning] redundant-cast - :1050:17 - Value is already of type `HasHTML`

src/jinja2/loaders.py

[error] no-matching-overload - :190:28 - No overload of function `fspath` matches arguments
[error] no-matching-overload - :639:25 - No overload of function `fspath` matches arguments

kopf (https://github.com/nolar/kopf)

kopf/_cogs/structs/dicts.py

[warning] possibly-missing-attribute - :241:25 -
Old: Attribute `obj` on type `(_T@walk & Unknown & ~None) | (Iterable[_T@walk] & Unknown) | (_T@walk & _dummy) | (Iterable[_T@walk] & _dummy)` may be missing
New: Attribute `obj` on type `(_T@walk & Unknown & ~None) | (Iterable[_T@walk | Iterable[_T@walk]] & Unknown) | (_T@walk & _dummy) | (Iterable[_T@walk | Iterable[_T@walk]] & _dummy)` may be missing

kopf/_kits/webhooks.py

[error] invalid-return-type - :272:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

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

mesonbuild/dependencies/configtool.py

[error] unsupported-operator - :140:13 - Operator `+=` is unsupported between objects of type `list[str | AnsiDecorator]` and `list[Unknown | AnsiDecorator | str | None]`

mesonbuild/backend/ninjabackend.py

[error] unresolved-attribute - :1445:13 - Type `str` has no attribute `write`
[warning] possibly-missing-attribute - :1445:13 - Attribute `write` on type `str | Unknown` may be missing

mesonbuild/cmake/fileapi.py

[error] unsupported-operator - :195:21 - Operator `+=` is unsupported between objects of type `str` and `list[Unknown | dict[Unknown, Unknown]]`
[error] unsupported-operator - :200:21 - Operator `+=` is unsupported between objects of type `str` and `list[Unknown | dict[Unknown, Unknown]]`
[error] unsupported-operator - :218:17 - Operator `+=` is unsupported between objects of type `str` and `list[Unknown | dict[Unknown | str, Unknown | bool | (list[Unknown] & ~AlwaysFalsy)]]`
[error] unsupported-operator - :223:17 - Operator `+=` is unsupported between objects of type `str` and `list[Unknown | dict[Unknown | str, Unknown | bool | (list[Unknown] & ~AlwaysFalsy)]]`

mesonbuild/cmake/traceparser.py

[error] invalid-argument-type - :330:58 - Argument is incorrect: Expected `list[str]`, found `list[LiteralString]`
[error] invalid-argument-type - :591:40 - Argument to bound method `append` is incorrect: Expected `tuple[str, list[str]]`, found `tuple[Unknown, list[LiteralString]]`
[error] invalid-argument-type - :597:32 - Argument to bound method `append` is incorrect: Expected `tuple[str, list[str]]`, found `tuple[Unknown, list[LiteralString]]`

mesonbuild/wrap/wrap.py

[error] invalid-argument-type - :97:38 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Literal[b""]`
[error] invalid-assignment - :788:21 - Object of type `Literal[b""]` is not assignable to `str`

run_project_tests.py

[error] unsupported-operator - :899:17 - Operator `+=` is unsupported between objects of type `list[tuple[str, str, bool, bool]]` and `list[Unknown | tuple[Unknown, None, bool, bool]]`

unittests/allplatformstests.py

[error] index-out-of-bounds - :3861:26 - Index 2 is out of bounds for tuple `tuple[str, (json_node) -> Unknown]` with length 2
[error] index-out-of-bounds - :3861:26 - Index 2 is out of bounds for tuple `tuple[str, (kwargs) -> Unknown]` with length 2
[error] index-out-of-bounds - :3861:26 - Index 2 is out of bounds for tuple `tuple[str, (node_list) -> Unknown]` with length 2

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

mitmproxy/utils/arg_check.py

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

mitmproxy/addons/tlsconfig.py

[error] invalid-assignment - :615:21 - Object of type `Literal[b""]` is not assignable to `str | None`

mitmproxy/http.py

[warning] unused-ignore-comment - :1087:41 - Unused blanket `type: ignore` directive

mitmproxy/net/http/url.py

[error] invalid-assignment - :54:5 - Object of type `ParseResult | ParseResultBytes` is not assignable to `ParseResult`

test/mitmproxy/proxy/layers/http/test_http3.py

[error] invalid-assignment - :564:9 -
Old: Object of type `str` is not assignable to attribute `stream` of type `((bytes, /) -> Iterable[bytes]) | bool`
New: Object of type `str` is not assignable to attribute `stream` of type `((bytes, /) -> Iterable[bytes] | bytes) | bool`

test/mitmproxy/test_http.py

[error] invalid-argument-type - :588:13 - Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `list[Unknown | list[Unknown | bytes]]`
[error] invalid-argument-type - :821:21 - Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `list[Unknown | tuple[bytes, str]]`
[error] invalid-argument-type - :149:57 -
Old: Argument to bound method `make` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `Literal[42]`
New: Argument to bound method `make` is incorrect: Expected `Headers | dict[str | bytes, str | bytes] | Iterable[tuple[bytes, bytes]]`, found `Literal[42]`
[error] invalid-argument-type - :517:27 -
Old: Argument to bound method `make` is incorrect: Expected `Iterable[tuple[bytes, bytes]]`, found `Literal[42]`
New: Argument to bound method `make` is incorrect: Expected `Headers | Mapping[str, str | bytes] | Iterable[tuple[bytes, bytes]]`, found `Literal[42]`

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

mkdocs/config/config_options.py

[error] invalid-return-type - :524:20 - Return type does not match returned value: expected `str`, found `Literal[b""]`

mkdocs/structure/pages.py

[error] invalid-return-type - :516:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

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

pymongo/helpers_shared.py

[error] invalid-return-type - :341:16 -
Old: Return type does not match returned value: expected `Mapping[str, Any]`, found `Top[Mapping[Unknown, object]]`
New: Return type does not match returned value: expected `Mapping[str, Any]`, found `Iterable[str] & Top[Mapping[Unknown, object]]`

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

openlibrary/coverstore/utils.py

[error] invalid-return-type - :92:12 - Return type does not match returned value: expected `tuple[str, dict[str, str]]`, found `tuple[Literal[b""], dict[@Todo, @Todo]]`

openlibrary/plugins/worksearch/subjects.py

[error] invalid-argument-type - :303:13 - Argument to function `run_solr_query` is incorrect: Expected `bool | Iterable[str]`, found `(Unknown & ~AlwaysTruthy) | Literal[False] | list[Unknown | dict[Unknown | str, Unknown | str] | str | dict[Unknown | str, Unknown | str | int]]`

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

optuna/study/_multi_objective.py

[error] invalid-argument-type - :26:16 - Argument to function `len` is incorrect: Expected `Sized`, found `@Todo | list[int | float] | None`
[error] invalid-argument-type - :32:50 - Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `@Todo | list[int | float] | None`

optuna/study/study.py

[error] invalid-argument-type - :496:13 - Argument to function `_optimize` is incorrect: Expected `tuple[type[Exception], ...]`, found `tuple[object, ...]`

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

paasta_tools/cli/cmds/local_run.py

[warning] unused-ignore-comment - :983:42 - Unused blanket `type: ignore` directive

paasta_tools/utils.py

[error] invalid-argument-type - :608:17 - Argument to bound method `extend` is incorrect: Expected `Iterable[DockerParameter]`, found `list[Unknown | dict[Unknown | str, Unknown | str]]`
[error] invalid-argument-type - :616:35 - Argument to bound method `extend` is incorrect: Expected `Iterable[DockerParameter]`, found `list[Unknown | dict[Unknown | str, Unknown]]`
[error] invalid-return-type - :629:16 - Return type does not match returned value: expected `Iterable[DockerParameter]`, found `list[Unknown | dict[Unknown | str, Unknown | str]]`
[warning] redundant-cast - :4181:19 - Value is already of type `list[str]`
[error] invalid-return-type - :2939:12 -
Old: Return type does not match returned value: expected `tuple[int, str]`, found `tuple[int | @Todo | None, LiteralString]`
New: Return type does not match returned value: expected `tuple[int, str]`, found `tuple[int | @Todo | None, str]`

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

pandas/core/dtypes/inference.py

[error] invalid-argument-type - :295:17 - Argument to function `len` is incorrect: Expected `Sized`, found `<Protocol with members '__len__'>`

pandas/tests/groupby/test_counting.py

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

pandas/tests/groupby/test_grouping.py

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

pandas/tests/indexing/multiindex/test_multiindex.py

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

pandas/tests/strings/test_split_partition.py

[error] invalid-argument-type - :280:9 - 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]]`

pandas/core/common.py

[error] invalid-argument-type - :259:25 - Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `object`

pandas/core/reshape/concat.py

[error] invalid-argument-type - :750:17 -
Old: Method `__getitem__` of type `bound method Top[Mapping[Unknown, object]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[Mapping[Unknown, object]]`
New: Method `__getitem__` of type `bound method Mapping[HashableT@_clean_keys_and_objs, Series | DataFrame].__getitem__(key: HashableT@_clean_keys_and_objs, /) -> Series | DataFrame` cannot be called with key of type `object` on object of type `Mapping[HashableT@_clean_keys_and_objs, Series | DataFrame]`

pandas/core/reshape/pivot.py

[error] invalid-argument-type - :594:25 - Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Hashable]`

pandas/io/formats/printing.py

[error] unsupported-operator - :439:20 - Operator `+` is unsupported between objects of type `Unknown | tuple[str, ...]` and `LiteralString`
[error] unsupported-operator - :448:20 - Operator `+` is unsupported between objects of type `@Todo | tuple[str, ...]` and `LiteralString`

pandas/tests/frame/methods/test_reset_index.py

[error] invalid-argument-type - :33:71 - Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | str]]`
[error] invalid-argument-type - :413:74 - Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | str]]`
[error] invalid-argument-type - :448:72 - Argument to bound method `from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `list[Unknown | list[Unknown | str]]`

pandas/tests/frame/methods/test_sort_index.py

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

pandas/tests/frame/test_stack_unstack.py

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

pandas/tests/groupby/aggregate/test_aggregate.py

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

pandas/tests/groupby/methods/test_value_counts.py

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

pandas/tests/indexes/multi/test_reindex.py

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

pandas/tests/indexes/multi/test_sorting.py

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

pandas/tests/reshape/merge/test_multi.py

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

pandas/tests/series/methods/test_sort_index.py

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

pandas/tests/util/test_hashing.py

[error] invalid-argument-type - :95:21 - Argument to function `hash_tuples` is incorrect: Expected `MultiIndex | Iterable[tuple[Hashable, ...]]`, found `Unknown | tuple[int, str]`

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

tests/__init__.py

[error] no-matching-overload - :120:13 - No overload of function `iter` matches arguments

tests/test_pandas.py

[error] type-assertion-failure - :138:11 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :169:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :173:11 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :189:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :232:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :361:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :373:9 - Argument does not have asserted type `DataFrame`
[error] type-assertion-failure - :386:9 - Argument does not have asserted type `DataFrame`

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

pandera/api/pyspark/container.py

[error] not-iterable - :589:28 - Object of type `(Unknown & ~None & ~(() -> object)) | (list[str] & ~(() -> object)) | (((...) -> Unknown) & ~str & ~(() -> object)) | (list[Unknown | str] & ~(() -> object))` may not be iterable

pandera/typing/pandas.py

[warning] unused-ignore-comment - :233:65 - Unused blanket `type: ignore` directive

tests/pandas/test_model.py

[warning] unused-ignore-comment - :691:30 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :697:28 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :702:30 - Unused blanket `type: ignore` directive

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

src/pip/_internal/utils/subprocess.py

[error] invalid-argument-type - :29:33 - Argument to bound method `extend` is incorrect: Expected `Iterable[str | HiddenText]`, found `(HiddenText & Top[list[Unknown]]) | list[str | HiddenText]`

src/pip/_internal/models/direct_url.py

[error] invalid-return-type - :192:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

src/pip/_internal/vcs/git.py

[error] unsupported-operator - :512:19 - Operator `+` is unsupported between objects of type `str` and `Literal[b""]`

src/pip/_internal/locations/_distutils.py

[error] no-matching-overload - :92:9 - No overload of bound method `update` matches arguments

src/pip/_internal/models/link.py

[error] unsupported-operator - :182:11 - Operator `+` is unsupported between objects of type `str` and `Literal[b""]`
[error] invalid-return-type - :459:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

src/pip/_internal/utils/misc.py

[error] invalid-return-type - :491:12 - Return type does not match returned value: expected `tuple[str, tuple[str, tuple[str | None, str | None]]]`, found `tuple[Literal[b""], tuple[str, tuple[str | None, str | None]]]`

src/pip/_internal/vcs/versioncontrol.py

[error] invalid-assignment - :400:9 - Object of type `Literal[b""]` is not assignable to `str`

src/pip/_vendor/pkg_resources/__init__.py

[error] invalid-assignment - :2840:13 - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str | None, Iterable[str]]]`
[error] unresolved-attribute - :2849:21 - Type `~None` has no attribute `strip`

src/pip/_vendor/urllib3/util/url.py

[warning] possibly-missing-attribute - :373:26 - Attribute `groups` on type `Match[str] | None` may be missing

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

src/poetry/vcs/git/backend.py

[error] invalid-return-type - :578:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

tests/installation/test_installer.py

[warning] possibly-missing-implicit-call - :369:13 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | str` may be missing
[error] invalid-argument-type - :370:26 - 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["name"]` on object of type `str`
[warning] possibly-missing-implicit-call - :372:13 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | str` may be missing
[warning] possibly-missing-implicit-call - :3280:13 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | str` may be missing

tests/integration/test_utils_vcs_git.py

[error] unresolved-attribute - :432:43 - Type `Literal[b""]` has no attribute `encode`

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

src/integrations/prefect-ray/prefect_ray/task_runners.py

[error] invalid-argument-type - :379:47 -
Old: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 -
Old: Argument to function `run_task_async` is incorrect: Expected `TaskRun | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 -
Old: Argument to function `run_task_async` is incorrect: Expected `UUID | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 -
Old: Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 -
Old: Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 -
Old: Argument to function `run_task_async` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 - Argument to function `run_task_async` is incorrect: Expected `TaskRun | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 - Argument to function `run_task_async` is incorrect: Expected `UUID | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 - Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 - Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :379:47 - Argument to function `run_task_async` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 -
Old: Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 -
Old: Argument to function `run_task_sync` is incorrect: Expected `TaskRun | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 -
Old: Argument to function `run_task_sync` is incorrect: Expected `UUID | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 -
Old: Argument to function `run_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 -
Old: Argument to function `run_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 -
Old: Argument to function `run_task_sync` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 - Argument to function `run_task_sync` is incorrect: Expected `TaskRun | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 - Argument to function `run_task_sync` is incorrect: Expected `UUID | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 - Argument to function `run_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 - Argument to function `run_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:34 - Argument to function `run_task_sync` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `Any | UUID | Iterable[PrefectFuture[Any]] | ... omitted 4 union elements`

src/prefect/cli/deploy/_core.py

[error] no-matching-overload - :284:5 - No overload of bound method `update` matches arguments

src/prefect/client/schemas/schedules.py

[error] invalid-argument-type - :269:34 -
Old: Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | None`, found `datetime`
New: Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | Iterable[weekday] | None`, found `datetime`
[error] invalid-argument-type - :279:48 -
Old: Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | None`, found `datetime`
New: Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | Iterable[weekday] | None`, found `datetime`
[error] invalid-argument-type - :290:50 -
Old: Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | None`, found `datetime`
New: Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | Iterable[weekday] | None`, found `datetime`

src/prefect/flow_engine.py

[error] invalid-argument-type - :1546:48 -
Old: Argument to function `run_generator_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1546:48 -
Old: Argument to function `run_generator_flow_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1546:48 -
Old: Argument to function `run_generator_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1546:48 -
Old: Argument to function `run_generator_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1546:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `Iterable[PrefectFuture[Unknown]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1546:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1546:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1546:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 -
Old: Argument to function `run_generator_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 -
Old: Argument to function `run_generator_flow_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 -
Old: Argument to function `run_generator_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 -
Old: Argument to function `run_generator_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_generator_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `Iterable[PrefectFuture[Any]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1548:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 -
Old: Argument to function `run_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 -
Old: Argument to function `run_flow_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 -
Old: Argument to function `run_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 -
Old: Argument to function `run_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 - Argument to function `run_flow_async` is incorrect: Expected `Iterable[PrefectFuture[Any]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 - Argument to function `run_flow_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 - Argument to function `run_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1550:38 - Argument to function `run_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 -
Old: Argument to function `run_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 -
Old: Argument to function `run_flow_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 -
Old: Argument to function `run_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 -
Old: Argument to function `run_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | Iterable[PrefectFuture[R@run_flow]]`
New: Argument to function `run_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 - Argument to function `run_flow_sync` is incorrect: Expected `Iterable[PrefectFuture[Any]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 - Argument to function `run_flow_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 - Argument to function `run_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1552:37 - Argument to function `run_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`

src/prefect/flows.py

[warning] redundant-cast - :3093:28 - Value is already of type `str`
[warning] redundant-cast - :3106:28 - Value is already of type `str`

src/prefect/runner/storage.py

[error] invalid-return-type - :197:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`
[error] invalid-return-type - :889:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

src/prefect/task_runners.py

[error] invalid-argument-type - :399:32 -
Old: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 -
Old: Argument to function `run_task_async` is incorrect: Expected `TaskRun | None`, found `@Todo | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 -
Old: Argument to function `run_task_async` is incorrect: Expected `UUID | None`, found `@Todo | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 -
Old: Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 -
Old: Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 -
Old: Argument to function `run_task_async` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `@Todo | UUID | Iterable[PrefectFuture[Any]] | None`
New: Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 - Argument to function `run_task_async` is incorrect: Expected `TaskRun | None`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 - Argument to function `run_task_async` is incorrect: Expected `UUID | None`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 - Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 - Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`
[error] invalid-argument-type - :399:32 - Argument to function `run_task_async` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `@Todo | UUID | dict[str, Any] | ... omitted 5 union elements`

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

psycopg/psycopg/_server_cursor.py

[error] invalid-argument-type - :61:31 - Argument to function `__init__` is incorrect: Expected `RowFactory[tuple[Any, ...]]`, found `(RowFactory[Row@ServerCursor] & ~AlwaysFalsy) | RowFactory[Any]`

psycopg/psycopg/_server_cursor_async.py

[error] invalid-argument-type - :60:31 - Argument to function `__init__` is incorrect: Expected `AsyncRowFactory[tuple[Any, ...]]`, found `(AsyncRowFactory[Row@AsyncServerCursor] & ~AlwaysFalsy) | AsyncRowFactory[Any]`

psycopg/psycopg/_server_cursor_base.py

[error] unsupported-operator - :217:16 - Operator `+` is unsupported between objects of type `Template` and `(@Todo & Composable) | SQL`

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

pydantic/_internal/_decorators_v1.py

[error] invalid-return-type - :174:12 - Return type does not match returned value: expected `V2CoreBeforeRootValidator`, found `def _wrapper2(fields_tuple: tuple[Any, ...], _: ValidationInfo[Any | None]) -> tuple[Any, ...]`

pyinstrument (https://github.com/joerick/pyinstrument)

pyinstrument/renderers/html.py

[error] invalid-argument-type - :104:25 - Argument to function `open` is incorrect: Expected `str`, found `Literal[b""]`

pylint (https://github.com/pycqa/pylint)

pylint/checkers/__init__.py

[warning] unused-ignore-comment - :124:81 - Unused blanket `type: ignore` directive

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

pyodide-build/pyodide_build/pywasmcross.py

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

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

testing/test_capture.py

[warning] unused-ignore-comment - :1663:46 - Unused blanket `type: ignore` directive

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

Pythonwin/pywin/framework/sgrepmdi.py

[error] invalid-argument-type - :219:27 - Argument to bound method `extend` is incorrect: Expected `Iterable[str]`, found `list[Unknown | int]`

com/win32comext/shell/test/testSHFileOperation.py

[error] invalid-argument-type - :21:9 -
Old: Argument to function `SHFileOperation` is incorrect: Expected `SHFILEOPSTRUCT`, found `tuple[Literal[0], int, LiteralString, LiteralString, int]`
New: Argument to function `SHFileOperation` is incorrect: Expected `SHFILEOPSTRUCT`, found `tuple[Literal[0], int, Unknown, Unknown, int]`
[error] invalid-argument-type - :56:9 -
Old: Argument to function `SHFileOperation` is incorrect: Expected `SHFILEOPSTRUCT`, found `tuple[Literal[0], int, LiteralString, LiteralString, int]`
New: Argument to function `SHFileOperation` is incorrect: Expected `SHFILEOPSTRUCT`, found `tuple[Literal[0], int, Unknown, Unknown, int]`

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

rotkehlchen/tests/unit/accounting/test_settings.py

[error] unsupported-operator - :180:5 - Operator `+=` is unsupported between objects of type `list[SwapEvent]` and `list[Unknown | MarginPosition]`

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

schema_salad/jsonld_context.py

[error] invalid-argument-type - :229:19 - Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["@id"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`

schema_salad/metaschema.py

[error] invalid-assignment - :384:9 - Object of type `Literal[b""]` is not assignable to `str`
[error] invalid-assignment - :393:9 - Object of type `Literal[b""]` is not assignable to `str`

schema_salad/python_codegen_support.py

[error] invalid-assignment - :381:9 - Object of type `Literal[b""]` is not assignable to `str`
[error] invalid-assignment - :390:9 - Object of type `Literal[b""]` is not assignable to `str`

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

src/schemathesis/core/output/sanitization.py

[error] invalid-return-type - :54:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

src/schemathesis/transport/prepare.py

[error] invalid-return-type - :63:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`
[error] invalid-return-type - :90:16 - Return type does not match returned value: expected `str | None`, found `Literal[b""]`

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

src/scikit_build_core/_vendor/pyproject_metadata/__init__.py

[warning] unused-ignore-comment - :224:85 - Unused blanket `type: ignore` directive

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

sklearn/datasets/_samples_generator.py

[error] invalid-argument-type - :1122:48 - Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & <Protocol with members '__len__'>) | (float & <Protocol with members '__len__'>)`

sklearn/utils/tests/test_multiclass.py

[warning] possibly-missing-attribute - :410:27 -
Old: Attribute `toarray` on type `(Unknown & SparseABC) | (list[Unknown | list[Unknown | int]] & SparseABC) | (_NotAnArray & SparseABC)` may be missing
New: Attribute `toarray` on type `(Unknown & SparseABC) | (list[Unknown | list[Unknown | int]] & SparseABC) | (list[Unknown | list[Unknown | str]] & SparseABC) | ... omitted 11 union elements` may be missing

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

scipy/linalg/_decomp.py

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

subprojects/highs/src/highspy/highs.py

[error] unresolved-attribute - :865:24 - Type `object` has no attribute `index`
[error] unresolved-attribute - :866:25 - Type `object` has no attribute `index`
[error] unresolved-attribute - :867:26 - Type `object` has no attribute `index`
[error] unresolved-attribute - :868:25 - Unresolved attribute `index` on type `object`.
[error] unresolved-attribute - :1117:28 - Type `object` has no attribute `index`
[error] unresolved-attribute - :1118:29 - Type `object` has no attribute `index`
[error] unresolved-attribute - :1119:30 - Type `object` has no attribute `index`
[error] unresolved-attribute - :1120:29 - Unresolved attribute `index` on type `object`.
[error] invalid-assignment - :368:13 -
Old: Object of type `Top[Mapping[Unknown, object]]` is not assignable to `Mapping[Any, highs_var | Integral]`
New: Object of type `Iterable[highs_var | Integral] & Top[Mapping[Unknown, object]]` is not assignable to `Mapping[Any, highs_var | Integral]`
[error] invalid-assignment - :853:17 -
Old: Object of type `Top[Mapping[Unknown, object]]` is not assignable to `Mapping[Any, highs_var]`
New: Object of type `Mapping[Any, highs_var] | (Iterable[highs_var] & Top[Mapping[Unknown, object]]) | (highs_var & Top[Mapping[Unknown, object]])` is not assignable to `Mapping[Any, highs_var]`
[error] invalid-assignment - :984:17 -
Old: Object of type `Top[Mapping[Unknown, object]]` is not assignable to `Mapping[Any, highs_linear_expression]`
New: Object of type `(highs_linear_expression & Top[Mapping[Unknown, object]]) | (Iterable[highs_linear_expression] & Top[Mapping[Unknown, object]]) | (tuple[highs_linear_expression | Iterable[highs_linear_expression], ...] & Top[Mapping[Unknown, object]])` is not assignable to `Mapping[Any, highs_linear_expression]`
[error] invalid-assignment - :1185:13 -
Old: Object of type `ndarray[object, object]` is not assignable to `ndarray[Any, dtype[object_]]`
New: Object of type `(Iterable[highs_var | highs_linear_expression] & ndarray[object, object]) | ndarray[Any, dtype[object_]]` is not assignable to `ndarray[Any, dtype[object_]]`

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

scrapy/downloadermiddlewares/httpproxy.py

[error] invalid-return-type - :57:16 - Return type does not match returned value: expected `tuple[bytes | None, str]`, found `tuple[Unknown | None, Literal[b""]]`

scrapy/http/headers.py

[error] invalid-assignment - :37:9 - Object of type `ItemsView[object, object] | (Iterable[tuple[AnyStr@update, Any]] & ~Top[Mapping[Unknown, object]])` is not assignable to `Mapping[AnyStr@update, Any] | Iterable[tuple[AnyStr@update, Any]]`
[error] not-iterable - :39:21 - Object of type `AnyStr@update` may not be iterable

scrapy/utils/datatypes.py

[error] invalid-assignment - :90:9 - Object of type `ItemsView[object, object] | (Iterable[tuple[AnyStr@update, Any]] & ~Top[Mapping[Unknown, object]])` is not assignable to `Mapping[AnyStr@update, Any] | Iterable[tuple[AnyStr@update, Any]]`
[error] not-iterable - :91:66 - Object of type `AnyStr@update` may not be iterable

scrapy/utils/url.py

[error] invalid-return-type - :195:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

tests/test_contracts.py

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

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

pkg_resources/__init__.py

[error] invalid-assignment - :2874:13 - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str | None, Iterable[str]]]`
[error] unresolved-attribute - :2883:21 - Type `~None` has no attribute `strip`

setuptools/_distutils/dist.py

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

setuptools/config/expand.py

[error] invalid-argument-type - :334:34 - Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `(@Todo & <Protocol with members '__iter__'> & ~str) | (((...) -> Unknown) & <Protocol with members '__iter__'> & ~(() -> object) & ~str) | (Iterable[str | int] & ~(() -> object) & ~str)`

setuptools/glob.py

[error] invalid-assignment - :76:9 - Object of type `Iterator[str]` is not assignable to `Iterable[AnyStr@_iglob]`

sockeye (https://github.com/awslabs/sockeye)

sockeye/log.py

[error] invalid-assignment - :131:9 - Method `__setitem__` of type `Unknown | (bound method dict[Unknown | str, Unknown | str].__setitem__(key: Unknown | str, value: Unknown | str, /) -> None) | (bound method dict[Unknown | str, Unknown | str | None].__setitem__(key: Unknown | str, value: Unknown | str | None, /) -> None) | (bound method dict[Unknown | str, Unknown | str | int].__setitem__(key: Unknown | str, value: Unknown | str | int, /) -> None) | (Overload[(key: SupportsIndex, value: Unknown | str, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown | str], /) -> None])` cannot be called with a key of type `Literal["level"]` and a value of type `Unknown | Literal[20]` on object of type `Unknown | dict[Unknown | str, Unknown | str] | dict[Unknown | str, Unknown | str | None] | ... omitted 3 union elements`

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

lib/spack/spack/llnl/url.py

[error] invalid-return-type - :130:12 - Return type does not match returned value: expected `tuple[str, str]`, found `tuple[Literal[b""], str]`

lib/spack/spack/cmd/ci.py

[error] invalid-return-type - :716:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

lib/spack/spack/cmd/commands.py

[error] unsupported-operator - :571:24 - Operator `not in` is not supported for types `Unknown` and `object`

lib/spack/spack/oci/oci.py

[error] invalid-return-type - :48:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

lib/spack/spack/oci/opener.py

[error] invalid-argument-type - :288:27 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Literal[b""]`

lib/spack/spack/solver/requirements.py

[error] invalid-argument-type - :203:49 - Argument to function `parse_spec_from_yaml_string` is incorrect: Expected `str`, found `@Todo | list[Unknown]`

lib/spack/spack/vendor/jinja2/async_utils.py

[warning] redundant-cast - :65:27 - Value is already of type `AsyncIterable[V@auto_aiter]`

lib/spack/spack/vendor/jinja2/filters.py

[error] invalid-assignment - :219:9 - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str, Any]]`

lib/spack/spack/vendor/jinja2/loaders.py

[error] no-matching-overload - :187:28 - No overload of function `fspath` matches arguments
[warning] unused-ignore-comment - :606:54 - Unused blanket `type: ignore` directive

sphinx (https://github.com/sphinx-doc/sphinx)

sphinx/builders/linkcheck.py

[error] invalid-return-type - :758:20 - Return type does not match returned value: expected `str | None`, found `Literal[b""]`

sphinx/ext/autodoc/_directive_options.py

[warning] unused-ignore-comment - :226:64 - Unused blanket `type: ignore` directive

sphinx/ext/intersphinx/_load.py

[error] invalid-return-type - :450:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`
[error] invalid-return-type - :471:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

sphinx/util/_uri.py

[error] invalid-return-type - :11:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

sphinx/config.py

[error] invalid-return-type - :634:16 -
Old: Return type does not match returned value: expected `frozenset[type] | ENUM`, found `(frozenset[object] & ~AlwaysFalsy) | (ENUM & ~AlwaysFalsy)`
New: Return type does not match returned value: expected `frozenset[type] | ENUM`, found `(Collection[type] & frozenset[object] & ~AlwaysFalsy) | (ENUM & ~AlwaysFalsy)`

sphinx/environment/adapters/toctree.py

[warning] unused-ignore-comment - :261:59 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :270:24 - Argument to function `len` is incorrect: Expected `Sized`, found `Node`
[error] unresolved-attribute - :274:25 - Type `Node` has no attribute `pop`

sphinx/ext/graphviz.py

[error] invalid-argument-type - :268:32 - Argument to bound method `set` is incorrect: Expected `str`, found `Literal[b""]`

sphinx/util/template.py

[error] invalid-assignment - :46:13 - Object of type `list[Unknown | str | (Sequence[str | PathLike[str]] & PathLike[object])]` is not assignable to `Sequence[str | PathLike[str]]`

sphinx/writers/text.py

[error] invalid-argument-type - :448:27 - Argument to bound method `append` is incorrect: Expected `tuple[int, list[str]]`, found `tuple[Unknown, list[str] | list[LiteralString]]`

starlette (https://github.com/encode/starlette)

tests/test_formparsers.py

[warning] unused-ignore-comment - :554:25 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :581:25 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :610:25 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :638:25 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :668:25 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :698:25 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :715:21 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :297:9 -
Old: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str]] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="field0"\r\n\r\nvalue0\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="file"; filename="file.txt"\r\nContent-Type: text/plain\r\n\r\n<file content>\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="field1"\r\n\r\nvalue1\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c--\r\n']`
New: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str] | bytes] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="field0"\r\n\r\nvalue0\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="file"; filename="file.txt"\r\nContent-Type: text/plain\r\n\r\n<file content>\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="field1"\r\n\r\nvalue1\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c--\r\n']`
[error] invalid-argument-type - :372:9 -
Old: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str]] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="file"; filename="\xe6\x96\x87\xe6\x9b\xb8.txt"\r\nContent-Type: text/plain\r\n\r\n<file content>\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c--\r\n']`
New: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str] | bytes] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="file"; filename="\xe6\x96\x87\xe6\x9b\xb8.txt"\r\nContent-Type: text/plain\r\n\r\n<file content>\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c--\r\n']`
[error] invalid-argument-type - :396:9 -
Old: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str]] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="file"; filename="\xe7\x94\xbb\xe5\x83\x8f.jpg"\r\nContent-Type: image/jpeg\r\n\r\n<file content>\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c--\r\n']`
New: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str] | bytes] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; name="file"; filename="\xe7\x94\xbb\xe5\x83\x8f.jpg"\r\nContent-Type: image/jpeg\r\n\r\n<file content>\r\n--a7f7ac8d4e2e437c877bb7b8d7cc549c--\r\n']`
[error] invalid-argument-type - :420:9 -
Old: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str]] | None`, found `Literal[b'--20b303e711c4ab8c443184ac833ab00f\r\nContent-Disposition: form-data; name="value"\r\n\r\nTransf\xc3\xa9rer\r\n--20b303e711c4ab8c443184ac833ab00f--\r\n']`
New: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str] | bytes] | None`, found `Literal[b'--20b303e711c4ab8c443184ac833ab00f\r\nContent-Disposition: form-data; name="value"\r\n\r\nTransf\xc3\xa9rer\r\n--20b303e711c4ab8c443184ac833ab00f--\r\n']`
[error] invalid-argument-type - :494:13 -
Old: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str]] | None`, found `Literal[b'Content-Disposition: form-data; name="file"; filename="\xe6\x96\x87\xe6\x9b\xb8.txt"\r\nContent-Type: text/plain\r\n\r\n<file content>\r\n']`
New: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str] | bytes] | None`, found `Literal[b'Content-Disposition: form-data; name="file"; filename="\xe6\x96\x87\xe6\x9b\xb8.txt"\r\nContent-Type: text/plain\r\n\r\n<file content>\r\n']`
[error] invalid-argument-type - :522:13 -
Old: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str]] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; ="field0"\r\n\r\nvalue0\r\n']`
New: Argument to bound method `post` is incorrect: Expected `Mapping[str, Iterable[str] | bytes] | None`, found `Literal[b'--a7f7ac8d4e2e437c877bb7b8d7cc549c\r\nContent-Disposition: form-data; ="field0"\r\n\r\nvalue0\r\n']`

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

static_frame/core/container_util.py

[warning] unused-ignore-comment - :1580:32 - Unused blanket `type: ignore` directive

static_frame/core/index_base.py

[warning] unused-ignore-comment - :526:62 - Unused blanket `type: ignore` directive

static_frame/core/index_datetime.py

[error] invalid-argument-type - :153:25 - Argument to function `len` is incorrect: Expected `Sized`, found `(Any & <Protocol with members '__len__'> & ~Top[Index[Any]] & ~str) | (datetime64[date | int | None] & <Protocol with members '__len__'>)`

static_frame/core/util.py

[error] invalid-argument-type - :3881:57 - Argument to function `__new__` is incorrect: Expected `Iterable[None]`, found `Sequence[int] | ndarray[@Todo, Any]`
[warning] unused-ignore-comment - :3321:58 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3441:56 - Unused blanket `type: ignore` directive
[error] invalid-return-type - :1112:16 -
Old: Return type does not match returned value: expected `frozenset[_T@frozenset_filter]`, found `frozenset[object]`
New: Return type does not match returned value: expected `frozenset[_T@frozenset_filter]`, found `Iterable[_T@frozenset_filter] & frozenset[object]`

static_frame/core/www.py

[error] invalid-return-type - :115:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

static_frame/test/unit/test_quilt.py

[warning] possibly-missing-attribute - :1292:26 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1293:26 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1322:26 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1323:26 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1410:26 - Attribute `name` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1411:26 - Attribute `to_pairs` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1413:26 - Attribute `name` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1414:26 - Attribute `to_pairs` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1437:26 - Attribute `name` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1438:26 - Attribute `to_pairs` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1440:26 - Attribute `name` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1441:26 - Attribute `to_pairs` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1459:26 - Attribute `_fields` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :1471:26 - Attribute `_fields` on type `Any | tuple[Any, Any]` may be missing

static_frame/test/unit/test_series.py

[warning] possibly-missing-attribute - :2339:27 - Attribute `sum` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :2357:27 - Attribute `shape` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :4231:26 - Attribute `to_pairs` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :4233:26 - Attribute `to_pairs` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :4965:17 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :5031:13 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :5039:13 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :5044:13 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :5052:13 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :5060:13 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :5068:13 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] possibly-missing-attribute - :5077:17 - Attribute `tolist` on type `Any | tuple[Any, Any]` may be missing
[warning] unused-ignore-comment - :4349:83 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4358:77 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4371:93 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4376:76 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4416:82 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4906:78 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4950:75 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_type_blocks.py

[error] invalid-argument-type - :31:42 - Argument to bound method `from_blocks` is incorrect: Expected `ndarray[Any, Any] | Iterable[ndarray[Any, Any]]`, found `tuple[Literal[3], Literal[4]]`

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

strawberry/schema/name_converter.py

[error] unresolved-attribute - :121:44 - Type `StrawberryType` has no attribute `__strawberry_definition__`
[warning] possibly-missing-attribute - :121:44 - Attribute `__strawberry_definition__` on type `StrawberryType | (@Todo & ~Top[LazyType[Unknown, Unknown]])` may be missing

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

sympy/functions/special/tests/test_tensor_functions.py

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

sympy/vector/orienters.py

[error] index-out-of-bounds - :126:18 - Index 0 is out of bounds for string `Literal[""]` with length 0
[error] index-out-of-bounds - :127:18 - Index 1 is out of bounds for string `Literal[""]` with length 0
[error] index-out-of-bounds - :128:18 - Index 2 is out of bounds for string `Literal[""]` with length 0

sympy/algebras/tests/test_quaternion.py

[error] invalid-argument-type - :95:70 -
Old: Argument to function `__new__` is incorrect: Expected `bool`, found `Unknown | int`
New: Argument to function `__new__` is incorrect: Expected `bool`, found `Unknown | int | Half`

sympy/calculus/euler.py

[warning] possibly-missing-attribute - :92:24 - Attribute `args` on type `Unknown | tuple[()]` may be missing

sympy/core/basic.py

[error] invalid-assignment - :1088:17 - Object of type `(Mapping[Basic | int | float | complex, Basic | int | float | complex] & Top[set[Unknown]]) | (Iterable[tuple[Basic | int | float | complex, Basic | int | float | complex]] & Top[set[Unknown]])` is not assignable to `Iterable[tuple[Basic | int | float | complex, Basic | int | float | complex]]`
[warning] unused-ignore-comment - :1092:38 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1101:36 - Unused blanket `type: ignore` directive

sympy/core/tests/test_basic.py

[error] no-matching-overload - :135:32 - No overload of bound method `subs` matches arguments
[error] no-matching-overload - :142:12 - No overload of bound method `subs` matches arguments
[error] no-matching-overload - :143:12 - No overload of bound method `subs` matches arguments

sympy/core/tests/test_match.py

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

sympy/core/tests/test_subs.py

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

sympy/integrals/manualintegrate.py

[error] invalid-argument-type - :1045:43 - Argument to bound method `extend` is incorrect: Expected `Iterable[tuple[type, Expr, ((...) -> Unknown) | None, tuple[Unknown, ...]]]`, found `tuple[tuple[<class 'Mul'>, Unknown, None, <class 'EiRule'>], tuple[<class 'Mul'>, Unknown, None, <class 'CiRule'>], tuple[<class 'Mul'>, Unknown, None, <class 'ChiRule'>], tuple[<class 'Mul'>, Unknown, None, <class 'SiRule'>], tuple[<class 'Mul'>, Unknown, None, <class 'ShiRule'>], tuple[<class 'Pow'>, Unknown, None, <class 'LiRule'>], tuple[<class 'exp'>, exp, None, <class 'ErfRule'>], tuple[<class 'sin'>, sin, None, <class 'FresnelSRule'>], tuple[<class 'cos'>, cos, None, <class 'FresnelCRule'>], tuple[<class 'Mul'>, Unknown, None, <class 'UpperGammaRule'>], tuple[<class 'Mul'>, Unknown, None, <class 'PolylogRule'>], tuple[<class 'Pow'>, Unknown, (a, d) -> Unknown, <class 'EllipticFRule'>], tuple[<class 'Pow'>, Unknown, (a, d) -> Unknown, <class 'EllipticERule'>]]`

sympy/matrices/tests/test_immutable.py

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

sympy/matrices/tests/test_matrices.py

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

sympy/matrices/tests/test_matrixbase.py

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

sympy/polys/domains/tests/test_domains.py

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

sympy/polys/tests/test_densearith.py

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

sympy/polys/tests/test_galoistools.py

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

sympy/polys/tests/test_polyroots.py

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

sympy/series/order.py

[warning] possibly-missing-attribute - :305:20 - Attribute `expr` on type `Unknown | Expr` may be missing

sympy/solvers/tests/test_solveset.py

[error] not-iterable - :753:15 - Object of type `Set` is not iterable

tornado (https://github.com/tornadoweb/tornado)

tornado/httputil.py

[error] invalid-assignment - :799:5 - Object of type `Literal[b""]` is not assignable to `str`

tornado/routing.py

[error] invalid-argument-type - :355:55 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | dict[str, Any] | str`
[error] invalid-argument-type - :355:55 - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `@Todo | dict[str, Any] | str`

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

src/trio/_highlevel_open_unix_stream.py

[error] no-matching-overload - :63:28 - No overload of function `fspath` matches arguments

src/trio/_tests/type_tests/task_status.py

[warning] unused-ignore-comment - :19:27 - Unused blanket `type: ignore` directive

src/trio/_core/_io_windows.py

[error] call-non-callable - :328:16 - Object of type `object` is not callable
[error] call-non-callable - :373:24 - Object of type `object` is not callable

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

twine/repository.py

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

twine/utils.py

[error] invalid-return-type - :198:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`
[error] invalid-return-type - :199:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

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

src/urllib3/fields.py

[error] invalid-assignment - :281:13 - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str, @Todo | None]]`

src/urllib3/util/url.py

[warning] unused-ignore-comment - :423:67 - Unused blanket `type: ignore` directive

test/test_retry.py

[warning] unused-ignore-comment - :250:59 - Unused blanket `type: ignore` directive

test/test_util.py

[warning] unused-ignore-comment - :534:52 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :539:51 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :544:51 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :549:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :556:52 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :561:51 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :566:51 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :571:50 - Unused blanket `type: ignore` directive

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

references/classification/utils.py

[error] invalid-assignment - :420:5 -
Old: Object of type `tuple[type, ...]` is not assignable to `list[type] | None`
New: Object of type `tuple[type | Unknown, ...]` is not assignable to `list[type] | None`

torchvision/datasets/_stereo_matching.py

[warning] unused-ignore-comment - :496:110 - Unused blanket `type: ignore` directive

torchvision/prototype/utils/_internal.py

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

websockets (https://github.com/aaugustin/websockets)

src/websockets/asyncio/server.py

[warning] redundant-cast - :934:37 - Value is already of type `Iterable[tuple[str, str]]`

src/websockets/legacy/auth.py

[warning] redundant-cast - :163:37 - Value is already of type `Iterable[tuple[str, str]]`

src/websockets/sync/server.py

[warning] redundant-cast - :706:37 - Value is already of type `Iterable[tuple[str, str]]`

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

src/werkzeug/middleware/shared_data.py

[error] invalid-assignment - :121:13 - Object of type `ItemsView[object, object]` is not assignable to `Mapping[str, str | tuple[str, str]] | Iterable[tuple[str, str | tuple[str, str]]]`

tests/test_send_file.py

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

src/werkzeug/urls.py

[error] invalid-return-type - :110:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`
[error] invalid-return-type - :165:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

src/werkzeug/datastructures/file_storage.py

[error] no-matching-overload - :126:19 - No overload of function `fspath` matches arguments

src/werkzeug/datastructures/headers.py

[error] invalid-argument-type - :518:51 -
Old: Argument to bound method `getlist` is incorrect: Expected `Never`, found `str`
New: Argument to bound method `getlist` is incorrect: Expected `Never`, found `object`
[error] invalid-argument-type - :518:51 - Argument to bound method `getlist` is incorrect: Expected `str`, found `object`

src/werkzeug/routing/map.py

[error] invalid-return-type - :768:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

src/werkzeug/test.py

[error] invalid-return-type - :442:16 - Return type does not match returned value: expected `str`, found `bytes`

src/werkzeug/utils.py

[warning] redundant-cast - :419:24 - Value is already of type `PathLike[str] | str`

src/werkzeug/wsgi.py

[error] invalid-assignment - :244:13 - Object of type `list[Unknown | (() -> None) | (Iterable[() -> None] & (() -> object))]` is not assignable to `None | (() -> None) | Iterable[() -> None]`
[warning] possibly-missing-attribute - :249:13 - Attribute `insert` on type `list[Unknown] | None | (() -> None) | Iterable[() -> None]` may be missing

tests/test_routing.py

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

tests/test_test.py

[error] invalid-argument-type - :223:24 - Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str]`
[error] invalid-argument-type - :227:50 - Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str]`
[error] no-matching-overload - :702:16 - No overload of bound method `join` matches arguments
[error] no-matching-overload - :728:12 - No overload of bound method `join` matches arguments

tests/test_wrappers.py

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

tests/test_wsgi.py

[error] invalid-argument-type - :261:35 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] invalid-argument-type - :265:35 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] invalid-argument-type - :270:35 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] invalid-argument-type - :274:35 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] invalid-argument-type - :280:35 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] invalid-argument-type - :288:35 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] invalid-argument-type - :297:39 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] invalid-argument-type - :305:39 - Argument to bound method `__init__` is incorrect: Expected `Iterable[bytes]`, found `Iterable[str] | Iterable[bytes]`
[error] no-matching-overload - :338:12 - No overload of bound method `join` matches arguments

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

xarray/structure/merge.py

[error] invalid-argument-type - :825:23 - Argument to bound method `__init__` is incorrect: Expected `Dataset | Coordinates | None`, found `DataTree`

xarray/computation/fit.py

[error] invalid-assignment - :407:9 - Object of type `list[Unknown | Iterable[str | DataArray] | DataArray]` is not assignable to `Iterable[str | DataArray] | DataArray`

xarray/core/parallel.py

[warning] unused-ignore-comment - :380:47 - Unused blanket `type: ignore` directive

xarray/structure/combine.py

[error] invalid-return-type - :1048:12 - Return type does not match returned value: expected `Dataset | DataArray`, found `DataTree`

xarray/tests/test_dataset.py

[error] invalid-argument-type - :5038:53 - Argument to bound method `squeeze` is incorrect: Expected `bool`, found `Unknown | list[Unknown | str]`
[error] invalid-argument-type - :5038:53 - Argument to bound method `squeeze` is incorrect: Expected `int | Iterable[int] | None`, found `Unknown | list[Unknown | str]`
[warning] unused-ignore-comment - :1876:53 - Unused blanket `type: ignore` directive

xarray/tests/test_merge.py

[warning] unused-ignore-comment - :541:28 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :544:34 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :546:32 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :553:13 - Argument to bound method `identical` is incorrect: Argument type `DataTree` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - :553:13 - Argument to bound method `identical` is incorrect: Expected `Dataset`, found `DataTree`
[error] invalid-argument-type - :556:13 - Argument to bound method `identical` is incorrect: Argument type `DataTree` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - :556:13 - Argument to bound method `identical` is incorrect: Expected `Dataset`, found `DataTree`
[error] invalid-argument-type - :558:30 - Argument to bound method `identical` is incorrect: Argument type `DataTree` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - :558:30 - Argument to bound method `identical` is incorrect: Expected `Dataset`, found `DataTree`
[error] invalid-argument-type - :559:30 - Argument to bound method `identical` is incorrect: Argument type `DataTree` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - :559:30 - Argument to bound method `identical` is incorrect: Expected `Dataset`, found `DataTree`
[error] invalid-argument-type - :562:13 - Argument to bound method `identical` is incorrect: Argument type `DataTree` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - :562:13 - Argument to bound method `identical` is incorrect: Expected `Dataset`, found `DataTree`
[error] invalid-argument-type - :736:13 - Argument to bound method `identical` is incorrect: Argument type `DataTree` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - :736:13 - Argument to bound method `identical` is incorrect: Expected `Dataset`, found `DataTree`
[warning] unused-ignore-comment - :881:35 - Unused blanket `type: ignore` directive

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

corporate/views/remote_billing_page.py

[error] invalid-return-type - :513:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`

zerver/actions/invites.py

[error] unresolved-attribute - :294:23 - Type `NamedUserGroup` has no attribute `id`
[warning] possibly-missing-attribute - :294:23 - Attribute `id` on type `NamedUserGroup | Unknown` may be missing

zerver/actions/message_send.py

[error] invalid-argument-type - :1366:35 - Argument to function `get_validated_user_ids` is incorrect: Expected `Collection[int]`, found `(Any & Top[list[Unknown]] & ~AlwaysFalsy) | (list[str] & ~AlwaysFalsy)`

zerver/lib/bulk_create.py

[warning] possibly-missing-attribute - :187:23 - Attribute `id` on type `UserProfile | Stream` may be missing
[warning] possibly-missing-attribute - :190:21 - Attribute `id` on type `UserProfile | Stream` may be missing

zerver/lib/markdown/__init__.py

[error] invalid-return-type - :1419:16 - Return type does not match returned value: expected `str | None`, found `Literal[b""]`
[error] invalid-return-type - :1422:16 - Return type does not match returned value: expected `str | None`, found `Literal[b""]`
[error] invalid-return-type - :1447:12 - Return type does not match returned value: expected `str | None`, found `Literal[b""]`

zerver/lib/upload/s3.py

[error] invalid-return-type - :226:16 - Return type does not match returned value: expected `str`, found `Literal[b""]`

zerver/lib/validator.py

[error] no-matching-overload - :269:67 - No overload of bound method `join` matches arguments
[error] invalid-argument-type - :250:34 -
Old: Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
New: Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str | Unknown` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - :255:38 -
Old: Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
New: Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str | Unknown` on object of type `Top[dict[Unknown, Unknown]]`

zerver/tests/test_link_embed.py

[error] invalid-return-type - :40:12 - Return type does not match returned value: expected `str`, found `Literal[b""]`