Summary

Comparing branches/commits:
Old: main (merge base) 25023cc0
New: 20927/merge 1fa8249a
Lint Rule Removed Added Changed
Total 452 30 20
invalid-argument-type 276 6 7
possibly-missing-implicit-call 56 0 1
possibly-missing-attribute 38 1 0
unsupported-operator 31 1 3
invalid-assignment 24 0 3
unresolved-attribute 0 15 0
non-subscriptable 14 0 0
unused-ignore-comment 1 6 0
invalid-return-type 1 0 5
no-matching-overload 6 0 0
index-out-of-bounds 2 0 0
not-iterable 2 0 0
invalid-await 0 0 1
redundant-cast 0 1 0
type-assertion-failure 1 0 0

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

aioredis/client.py

[error] invalid-argument-type - :916:46 - Argument to bound method `__init__` is incorrect: Expected `int | None`, found `Any | str | int | None | float`
[error] invalid-argument-type - :916:46 - Argument to bound method `__init__` is incorrect: Expected `type[Connection]`, found `Any | str | int | None | float`

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

altair/datasets/_readimpl.py

[error] invalid-argument-type - :339:35 - Argument to function `read` is incorrect: Expected `MetaIs | None`, found `Any | str`
[error] invalid-argument-type - :341:45 - Argument to function `read` is incorrect: Expected `MetaIs | None`, found `Any | str`
[error] invalid-argument-type - :342:41 - Argument to function `read` is incorrect: Expected `MetaIs | None`, found `Any | str`
[error] invalid-argument-type - :343:43 - Argument to function `read` is incorrect: Expected `MetaIs | None`, found `Any | str`

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

src/bandersnatch/simple.py

[warning] possibly-missing-attribute - :222:13 - Attribute `append` on type `Any | list[Unknown] | dict[Unknown | str, Unknown | str] | str` may be missing
[warning] possibly-missing-attribute - :290:25 - Attribute `append` on type `Any | dict[Unknown | str, Unknown | int] | list[Unknown]` may be missing

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

cki_lib/session.py

[error] invalid-argument-type - :110:23 - Argument to bound method `__init__` is incorrect: Expected `Collection[int] | None`, found `Any | int`
[error] invalid-argument-type - :110:23 - Argument to bound method `__init__` is incorrect: Expected `Collection[str] | None`, found `Any | int`
[error] invalid-argument-type - :110:23 - Argument to bound method `__init__` is incorrect: Expected `Collection[str]`, found `Any | int`
[error] invalid-argument-type - :110:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | int`
[error] invalid-argument-type - :110:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | int`
[error] invalid-argument-type - :110:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | int`
[error] invalid-argument-type - :110:23 - Argument to bound method `__init__` is incorrect: Expected `tuple[RequestHistory, ...] | None`, found `Any | int`
[error] invalid-argument-type - :113:23 - Argument to bound method `__init__` is incorrect: Expected `Collection[int] | None`, found `Any | int`
[error] invalid-argument-type - :113:23 - Argument to bound method `__init__` is incorrect: Expected `Collection[str] | None`, found `Any | int`
[error] invalid-argument-type - :113:23 - Argument to bound method `__init__` is incorrect: Expected `Collection[str]`, found `Any | int`
[error] invalid-argument-type - :113:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | int`
[error] invalid-argument-type - :113:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | int`
[error] invalid-argument-type - :113:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | int`
[error] invalid-argument-type - :113:23 - Argument to bound method `__init__` is incorrect: Expected `tuple[RequestHistory, ...] | None`, found `Any | int`

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

cloudinit/cmd/status.py

[warning] possibly-missing-attribute - :204:37 - Attribute `items` on type `(Any & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (list[str] & ~AlwaysFalsy) | (dict[str, list[str]] & ~AlwaysFalsy)` may be missing
[warning] possibly-missing-attribute - :204:37 - Attribute `items` on type `(Any & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (list[str] & ~AlwaysFalsy) | (dict[str, list[str]] & ~AlwaysFalsy)` may be missing
[warning] possibly-missing-attribute - :204:37 - Attribute `items` on type `(Any & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (list[str] & ~AlwaysFalsy) | (dict[str, list[str]] & ~AlwaysFalsy)` may be missing

cloudinit/net/eni.py

[warning] possibly-missing-implicit-call - :643:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | str]` may be missing
[warning] possibly-missing-implicit-call - :647:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | str]` may be missing

cloudinit/distros/alpine.py

[error] not-iterable - :325:27 - Object of type `Any | list[Unknown] | None` may not be iterable
[error] invalid-argument-type - :393:44 - Argument to bound method `fromisoformat` is incorrect: Expected `str`, found `(Any & ~None) | list[Unknown]`
[error] invalid-assignment - :401:17 - Method `__setitem__` of type `Overload[(key: SupportsIndex, value: str, /) -> None, (key: slice[Any, Any, Any], value: Iterable[str], /) -> None]` cannot be called with a key of type `Literal[6]` and a value of type `(Any & ~None) | list[Unknown]` on object of type `list[str]`

cloudinit/sources/DataSourceAzure.py

[warning] possibly-missing-attribute - :2120:17 - Attribute `append` on type `Any | bool | dict[Unknown | str, Unknown | int] | list[Unknown]` may be missing
[warning] possibly-missing-implicit-call - :2131:13 - Method `__setitem__` of type `Any | int | dict[Unknown, Unknown]` may be missing

tests/unittests/config/test_cc_ansible.py

[warning] possibly-missing-attribute - :377:9 - Attribute `pop` on type `Any | str | dict[Unknown | str, Unknown | list[Unknown | list[Unknown | str]]] | dict[Unknown | str, Unknown | str | list[Unknown | str] | bool]` may be missing
[error] invalid-argument-type - :378:43 - Argument to function `filter_args` is incorrect: Expected `dict[Unknown, Unknown]`, found `Any | str | dict[Unknown | str, Unknown | list[Unknown | list[Unknown | str]]] | dict[Unknown | str, Unknown | str | list[Unknown | str] | bool]`

tests/unittests/sources/test_maas.py

[warning] possibly-missing-attribute - :146:16 - Attribute `decode` on type `Unknown | str | bytes` may be missing

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

colour/characterisation/aces_it.py

[error] no-matching-overload - :1142:9 - No overload of function `minimize` matches arguments

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/alexa/capabilities.py

[warning] possibly-missing-implicit-call - :227:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown]` may be missing

homeassistant/components/mqtt/diagnostics.py

[warning] possibly-missing-attribute - :115:5 - Attribute `extend` on type `Any | str | None | bool | list[Unknown]` may be missing

homeassistant/components/sonos/diagnostics.py

[warning] possibly-missing-implicit-call - :62:17 - Method `__setitem__` of type `Any | int | float` may be missing
[warning] possibly-missing-implicit-call - :66:17 - Method `__setitem__` of type `Any | int | float` may be missing

homeassistant/components/synology_dsm/diagnostics.py

[error] non-subscriptable - :50:17 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - :50:17 - Method `__setitem__` of type `Any | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[str, set[str]].__setitem__(key: str, value: set[str], /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[Unknown | str, Unknown]` on object of type `Any | dict[Unknown, Unknown] | dict[str, set[str]]`
[error] non-subscriptable - :60:25 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - :60:25 - Method `__setitem__` of type `Any | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[str, set[str]].__setitem__(key: str, value: set[str], /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[Unknown | str, Unknown]` on object of type `Any | dict[Unknown, Unknown] | dict[str, set[str]]`
[error] non-subscriptable - :70:13 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - :70:13 - Method `__setitem__` of type `Any | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[str, set[str]].__setitem__(key: str, value: set[str], /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[Unknown | str, Unknown]` on object of type `Any | dict[Unknown, Unknown] | dict[str, set[str]]`
[error] non-subscriptable - :77:13 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - :77:13 - Method `__setitem__` of type `Any | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[str, set[str]].__setitem__(key: str, value: set[str], /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[Unknown | str, Unknown]` on object of type `Any | dict[Unknown, Unknown] | dict[str, set[str]]`
[error] non-subscriptable - :87:13 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - :87:13 - Method `__setitem__` of type `Any | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[str, set[str]].__setitem__(key: str, value: set[str], /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[Unknown | str, Unknown]` on object of type `Any | dict[Unknown, Unknown] | dict[str, set[str]]`
[error] non-subscriptable - :94:13 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - :94:13 - Method `__setitem__` of type `Any | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[str, set[str]].__setitem__(key: str, value: set[str], /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[Unknown | str, Unknown]` on object of type `Any | dict[Unknown, Unknown] | dict[str, set[str]]`
[warning] possibly-missing-implicit-call - :104:13 - Method `__setitem__` of type `Any | dict[Unknown, Unknown] | dict[Unknown | str, Unknown] | ... omitted 3 union elements` may be missing

homeassistant/auth/auth_store.py

[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `PermissionLookup`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `dict[str, RefreshToken]`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `list[Credentials]`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `list[Group]`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `str | None`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :121:32 - Argument is incorrect: Expected `str`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `PermissionLookup`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `bool`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `dict[str, RefreshToken]`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `list[Credentials]`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `list[Group]`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `str | None`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :124:36 - Argument is incorrect: Expected `str`, found `Any | str | None | list[Unknown]`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `Credentials | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `User`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `datetime | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `datetime`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `int | float | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str | None`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `str`, found `Any | User | str | ... omitted 5 union elements`
[error] invalid-argument-type - :231:45 - Argument is incorrect: Expected `timedelta`, found `Any | User | str | ... omitted 5 union elements`

homeassistant/components/assist_pipeline/websocket_api.py

[error] invalid-argument-type - :243:40 - Argument is incorrect: Expected `ChatSession`, found `Any | None`
[error] invalid-argument-type - :243:40 - Argument is incorrect: Expected `PipelineRun`, found `Any | None`

homeassistant/components/automation/__init__.py

[warning] possibly-missing-attribute - :671:35 - Attribute `get` on type `Any | None` may be missing
[error] unsupported-operator - :675:43 - Operator `in` is not supported for types `str` and `None`, in comparing `Literal["idx"]` with `Any | None`
[error] non-subscriptable - :676:43 - Cannot subscript object of type `None` with no `__getitem__` method
[error] unsupported-operator - :699:43 - Operator `in` is not supported for types `str` and `None`, in comparing `Literal["description"]` with `Any | None`
[error] non-subscriptable - :700:43 - Cannot subscript object of type `None` with no `__getitem__` method

homeassistant/components/cloud/assist_pipeline.py

[error] invalid-argument-type - :106:57 - Argument to function `async_update_pipeline` is incorrect: Expected `bool | UndefinedType`, found `Any | str`

homeassistant/components/emulated_hue/hue_api.py

[error] unsupported-operator - :436:40 - Operator `>` is not supported for types `None` and `int`, in comparing `Any | bool | None` with `Literal[0]`
[error] unsupported-operator - :453:26 - Operator `/` is unsupported between objects of type `Any | bool | None` and `Literal[254]`
[error] invalid-argument-type - :478:25 - Argument to function `hue_brightness_to_hass` is incorrect: Expected `int`, found `Any | bool | None`
[error] unsupported-operator - :494:36 - Operator `/` is unsupported between objects of type `Any | bool | None | Literal[0]` and `Literal[65535]`
[error] unsupported-operator - :495:36 - Operator `/` is unsupported between objects of type `Any | bool | None | Literal[0]` and `Literal[254]`
[error] invalid-argument-type - :508:29 - Argument to function `color_temperature_mired_to_kelvin` is incorrect: Expected `int | float`, found `Any | bool | None`
[error] unsupported-operator - :516:45 - Operator `/` is unsupported between objects of type `Any | bool | None` and `Literal[10]`
[error] unsupported-operator - :559:49 - Operator `/` is unsupported between objects of type `Any | bool | None` and `float`
[error] invalid-argument-type - :614:50 - Argument to function `create_hue_success_response` is incorrect: Expected `str`, found `Any | bool | None`
[error] invalid-argument-type - :628:69 - Argument to function `create_hue_success_response` is incorrect: Expected `str`, found `Any | bool | None`

homeassistant/components/influxdb/__init__.py

[warning] possibly-missing-implicit-call - :282:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]` may be missing
[warning] possibly-missing-implicit-call - :290:17 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]` may be missing
[warning] possibly-missing-implicit-call - :304:21 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]` may be missing
[warning] possibly-missing-implicit-call - :308:21 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]` may be missing
[warning] possibly-missing-implicit-call - :311:25 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]` may be missing
[error] invalid-argument-type - :317:42 - 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 `Any | str` on object of type `str`
[error] invalid-argument-type - :318:29 - 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 `Any | str` on object of type `str`
[warning] possibly-missing-attribute - :320:9 - Attribute `update` on type `Any | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]` may be missing
[error] no-matching-overload - :320:9 - No overload of bound method `update` matches arguments
[error] no-matching-overload - :320:9 - No overload of bound method `update` matches arguments
[warning] possibly-missing-implicit-call - :284:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown]` may be missing

homeassistant/components/notion/__init__.py

[error] invalid-argument-type - :106:51 - Argument to bound method `async_update_entry` is incorrect: Expected `MappingProxyType[str, tuple[DiscoveryKey, ...]] | UndefinedType`, found `Any | dict[Unknown, Unknown]`
[error] invalid-argument-type - :106:51 - Argument to bound method `async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `Any | dict[Unknown, Unknown]`
[error] invalid-argument-type - :106:51 - Argument to bound method `async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `Any | dict[Unknown, Unknown]`
[error] invalid-argument-type - :106:51 - Argument to bound method `async_update_entry` is incorrect: Expected `int | UndefinedType`, found `Any | dict[Unknown, Unknown]`
[error] invalid-argument-type - :106:51 - Argument to bound method `async_update_entry` is incorrect: Expected `int | UndefinedType`, found `Any | dict[Unknown, Unknown]`
[error] invalid-argument-type - :106:51 - Argument to bound method `async_update_entry` is incorrect: Expected `str | None | UndefinedType`, found `Any | dict[Unknown, Unknown]`
[error] invalid-argument-type - :106:51 - Argument to bound method `async_update_entry` is incorrect: Expected `str | UndefinedType`, found `Any | dict[Unknown, Unknown]`

homeassistant/components/squeezebox/browse_media.py

[warning] possibly-missing-attribute - :428:13 - Attribute `append` on type `Any | str | bool | list[Unknown]` may be missing
[warning] possibly-missing-attribute - :445:13 - Attribute `extend` on type `Any | str | bool | list[Unknown]` may be missing
[error] invalid-argument-type - :445:45 - Argument to bound method `extend` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | Sequence[BrowseMedia] | None`
[warning] possibly-missing-attribute - :447:13 - Attribute `append` on type `Any | str | bool | list[Unknown]` may be missing
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `Sequence[BrowseMedia] | None`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | bool | list[Unknown]`
[error] invalid-argument-type - :449:24 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | bool | list[Unknown]`

homeassistant/components/velbus/diagnostics.py

[warning] possibly-missing-attribute - :22:9 - Attribute `append` on type `Any | dict[str, Any] | list[Unknown]` may be missing

homeassistant/components/vesync/diagnostics.py

[warning] redundant-cast - :89:9 - Value is already of type `dict[str, Any]`

homeassistant/components/zwave_js/api.py

[error] non-subscriptable - :2757:20 - Cannot subscript object of type `None` with no `__getitem__` method
[warning] possibly-missing-implicit-call - :2759:13 - Method `__setitem__` of type `Unknown | None` may be missing
[error] non-subscriptable - :2760:62 - Cannot subscript object of type `None` with no `__getitem__` method

homeassistant/helpers/singleton.py

[error] invalid-await - :68:32 -
Old: `_Coro | _U@singleton` is not awaitable
New: `_Coro[_T@singleton] | _U@singleton` is not awaitable
[error] invalid-return-type - :83:12 -
Old: Return type does not match returned value: expected `(_FuncType, /) -> _FuncType`, found `Overload[(func: (HomeAssistant, /) -> Coroutine[Any, Any, _T@singleton]) -> (HomeAssistant, /) -> Coroutine[Any, Any, _T@singleton], (func: (HomeAssistant, /) -> _U@singleton) -> (HomeAssistant, /) -> _U@singleton]`
New: Return type does not match returned value: expected `(_FuncType[_S@singleton], /) -> _FuncType[_S@singleton]`, found `Overload[(func: (HomeAssistant, /) -> Coroutine[Any, Any, _T@singleton]) -> (HomeAssistant, /) -> Coroutine[Any, Any, _T@singleton], (func: (HomeAssistant, /) -> _U@singleton) -> (HomeAssistant, /) -> _U@singleton]`

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

tests/test_examples.py

[error] invalid-argument-type - :84:20 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["bar"]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :85:23 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["bar"]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :86:23 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["bar"]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :87:24 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["bar"]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :88:27 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["bar"]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :89:32 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["bar"]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :90:27 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["bar"]` on object of type `list[Unknown | str]`

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

ddtrace/appsec/_iast/_ast/visitor.py

[error] invalid-argument-type - :158:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["os.path"]` on object of type `str`
[warning] possibly-missing-implicit-call - :158:5 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | str] | ... omitted 5 union elements` may be missing

ddtrace/llmobs/_integrations/bedrock.py

[warning] possibly-missing-attribute - :304:21 - Attribute `append` on type `Any | list[Unknown] | str` may be missing
[warning] possibly-missing-attribute - :314:25 - Attribute `append` on type `Any | list[Unknown] | str` may be missing

ddtrace/llmobs/_integrations/utils.py

[warning] possibly-missing-attribute - :891:9 - Attribute `sort` on type `(Any & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (list[Unknown] & ~AlwaysFalsy)` may be missing
[warning] possibly-missing-attribute - :894:26 - Attribute `strip` on type `Any | str | list[Unknown]` may be missing

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

dulwich/porcelain.py

[error] invalid-argument-type - :1584:19 - Argument is incorrect: Expected `Blob`, found `Tree | Blob | Commit | Tag`
[error] invalid-argument-type - :1584:19 - Argument is incorrect: Expected `Commit`, found `Tree | Blob | Commit | Tag`
[error] invalid-argument-type - :1584:19 - Argument is incorrect: Expected `Tag`, found `Tree | Blob | Commit | Tag`
[error] invalid-argument-type - :1584:19 - Argument is incorrect: Expected `Tree`, found `Tree | Blob | Commit | Tag`

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

tests/test_user_registry.py

[error] invalid-argument-type - :570:16 - 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["id"]` on object of type `str`

tests/execution/test_defer.py

[error] invalid-argument-type - :210:32 - Argument to bound method `__init__` is incorrect: Expected `list[str | int]`, found `Any | str | list[Unknown | str | int]`
[error] invalid-argument-type - :210:32 - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Any | str | list[Unknown | str | int]`
[error] invalid-argument-type - :210:32 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | list[Unknown | str | int]`
[error] invalid-argument-type - :211:40 - Argument to bound method `__init__` is incorrect: Expected `list[str | int]`, found `Any | str | list[Unknown | str | int]`
[error] invalid-argument-type - :211:40 - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Any | str | list[Unknown | str | int]`
[error] invalid-argument-type - :211:40 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | list[Unknown | str | int]`
[error] invalid-argument-type - :237:34 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | str | list[Unknown]`
[error] invalid-argument-type - :237:34 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | list[Unknown]`
[error] invalid-argument-type - :238:42 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | str | list[Unknown]`
[error] invalid-argument-type - :238:42 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | list[Unknown]`
[error] invalid-argument-type - :285:41 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :285:41 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any]`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :285:41 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :285:41 - Argument to bound method `__init__` is incorrect: Expected `list[str | int] | None`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :285:41 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :286:49 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :286:49 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any]`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :286:49 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :286:49 - Argument to bound method `__init__` is incorrect: Expected `list[str | int] | None`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :286:49 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :352:52 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :352:52 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :352:52 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :352:52 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :352:52 - Argument to bound method `__init__` is incorrect: Expected `list[PendingResult] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :353:60 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :353:60 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :353:60 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :353:60 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :353:60 - Argument to bound method `__init__` is incorrect: Expected `list[PendingResult] | None`, found `Any | dict[Unknown | str, Unknown | str] | list[Unknown | GraphQLError] | ... omitted 3 union elements`
[error] invalid-argument-type - :463:55 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :463:55 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :463:55 - Argument to bound method `__init__` is incorrect: Expected `list[@Todo] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :463:55 - Argument to bound method `__init__` is incorrect: Expected `list[CompletedResult] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :463:55 - Argument to bound method `__init__` is incorrect: Expected `list[PendingResult] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :464:63 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :464:63 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :464:63 - Argument to bound method `__init__` is incorrect: Expected `list[@Todo] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :464:63 - Argument to bound method `__init__` is incorrect: Expected `list[CompletedResult] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`
[error] invalid-argument-type - :464:63 - Argument to bound method `__init__` is incorrect: Expected `list[PendingResult] | None`, found `Any | bool | list[Unknown | PendingResult] | ... omitted 3 union elements`

tests/execution/test_stream.py

[error] invalid-argument-type - :193:42 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :193:42 - Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :193:42 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :193:42 - Argument to bound method `__init__` is incorrect: Expected `list[str | int] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :193:42 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :194:50 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :194:50 - Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :194:50 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :194:50 - Argument to bound method `__init__` is incorrect: Expected `list[str | int] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :194:50 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :229:42 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :229:42 - Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :229:42 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :229:42 - Argument to bound method `__init__` is incorrect: Expected `list[str | int] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :229:42 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :230:61 - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :230:61 - Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :230:61 - Argument to bound method `__init__` is incorrect: Expected `list[GraphQLError] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :230:61 - Argument to bound method `__init__` is incorrect: Expected `list[str | int] | None`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`
[error] invalid-argument-type - :230:61 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | list[Unknown | str] | str | ... omitted 3 union elements`

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

tests/ignite/metrics/test_metric.py

[error] invalid-assignment - :1214:9 - Object of type `Unknown` is not assignable to attribute `_num_correct` on type `Metric | Unknown`
[error] unresolved-attribute - :1214:9 - Unresolved attribute `_num_correct` on type `Metric`.
[error] invalid-assignment - :1215:9 - Object of type `Unknown` is not assignable to attribute `_num_examples` on type `Metric | Unknown`
[error] unresolved-attribute - :1215:9 - Unresolved attribute `_num_examples` on type `Metric`.
[error] invalid-assignment - :1216:9 - Object of type `Unknown` is not assignable to attribute `_numerator` on type `Metric | Unknown`
[error] unresolved-attribute - :1216:9 - Unresolved attribute `_numerator` on type `Metric`.
[error] invalid-assignment - :1217:9 - Object of type `Unknown` is not assignable to attribute `_denominator` on type `Metric | Unknown`
[error] unresolved-attribute - :1217:9 - Unresolved attribute `_denominator` on type `Metric`.
[error] invalid-assignment - :1218:9 - Object of type `Unknown` is not assignable to attribute `_weight` on type `Metric | Unknown`
[error] unresolved-attribute - :1218:9 - Unresolved attribute `_weight` on type `Metric`.
[error] invalid-assignment - :1219:9 - Object of type `Unknown` is not assignable to attribute `_updated` on type `Metric | Unknown`
[error] unresolved-attribute - :1219:9 - Unresolved attribute `_updated` on type `Metric`.
[error] invalid-assignment - :1226:9 - Object of type `Unknown` is not assignable to attribute `_numerator` on type `Metric | Unknown`
[error] unresolved-attribute - :1226:9 - Unresolved attribute `_numerator` on type `Metric`.
[error] invalid-assignment - :1227:9 - Object of type `Unknown` is not assignable to attribute `_denominator` on type `Metric | Unknown`
[error] unresolved-attribute - :1227:9 - Unresolved attribute `_denominator` on type `Metric`.
[error] invalid-assignment - :1228:9 - Object of type `Unknown` is not assignable to attribute `_weight` on type `Metric | Unknown`
[error] unresolved-attribute - :1228:9 - Unresolved attribute `_weight` on type `Metric`.
[error] invalid-assignment - :1229:9 - Object of type `Unknown` is not assignable to attribute `_updated` on type `Metric | Unknown`
[error] unresolved-attribute - :1229:9 - Unresolved attribute `_updated` on type `Metric`.
[error] invalid-assignment - :1231:9 - Object of type `Unknown` is not assignable to attribute `_numerator` on type `Metric | Unknown`
[error] unresolved-attribute - :1231:9 - Unresolved attribute `_numerator` on type `Metric`.
[error] invalid-assignment - :1232:9 - Object of type `Unknown` is not assignable to attribute `_denominator` on type `Metric | Unknown`
[error] unresolved-attribute - :1232:9 - Unresolved attribute `_denominator` on type `Metric`.
[error] invalid-assignment - :1233:9 - Object of type `Unknown` is not assignable to attribute `_weight` on type `Metric | Unknown`
[error] unresolved-attribute - :1233:9 - Unresolved attribute `_weight` on type `Metric`.
[error] invalid-assignment - :1234:9 - Object of type `Unknown` is not assignable to attribute `_updated` on type `Metric | Unknown`
[error] unresolved-attribute - :1234:9 - Unresolved attribute `_updated` on type `Metric`.

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

jax/_src/interpreters/pxla.py

[error] invalid-argument-type - :988:32 - Argument is incorrect: Expected `ShapedArray`, found `AbstractValue`

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

kornia/contrib/models/tiny_vit.py

[error] invalid-argument-type - :411:74 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | list[@Todo] | PatchMerging | None | bool`
[error] invalid-argument-type - :411:74 - Argument to bound method `__init__` is incorrect: Expected `int | float | list[int | float]`, found `Any | list[@Todo] | PatchMerging | None | bool`
[error] invalid-argument-type - :411:74 - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | list[@Todo] | PatchMerging | None | bool`
[error] invalid-argument-type - :411:74 - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | list[@Todo] | PatchMerging | None | bool`
[error] invalid-argument-type - :420:21 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Any | list[@Todo] | PatchMerging | None | bool`
[error] invalid-argument-type - :420:21 - Argument to bound method `__init__` is incorrect: Expected `int | float | list[int | float]`, found `Any | list[@Todo] | PatchMerging | None | bool`
[error] invalid-argument-type - :420:21 - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | list[@Todo] | PatchMerging | None | bool`
[error] invalid-argument-type - :420:21 - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | list[@Todo] | PatchMerging | None | bool`

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

test/sqlsmith/mzcompose.py

[error] not-iterable - :192:18 - Object of type `Any | list[Unknown] | str | int` may not be iterable
[error] invalid-argument-type - :193:31 - 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["message"]` on object of type `str`
[error] invalid-argument-type - :195:21 - 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 `Unknown | str` on object of type `str`
[error] invalid-argument-type - :199:47 - 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 `Unknown | str` on object of type `str`
[error] unsupported-operator - :201:12 - Operator `>` is not supported for types `list[Unknown]` and `int`, in comparing `Any | list[Unknown] | str | int` with `Literal[0]`

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

mesonbuild/interpreter/interpreter.py

[error] invalid-argument-type - :1604:48 - Argument to bound method `__init__` is incorrect: Expected `list[str | None] | None`, found `list[str] | list[Unknown]`

mesonbuild/rewriter.py

[warning] possibly-missing-implicit-call - :494:9 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | list[@Todo]]` may be missing
[error] invalid-argument-type - :518:13 - 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["default_options"]` on object of type `str`

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

mitmproxy/addons/savehar.py

[error] invalid-assignment - :260:13 - Method `__setitem__` of type `Any | (bound method dict[Unknown | str, Unknown | str | int].__setitem__(key: Unknown | str, value: Unknown | str | int, /) -> None) | (bound method dict[Unknown | str, Unknown | int | str | dict[Unknown | str, Unknown | int]].__setitem__(key: Unknown | str, value: Unknown | int | str | dict[Unknown | str, Unknown | int], /) -> None) | ... omitted 3 union elements` cannot be called with a key of type `Literal["postData"]` and a value of type `dict[Unknown | str, Unknown | str | None]` on object of type `Any | int | dict[Unknown | str, Unknown | str | int] | ... omitted 4 union elements`

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

mkdocs/theme.py

[error] invalid-argument-type - :73:53 - Argument to function `parse_locale` is incorrect: Expected `str`, found `str | Any | None`

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

mkosi/config.py

[error] invalid-argument-type - :3145:45 - Argument to function `make_simple_config_parser` is incorrect: Expected `Sequence[ConfigSetting[object]]`, found `list[ConfigSetting[Any] | ConfigSetting[bool]]`

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

bson/json_util.py

[error] invalid-assignment - :1015:9 -
Old: Method `__setitem__` of type `bound method dict[int, (Any, JSONOptions, /) -> Any].__setitem__(key: int, value: (Any, JSONOptions, /) -> Any, /) -> None` cannot be called with a key of type `object` and a value of type `((Any, JSONOptions, /) -> Any) | ((obj: Any, dummy0: Any) -> Any) | ((obj: Binary, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ... omitted 9 union elements` on object of type `dict[int, (Any, JSONOptions, /) -> Any]`
New: Method `__setitem__` of type `bound method dict[int, (Any, JSONOptions, /) -> Any].__setitem__(key: int, value: (Any, JSONOptions, /) -> Any, /) -> None` cannot be called with a key of type `object` and a value of type `(Any, JSONOptions, /) -> Any` on object of type `dict[int, (Any, JSONOptions, /) -> Any]`

mypy_primer (https://github.com/hauntsaninja/mypy_primer)

mypy_primer/main.py

[error] invalid-argument-type - :70:87 - Argument to function `setup_mypy` is incorrect: Expected `bool`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_mypy` is incorrect: Expected `bool`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_mypy` is incorrect: Expected `int | None`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_mypy` is incorrect: Expected `str | None`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_pyrefly` is incorrect: Expected `Path | None`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_pyrefly` is incorrect: Expected `str | None`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_pyrefly` is incorrect: Expected `str`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_pyright` is incorrect: Expected `str | None`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_ty` is incorrect: Expected `str | None`, found `Any | str | None | int | Path`
[error] invalid-argument-type - :70:87 - Argument to function `setup_ty` is incorrect: Expected `str`, found `Any | str | None | int | Path`

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

openlibrary/catalog/add_book/__init__.py

[warning] unused-ignore-comment - :1096:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1099:78 - Unused blanket `type: ignore` directive

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

optuna/storages/_callbacks.py

[warning] possibly-missing-attribute - :71:9 - Attribute `append` on type `Any | int | list[Unknown]` may be missing
[error] invalid-argument-type - :73:38 - Argument to function `len` is incorrect: Expected `Sized`, found `Any | int | list[Unknown]`

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

pandas/tests/frame/methods/test_replace.py

[error] invalid-return-type - :24:12 -
Old: Return type does not match returned value: expected `dict[str, list[int | str]]`, found `dict[str, list[int | str] | list[int] | list[Unknown]]`
New: Return type does not match returned value: expected `dict[str, list[int | str]]`, found `dict[str, list[int | str] | list[int]]`
[error] invalid-return-type - :29:12 -
Old: Return type does not match returned value: expected `dict[str, list[int | float | str]]`, found `dict[str, list[int | float | str] | list[int] | list[Unknown]]`
New: Return type does not match returned value: expected `dict[str, list[int | float | str]]`, found `dict[str, list[int | float | str] | list[int]]`

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

tests/test_pandas.py

[error] type-assertion-failure - :426:9 - Argument does not have asserted type `dict[str, Any]`

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

src/pip/_internal/network/session.py

[error] invalid-argument-type - :121:8 - 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 - :122:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str] | str` may be missing
[error] invalid-argument-type - :123:10 - 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 - :127:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str] | str` may be missing
[error] invalid-argument-type - :130:10 - 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 - :132:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str] | str` may be missing
[error] invalid-argument-type - :133:10 - 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 - :135:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str] | str` may be missing
[warning] possibly-missing-implicit-call - :162:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str] | str` may be missing
[warning] possibly-missing-implicit-call - :165:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str] | str` may be missing

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

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
[error] invalid-argument-type - :373:13 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | dict[Unknown | str, Unknown | str | bool | list[Unknown]], (s: slice[Any, Any, Any], /) -> list[Unknown | dict[Unknown | str, Unknown | str | bool | list[Unknown]]]]` cannot be called with key of type `Literal["files"]` on object of type `list[Unknown | dict[Unknown | str, Unknown | str | bool | list[Unknown]]]`
[warning] possibly-missing-implicit-call - :3042:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | str` may be missing
[warning] possibly-missing-implicit-call - :3043:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | str` may be missing
[warning] possibly-missing-implicit-call - :3044:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | str` may be missing
[warning] possibly-missing-implicit-call - :3045:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | str` may be missing
[warning] possibly-missing-implicit-call - :3149:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | str` may be missing
[warning] possibly-missing-implicit-call - :3150:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | str` may be missing
[warning] possibly-missing-implicit-call - :3151:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | str` may be missing
[warning] possibly-missing-implicit-call - :3152:9 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | str | bool | list[Unknown]] | dict[Unknown | str, Unknown | str | bool | list[Unknown] | dict[Unknown | str, Unknown | str]] | 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
[warning] possibly-missing-implicit-call - :3281:9 - 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
[warning] possibly-missing-implicit-call - :3282:9 - 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
[warning] possibly-missing-implicit-call - :3283:9 - 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

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

src/integrations/prefect-aws/prefect_aws/workers/ecs_worker.py

[warning] unused-ignore-comment - :1185:60 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1197:60 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :1112:16 - 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`
[error] invalid-argument-type - :1112:46 - 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["value"]` on object of type `str`
[warning] possibly-missing-attribute - :1113:17 - Attribute `remove` on type `Any | (str & ~AlwaysFalsy)` may be missing
[error] invalid-argument-type - :1184:20 - 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`
[error] invalid-argument-type - :1196:20 - 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`

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

[error] invalid-argument-type - :379:47 - 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 - 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/events/utilities.py

[error] invalid-argument-type - :96:27 -
Old: Argument is incorrect: Expected `Resource`, found `Any | str | dict[str, str] | dict[str, Any] | None`
New: Argument is incorrect: Expected `Resource`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 -
Old: Argument is incorrect: Expected `UUID | None`, found `Any | str | dict[str, str] | dict[str, Any] | None`
New: Argument is incorrect: Expected `Resource`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 -
Old: Argument is incorrect: Expected `UUID`, found `Any | str | dict[str, str] | dict[str, Any] | None`
New: Argument is incorrect: Expected `Resource`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 -
Old: Argument is incorrect: Expected `dict[str, Any]`, found `Any | str | dict[str, str] | dict[str, Any] | None`
New: Argument is incorrect: Expected `Resource`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 -
Old: Argument is incorrect: Expected `list[RelatedResource]`, found `Any | str | dict[str, str] | dict[str, Any] | None`
New: Argument is incorrect: Expected `Resource`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 -
Old: Argument is incorrect: Expected `str`, found `Any | str | dict[str, str] | dict[str, Any] | None`
New: Argument is incorrect: Expected `Resource`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 - Argument is incorrect: Expected `UUID | None`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 - Argument is incorrect: Expected `UUID`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 - Argument is incorrect: Expected `dict[str, Any]`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 - Argument is incorrect: Expected `list[RelatedResource]`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - :96:27 - Argument is incorrect: Expected `str`, found `Any | dict[str, Any] | None`

src/prefect/input/run_input.py

[error] no-matching-overload - :392:49 - No overload of function `create_model` matches arguments

src/prefect/server/events/triggers.py

[error] invalid-argument-type - :1074:65 - Argument to function `automation_changed` is incorrect: Expected `Literal["automation__created", "automation__updated", "automation__deleted"]`, found `@Todo | str`

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

pydantic/_internal/_dataclasses.py

[error] no-matching-overload - :223:12 - No overload of function `field` matches arguments

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

testing/python/metafunc.py

[error] invalid-argument-type - :356:50 - Argument is incorrect: Expected `Config | None`, found `Any | MockConfig`
[error] invalid-argument-type - :594:17 - Argument is incorrect: Expected `Config | None`, found `Any | MockConfig`
[error] invalid-argument-type - :628:67 - Argument is incorrect: Expected `Config | None`, found `Any | MockConfig`
[error] invalid-argument-type - :657:17 - Argument is incorrect: Expected `Config | None`, found `Any | MockConfig`

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

rotkehlchen/chain/balances.py

[warning] possibly-missing-implicit-call - :241:13 - Method `__setitem__` of type `Any | dict[Unknown, Unknown] | str | None` may be missing

rotkehlchen/constants/location_details.py

[warning] possibly-missing-implicit-call - :98:17 - Method `__setitem__` of type `Unknown | str` may be missing
[warning] possibly-missing-implicit-call - :100:17 - Method `__setitem__` of type `Unknown | str` may be missing
[warning] possibly-missing-implicit-call - :102:17 - Method `__setitem__` of type `Unknown | str` may be missing

rotkehlchen/api/rest.py

[error] invalid-argument-type - :3306:21 - 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 `str` on object of type `str`

rotkehlchen/externalapis/alchemy.py

[warning] possibly-missing-implicit-call - :85:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | str]` may be missing
[warning] possibly-missing-implicit-call - :87:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | str]` may be missing
[warning] possibly-missing-implicit-call - :88:13 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | str]` may be missing

rotkehlchen/tests/api/test_accounting_rules.py

[warning] possibly-missing-implicit-call - :154:5 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | bool | str] | dict[Unknown | str, Unknown | bool] | str | None` may be missing
[warning] possibly-missing-attribute - :588:5 - Attribute `append` on type `Any | dict[Unknown | str, Unknown | bool] | str` may be missing

rotkehlchen/tests/api/test_ethereum_transactions.py

[warning] possibly-missing-implicit-call - :866:5 - Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing
[warning] possibly-missing-implicit-call - :867:5 - Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing
[warning] possibly-missing-implicit-call - :868:5 - Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing
[warning] possibly-missing-implicit-call - :869:5 - Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing
[warning] possibly-missing-implicit-call - :870:5 - Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing
[warning] possibly-missing-attribute - :874:44 - Attribute `items` on type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing
[warning] possibly-missing-attribute - :901:44 - Attribute `items` on type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing
[warning] possibly-missing-implicit-call - :904:5 - Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | int | str | None] | str` may be missing

rotkehlchen/tests/unit/globaldb/test_globaldb_consistency.py

[error] invalid-argument-type - :357:56 - Argument to bound method `deserialize` is incorrect: Expected `int`, found `Unknown | list[Unknown]`

rotkehlchen/tests/utils/ethereum.py

[error] index-out-of-bounds - :132:10 - Index 0 is out of bounds for tuple `tuple[()]` with length 0
[error] index-out-of-bounds - :141:9 - Index 0 is out of bounds for tuple `tuple[()]` with length 0
[warning] possibly-missing-attribute - :205:9 - Attribute `append` on type `Any | str | None | int | list[Unknown]` may be missing

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

src/schemathesis/config/_projects.py

[error] invalid-assignment - :534:9 - Object of type `Unknown` is not assignable to attribute `_parent` on type `T@from_hierarchy | Unknown`

src/schemathesis/generation/coverage.py

[error] invalid-argument-type - :517:52 - Argument to function `_negative_enum` is incorrect: Expected `list[Unknown]`, found `Unknown | dict[Unknown, Unknown]`
[error] invalid-argument-type - :522:52 - Argument to function `_negative_type` is incorrect: Expected `str | list[str]`, found `Unknown | dict[Unknown, Unknown]`
[error] invalid-argument-type - :534:55 - Argument to function `_negative_pattern` is incorrect: Expected `str`, found `Unknown | dict[Unknown, Unknown]`
[error] invalid-argument-type - :534:62 - Argument to function `_negative_pattern` is incorrect: Expected `int | None`, found `Unknown | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :534:85 - Argument to function `_negative_pattern` is incorrect: Expected `int | None`, found `Unknown | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :536:62 - Argument to function `_negative_format` is incorrect: Expected `str`, found `Unknown | dict[Unknown, Unknown]`
[error] unsupported-operator - :538:28 - Operator `+` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :542:28 - Operator `-` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] invalid-argument-type - :550:70 - Argument to function `_negative_multiple_of` is incorrect: Expected `int | float`, found `Unknown | dict[Unknown, Unknown]`
[error] unsupported-operator - :553:45 - Operator `<` is not supported for types `int` and `dict[Unknown, Unknown]`, in comparing `Literal[0]` with `Unknown | dict[Unknown, Unknown]`
[error] unsupported-operator - :553:49 - Operator `<` is not supported for types `dict[Unknown, Unknown]` and `int`, in comparing `Unknown | dict[Unknown, Unknown]` with `Literal[32768]`
[error] unsupported-operator - :565:55 - Operator `-` is unsupported between objects of type `(Unknown & ~Literal[1]) | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :565:55 - Operator `-` is unsupported between objects of type `(Unknown & ~Literal[1]) | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :583:45 - Operator `<` is not supported for types `dict[Unknown, Unknown]` and `int`, in comparing `Unknown | dict[Unknown, Unknown]` with `Literal[32768]`
[error] unsupported-operator - :585:51 - Operator `+` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :585:51 - Operator `+` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :589:32 - Operator `>` is not supported for types `dict[Unknown, Unknown]` and `int`, in comparing `Unknown | dict[Unknown, Unknown]` with `Literal[100]`
[error] invalid-argument-type - :614:66 - Argument to function `_negative_required` is incorrect: Expected `list[str]`, found `Unknown | dict[Unknown, Unknown]`
[error] unsupported-operator - :842:35 - Operator `<` is not supported for types `str` and `int`, in comparing `(Unknown & ~Literal[0] & ~None) | str` with `Literal[32768]`
[error] unsupported-operator - :852:18 - Operator `+` is unsupported between objects of type `(Unknown & ~Literal[0] & ~None) | str` and `Literal[1]`
[error] unsupported-operator - :863:12 - Operator `<` is not supported for types `str` and `int`, in comparing `(Unknown & ~None) | str` with `Literal[32768]`
[error] unsupported-operator - :870:19 - Operator `-` is unsupported between objects of type `(Unknown & ~None) | str` and `Literal[1]`
[error] unsupported-operator - :900:19 - Operator `+` is unsupported between objects of type `(Unknown & ~None) | str` and `Literal[1]`
[error] unsupported-operator - :902:19 - Operator `-` is unsupported between objects of type `(Unknown & ~None) | str` and `Literal[1]`
[error] invalid-argument-type - :932:54 - Argument to function `closest_multiple_greater_than` is incorrect: Expected `int`, found `(Unknown & ~None) | str`
[error] invalid-argument-type - :932:63 - Argument to function `closest_multiple_greater_than` is incorrect: Expected `int`, found `(Unknown & ~None) | str`
[error] unsupported-operator - :940:22 - Operator `+` is unsupported between objects of type `int | (Unknown & ~None) | str` and `(Unknown & ~None) | str`
[error] unsupported-operator - :942:22 - Operator `+` is unsupported between objects of type `(Unknown & ~None) | str` and `Literal[1]`
[error] unsupported-operator - :949:23 - Operator `-` is unsupported between objects of type `(Unknown & ~None) | str` and `Unknown | str`
[error] unsupported-operator - :957:23 - Operator `-` is unsupported between objects of type `Unknown | str` and `(Unknown & ~None) | str`
[error] unsupported-operator - :959:23 - Operator `-` is unsupported between objects of type `(Unknown & ~None) | str` and `Literal[1]`

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

sklearn/tests/test_metaestimators_metadata_routing.py

[warning] possibly-missing-attribute - :492:26 - Attribute `__name__` on type `Unknown | <class 'MultiOutputRegressor'> | str | ... omitted 44 union elements` may be missing

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

scipy/signal/_short_time_fft.py

[error] no-matching-overload - :1104:14 - No overload of function `pad` matches arguments

scipy/special/tests/test_cython_special.py

[warning] possibly-missing-attribute - :300:8 - Attribute `__name__` on type `((...) -> Unknown) | Unknown` may be missing
[error] unresolved-attribute - :300:8 - Type `(...) -> Unknown` has no attribute `__name__`

scipy/stats/_qmc.py

[error] invalid-argument-type - :2609:26 -
Old: Method `__getitem__` of type `bound method dict[str, ((...) -> Unknown) | ((best_sample: ndarray[@Todo, Unknown], n_iters: int, n_nochange: int, rng: GeneratorType@_random_cd, **kwargs: dict[Unknown, Unknown]) -> ndarray[@Todo, Unknown]) | ((sample: @Todo, *, tol: @Todo = float, maxiter: @Todo = Literal[10], qhull_options: str | None = None, **kwargs: dict[Unknown, Unknown]) -> ndarray[@Todo, Unknown])].__getitem__(key: str, /) -> ((...) -> Unknown) | ((best_sample: ndarray[@Todo, Unknown], n_iters: int, n_nochange: int, rng: GeneratorType@_random_cd, **kwargs: dict[Unknown, Unknown]) -> ndarray[@Todo, Unknown]) | ((sample: @Todo, *, tol: @Todo = float, maxiter: @Todo = Literal[10], qhull_options: str | None = None, **kwargs: dict[Unknown, Unknown]) -> ndarray[@Todo, Unknown])` cannot be called with key of type `Literal["random-cd", "lloyd"] | None` on object of type `dict[str, ((...) -> Unknown) | ((best_sample: ndarray[@Todo, Unknown], n_iters: int, n_nochange: int, rng: GeneratorType@_random_cd, **kwargs: dict[Unknown, Unknown]) -> ndarray[@Todo, Unknown]) | ((sample: @Todo, *, tol: @Todo = float, maxiter: @Todo = Literal[10], qhull_options: str | None = None, **kwargs: dict[Unknown, Unknown]) -> ndarray[@Todo, Unknown])]`
New: Method `__getitem__` of type `bound method dict[str, (...) -> Unknown].__getitem__(key: str, /) -> (...) -> Unknown` cannot be called with key of type `Literal["random-cd", "lloyd"] | None` on object of type `dict[str, (...) -> Unknown]`

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

setuptools/tests/test_editable_install.py

[error] invalid-argument-type - :884:28 - 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["mod1.py"]` on object of type `str`
[error] invalid-argument-type - :886:22 - 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["subpackage"]` on object of type `str`
[error] invalid-argument-type - :894:32 - 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["mod1.py"]` on object of type `str`
[error] invalid-argument-type - :895:35 - 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["subpackage"]` on object of type `str`
[error] unsupported-operator - :956:5 -
Old: Operator `+=` is unsupported between objects of type `dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str] | str]]` and `str`
New: Operator `+=` is unsupported between objects of type `dict[Unknown | str, Unknown | dict[Unknown | str, Unknown]]` and `str`
[error] unsupported-operator - :956:5 -
Old: Operator `+=` is unsupported between objects of type `dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]] | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str]]]` and `str`
New: Operator `+=` is unsupported between objects of type `dict[Unknown | str, Unknown | dict[Unknown | str, Unknown]]` and `str`
[error] unsupported-operator - :956:5 -
Old: Operator `+=` is unsupported between objects of type `dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str]]` and `str`
New: Operator `+=` is unsupported between objects of type `dict[Unknown | str, Unknown | dict[Unknown | str, Unknown]]` and `str`
[error] unsupported-operator - :956:5 - Operator `+=` is unsupported between objects of type `dict[Unknown | str, Unknown]` and `str`
[warning] possibly-missing-implicit-call - :969:5 -
Old: Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | str] | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]] | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str]]` may be missing
New: Method `__setitem__` of type `Unknown | dict[Unknown | str, Unknown | str] | str | dict[Unknown | str, Unknown]` may be missing

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

sphinx/ext/apidoc/_cli.py

[warning] possibly-missing-attribute - :346:9 - Attribute `extend` on type `Any | str | int | list[Unknown | str]` may be missing
[error] non-subscriptable - :350:16 - Cannot subscript object of type `int` with no `__getitem__` method
[warning] possibly-missing-attribute - :352:13 - Attribute `remove` on type `Any | str | int | list[Unknown | str]` may be missing
[warning] possibly-missing-attribute - :353:13 - Attribute `extend` on type `Any | str | int | list[Unknown | str]` may be missing

sphinx/domains/cpp/_symbol.py

[error] invalid-return-type - :1183:20 -
Old: Return type does not match returned value: expected `tuple[list[Symbol] | None, str]`, found `tuple[list[Symbol | (Unknown & ~None)], None]`
New: Return type does not match returned value: expected `tuple[list[Symbol] | None, str]`, found `tuple[list[Symbol], None]`

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

starlette/testclient.py

[warning] possibly-missing-attribute - :365:49 - Attribute `read` on type `Any | int | list[Unknown] | BytesIO` may be missing

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

static_frame/core/frame.py

[warning] unused-ignore-comment - :6774:78 - Unused blanket `type: ignore` directive

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

strawberry/field_extensions/input_mutation.py

[warning] possibly-missing-implicit-call - :45:13 - Method `__setitem__` of type `Any | str | dict[Unknown, Unknown]` may be missing
[error] invalid-argument-type - :59:17 - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Any | str | dict[Unknown, Unknown]`

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

lib/streamlit/elements/widgets/slider.py

[warning] unused-ignore-comment - :801:63 - Unused `ty: ignore` directive: 'unsupported-operator'

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

sympy/core/evalf.py

[error] invalid-assignment - :1410:5 -
Old: Object of type `dict[type[Expr], ((Expr, int, dict[str, Any], /) -> Any) | (def evalf_float(expr: Float, prec: int, options: dict[str, Any]) -> Any) | (def evalf_rational(expr: Rational, prec: int, options: dict[str, Any]) -> Any) | ... omitted 17 union elements]` is not assignable to `dict[type[Expr], (Expr, int, dict[str, Any], /) -> Any]`
New: Object of type `dict[type[Expr], ((Expr, int, dict[str, Any], /) -> Any) | (def evalf_float(expr: Float, prec: int, options: dict[str, Any]) -> Any) | (def evalf_rational(expr: Rational, prec: int, options: dict[str, Any]) -> Any) | ... omitted 16 union elements]` is not assignable to `dict[type[Expr], (Expr, int, dict[str, Any], /) -> Any]`

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

src/urllib3/contrib/pyopenssl.py

[error] invalid-return-type - :397:16 -
Old: Return type does not match returned value: expected `dict[str, list[Any]] | None`, found `dict[str, list[Any] | tuple[tuple[tuple[str, Unknown]]] | list[tuple[str, str]]]`
New: Return type does not match returned value: expected `dict[str, list[Any]] | None`, found `dict[str, list[Any] | tuple[tuple[tuple[str, Unknown]]]]`

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

references/classification/utils.py

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

torchvision/models/video/mvit.py

[error] invalid-argument-type - :743:17 - Argument is incorrect: Expected `int`, found `Unknown | int | list[Unknown] | list[Unknown | int]`
[error] invalid-argument-type - :744:17 - Argument is incorrect: Expected `int`, found `Unknown | int | list[Unknown] | list[Unknown | int]`
[error] invalid-argument-type - :745:17 - Argument is incorrect: Expected `int`, found `Unknown | int | list[Unknown] | list[Unknown | int]`
[error] invalid-argument-type - :746:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown] | list[Unknown | int]`
[error] invalid-argument-type - :747:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown] | list[Unknown | int]`
[error] invalid-argument-type - :748:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown] | list[Unknown | int]`
[error] invalid-argument-type - :749:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown] | list[Unknown | int]`
[error] invalid-argument-type - :876:17 - Argument is incorrect: Expected `int`, found `Unknown | int | list[Unknown | int]`
[error] invalid-argument-type - :877:17 - Argument is incorrect: Expected `int`, found `Unknown | int | list[Unknown | int]`
[error] invalid-argument-type - :878:17 - Argument is incorrect: Expected `int`, found `Unknown | int | list[Unknown | int]`
[error] invalid-argument-type - :879:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown | int]`
[error] invalid-argument-type - :880:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown | int]`
[error] invalid-argument-type - :881:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown | int]`
[error] invalid-argument-type - :882:17 - Argument is incorrect: Expected `list[int]`, found `Unknown | int | list[Unknown | int]`

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

xarray/tests/test_dataarray.py

[error] invalid-argument-type - :3805:13 - Method `__getitem__` of type `Overload[(index: SupportsIndex, /) -> str, (index: slice[Any, Any, Any], /) -> tuple[str, ...]]` cannot be called with key of type `Literal["x"]` on object of type `tuple[str, str]`
[error] invalid-argument-type - :3805:13 - 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["x"]` on object of type `str`
[warning] possibly-missing-attribute - :3807:9 - Attribute `update` on type `Any | ndarray[@Todo, Unknown] | dict[Unknown | str, Unknown | tuple[str] | dict[Unknown, Unknown]]` may be missing
[error] invalid-argument-type - :3807:9 - Method `__getitem__` of type `Overload[(index: SupportsIndex, /) -> str, (index: slice[Any, Any, Any], /) -> tuple[str, ...]]` cannot be called with key of type `Literal["x"]` on object of type `tuple[str, str]`
[error] invalid-argument-type - :3807:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["x"]` on object of type `str`

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] possibly-missing-implicit-call - :5393:13 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | tuple[str] | list[Unknown] | dict[Unknown, Unknown]] | int | dict[Unknown | str, Unknown | tuple[str] | dict[Unknown, Unknown]]` may be missing
[warning] possibly-missing-implicit-call - :5395:17 - Method `__setitem__` of type `Any | dict[Unknown | str, Unknown | tuple[str] | list[Unknown] | dict[Unknown, Unknown]] | int | dict[Unknown | str, Unknown | tuple[str] | dict[Unknown, Unknown]]` may be missing
[error] non-subscriptable - :5412:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] non-subscriptable - :5413:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] non-subscriptable - :5414:13 - Cannot subscript object of type `int` with no `__getitem__` method
[warning] possibly-missing-attribute - :5416:9 - Attribute `update` on type `Any | dict[Unknown | str, Unknown | tuple[str] | list[Unknown] | dict[Unknown, Unknown]] | int | dict[Unknown | str, Unknown | tuple[str] | dict[Unknown, Unknown]]` may be missing
[warning] possibly-missing-attribute - :5417:9 - Attribute `update` on type `Any | dict[Unknown | str, Unknown | tuple[str] | list[Unknown] | dict[Unknown, Unknown]] | int | dict[Unknown | str, Unknown | tuple[str] | dict[Unknown, Unknown]]` may be missing
[warning] possibly-missing-attribute - :5418:9 - Attribute `update` on type `Any | dict[Unknown | str, Unknown | tuple[str] | list[Unknown] | dict[Unknown, Unknown]] | int | dict[Unknown | str, Unknown | tuple[str] | dict[Unknown, Unknown]]` may be missing

xarray/tests/test_distributed.py

[warning] unused-ignore-comment - :274:44 - Unused blanket `type: ignore` directive
[warning] possibly-missing-attribute - :278:13 - Attribute `compute` on type `ZarrStore | Unknown` may be missing
[error] invalid-argument-type - :280:53 - Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `Any | dict[Unknown | str, Unknown | bool]`
[error] invalid-argument-type - :280:53 - Argument to function `open_dataset` is incorrect: Expected `bool | None`, found `Any | dict[Unknown | str, Unknown | bool]`
[error] invalid-argument-type - :280:53 - Argument to function `open_dataset` is incorrect: Expected `bool | None`, found `Any | dict[Unknown | str, Unknown | bool]`
[error] invalid-argument-type - :280:53 - Argument to function `open_dataset` is incorrect: Expected `bool`, found `Any | dict[Unknown | str, Unknown | bool]`
[error] invalid-argument-type - :280:53 - Argument to function `open_dataset` is incorrect: Expected `bool`, found `Any | dict[Unknown | str, Unknown | bool]`
[error] invalid-argument-type - :280:53 - Argument to function `open_dataset` is incorrect: Expected `str | None`, found `Any | dict[Unknown | str, Unknown | bool]`

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

zerver/tests/test_rocketchat_importer.py

[error] invalid-assignment - :423:9 - Method `__setitem__` of type `bound method dict[str, dict[str, Any]].__setitem__(key: str, value: dict[str, Any], /) -> None` cannot be called with a key of type `Any | str | datetime` and a value of type `dict[str, Any | str | datetime]` on object of type `dict[str, dict[str, Any]]`

zerver/tests/test_settings.py

[error] invalid-argument-type - :496:33 - Argument to function `getattr` is incorrect: Expected `str`, found `Any | str | int`

zilencer/management/commands/add_mock_conversation.py

[error] invalid-argument-type - :114:17 - Argument to function `internal_prep_stream_message` is incorrect: Expected `UserProfile`, found `Any | UserProfile | str`
[error] invalid-argument-type - :117:17 - Argument to function `internal_prep_stream_message` is incorrect: Expected `str`, found `Any | UserProfile | str`

analytics/views/stats.py

[warning] possibly-missing-attribute - :534:13 - Attribute `update` on type `Any | list[@Todo] | str` may be missing
[error] invalid-argument-type - :546:54 - Argument to function `sort_client_labels` is incorrect: Expected `dict[str, dict[str, list[int]]]`, found `dict[str, Any | list[@Todo] | str]`

zerver/actions/create_user.py

[error] invalid-argument-type - :440:21 - Argument to function `format_user_row` is incorrect: Expected `bool`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`
[error] invalid-argument-type - :440:21 - Argument to function `format_user_row` is incorrect: Expected `bool`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`
[error] invalid-argument-type - :440:21 - Argument to function `format_user_row` is incorrect: Expected `dict[str, Any] | None`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`
[error] invalid-argument-type - :440:21 - Argument to function `format_user_row` is incorrect: Expected `int`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`
[error] invalid-argument-type - :447:21 - Argument to function `format_user_row` is incorrect: Expected `bool`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`
[error] invalid-argument-type - :447:21 - Argument to function `format_user_row` is incorrect: Expected `bool`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`
[error] invalid-argument-type - :447:21 - Argument to function `format_user_row` is incorrect: Expected `dict[str, Any] | None`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`
[error] invalid-argument-type - :447:21 - Argument to function `format_user_row` is incorrect: Expected `int`, found `Any | RawUserDict | bool | dict[Unknown, Unknown]`

zerver/actions/message_edit.py

[error] invalid-argument-type - :680:22 - Invalid argument to key "timestamp" with declared type `int` on TypedDict `EditHistoryEvent`: value of type `Any | str | int`
[error] invalid-argument-type - :862:24 - Invalid argument to key "user_id" with declared type `int | None` on TypedDict `EditHistoryEvent`: value of type `Unknown | str | int`
[error] invalid-argument-type - :863:26 - Invalid argument to key "timestamp" with declared type `int` on TypedDict `EditHistoryEvent`: value of type `Unknown | str | int`

zerver/lib/scim.py

[error] invalid-argument-type - :621:44 - 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["value"]` on object of type `str`

zerver/openapi/python_examples.py

[error] unsupported-operator - :1116:12 - Operator `<=` is not supported for types `int` and `str`, in comparing `int` with `Any | str | int | list[Unknown | dict[Unknown | str, Unknown | str]]`
[error] invalid-return-type - :1338:12 - Return type does not match returned value: expected `tuple[int, str]`, found `tuple[Unknown, Any | str | list[Unknown | int]]`

zerver/tests/test_slack_importer.py

[warning] possibly-missing-implicit-call - :831:22 - Method `__setitem__` of type `Any | str | bool | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | str]` may be missing
[warning] possibly-missing-implicit-call - :832:22 - Method `__setitem__` of type `Any | str | bool | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]]] | dict[Unknown | str, Unknown | str]` may be missing

zproject/computed_settings.py

[warning] possibly-missing-attribute - :684:5 - Attribute `append` on type `Any | str | list[Unknown | str]` may be missing
[error] invalid-argument-type - :684:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["context_processors"]` on object of type `str`
[warning] possibly-missing-attribute - :712:1 - Attribute `update` on type `Any | str | dict[Unknown | str, Unknown | str | list[Unknown | str]]` may be missing
[error] invalid-argument-type - :721:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["environment"]` on object of type `str`
[error] invalid-argument-type - :722:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["extensions"]` on object of type `str`
[warning] possibly-missing-implicit-call - :723:1 - Method `__setitem__` of type `Any | str | dict[Unknown | str, Unknown | str | list[Unknown | str]]` may be missing