Summary

Comparing branches/commits:
Old: main (merge base) a0144fd8
New: 20933/merge 05d6ba2e
Lint Rule Removed Added Changed
Total 372 66 16
invalid-argument-type 269 52 3
invalid-assignment 68 3 3
invalid-return-type 7 2 6
unused-ignore-comment 15 0 0
possibly-missing-attribute 6 3 4
type-assertion-failure 4 0 0
unresolved-attribute 0 3 0
unsupported-operator 1 2 0
no-matching-overload 1 1 0
not-iterable 1 0 0

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

tanjun/dependencies/reloaders.py

[error] unsupported-operator - :364:75 - Operator `-` is unsupported between objects of type `set[Path]` and `set[str] | set[Path]`

tanjun/annotations.py

[error] invalid-assignment - :1521:13 - Object of type `dict[str, _ChoiceT@__init__]` is not assignable to attribute `_choices` of type `dict[str, int | float | str]`

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

tests/test_runserver_watch.py

[error] invalid-assignment - :108:5 - Object of type `set[tuple[MagicMock, str]]` is not assignable to `set[tuple[WebSocketResponse, str]]`

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

altair/utils/schemapi.py

[warning] unused-ignore-comment - :429:57 - Unused blanket `type: ignore` directive

altair/vegalite/v6/api.py

[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `Literal["json", "html", "png", "svg", "pdf"] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `Literal["vega-lite"] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `Literal["vl-convert"] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `bool`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `int | float`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `str | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `str | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `str | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2414:22 - Argument to function `save` is incorrect: Expected `str | Path | IO[Unknown]`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `Literal["json", "html", "png", "svg", "pdf"] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `Literal["vega-lite"] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `Literal["vl-convert"] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `bool`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `int | float`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `str | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `str | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `str | None`, found `Self@save | str | Path | ... omitted 6 union elements`
[error] invalid-argument-type - :2416:18 - Argument to function `save` is incorrect: Expected `str | Path | IO[Unknown]`, found `Self@save | str | Path | ... omitted 6 union elements`

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

src/antidote/core/wiring.py

[error] invalid-assignment - :150:13 - Method `__setitem__` of type `bound method dict[str, Methods | frozenset[str] | Mapping[str, object] | bool].__setitem__(key: str, value: Methods | frozenset[str] | Mapping[str, object] | bool, /) -> None` cannot be called with a key of type `Literal["methods"]` and a value of type `Methods | Iterable[str]` on object of type `dict[str, Methods | frozenset[str] | Mapping[str, object] | bool]`
[error] invalid-argument-type - :158:23 - Argument to bound method `__init__` is incorrect: Expected `Mapping[str, object] | None`, found `Methods | frozenset[str] | Mapping[str, object] | bool`
[error] invalid-argument-type - :158:23 - Argument to bound method `__init__` is incorrect: Expected `Methods | Iterable[str]`, found `Methods | frozenset[str] | Mapping[str, object] | bool`
[error] invalid-argument-type - :158:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Methods | frozenset[str] | Mapping[str, object] | bool`
[error] invalid-argument-type - :158:23 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Methods | frozenset[str] | Mapping[str, object] | bool`

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

src/bokeh/core/templates.py

[error] invalid-assignment - :112:1 - Object of type `dict[str, () -> Unknown]` is not assignable to `dict[str, () -> Template]`

src/bokeh/model/model.py

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

src/bokeh/models/sources.py

[error] invalid-argument-type - :256:21 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | Property[Any]`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[str]`, found `Unknown | Property[Any]`

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

boostedblob/cli.py

[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `Iterable[Unknown] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `bool`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `int | str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `str | tuple[str, ...] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `str | type[Action]`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :662:45 - Argument to bound method `add_argument` is incorrect: Expected `str`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `Iterable[Unknown] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `bool`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `int | str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `str | tuple[str, ...] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `str | type[Action]`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :674:45 - Argument to bound method `add_argument` is incorrect: Expected `str`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `Iterable[Unknown] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `bool`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `int | str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `str | tuple[str, ...] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `str | type[Action]`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :687:45 - Argument to bound method `add_argument` is incorrect: Expected `str`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `Iterable[Unknown] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `bool`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `int | str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `str | tuple[str, ...] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `str | type[Action]`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :708:45 - Argument to bound method `add_argument` is incorrect: Expected `str`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `Iterable[Unknown] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `bool`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `int | str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `str | tuple[str, ...] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `str | type[Action]`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :720:45 - Argument to bound method `add_argument` is incorrect: Expected `str`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `Iterable[Unknown] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `bool`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `int | str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `str | tuple[str, ...] | None`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `str | type[Action]`, found `<class 'int'> | str | int`
[error] invalid-argument-type - :752:45 - Argument to bound method `add_argument` is incorrect: Expected `str`, found `<class 'int'> | str | int`

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

homeassistant/components/bthome/logbook.py

[error] invalid-return-type - :34:16 - Return type does not match returned value: expected `dict[str, str]`, found `dict[str, str | (DeviceEntry & ~AlwaysTruthy & ~AlwaysFalsy)]`

homeassistant/components/airly/__init__.py

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

homeassistant/components/met/__init__.py

[warning] unused-ignore-comment - :69:68 - Unused blanket `type: ignore` directive

homeassistant/components/modbus/binary_sensor.py

[error] invalid-assignment - :87:9 - Object of type `DataUpdateCoordinator[dict[str, Any]]` is not assignable to attribute `_coordinator` of type `DataUpdateCoordinator[list[int] | None] | None`
[error] invalid-argument-type - :95:25 - Argument to bound method `__init__` is incorrect: Expected `DataUpdateCoordinator[list[int] | None]`, found `DataUpdateCoordinator[list[int] | None] | None`

homeassistant/components/modbus/sensor.py

[error] invalid-assignment - :101:9 - Object of type `DataUpdateCoordinator[dict[str, Any]]` is not assignable to attribute `_coordinator` of type `DataUpdateCoordinator[list[int | float | None] | None] | None`
[error] invalid-argument-type - :109:25 - Argument to bound method `__init__` is incorrect: Expected `DataUpdateCoordinator[list[int | float | None] | None]`, found `DataUpdateCoordinator[list[int | float | None] | None] | None`

homeassistant/components/apple_tv/__init__.py

[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `DeviceEntryDisabler | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `DeviceEntryType | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `Mapping[str, str] | None`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `set[tuple[str, str]] | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `set[tuple[str, str]] | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | datetime | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | datetime | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`
[error] invalid-argument-type - :392:57 - Argument to bound method `async_get_or_create` is incorrect: Expected `tuple[str, str] | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]] | str`

homeassistant/components/ecobee/climate.py

[error] invalid-argument-type - :926:13 - Argument to function `sorted` is incorrect: Argument type `str | None | Unknown` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`
[error] invalid-argument-type - :926:13 - Argument to function `sorted` is incorrect: Expected `Iterable[str]`, found `list[str | None | Unknown]`

homeassistant/components/home_connect/select.py

[error] invalid-assignment - :453:9 - Object of type `set[str]` is not assignable to attribute `_original_option_keys` of type `set[str | None]`
[error] invalid-assignment - :530:9 - Object of type `set[str]` is not assignable to attribute `_original_option_keys` of type `set[str | None]`

homeassistant/components/homekit/__init__.py

[error] invalid-argument-type - :959:13 - Argument to bound method `async_get_or_create` is incorrect: Expected `set[tuple[str, str]] | None | UndefinedType`, found `set[Unknown | tuple[str, Unknown | str, str]]`

homeassistant/components/homekit_controller/connection.py

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

homeassistant/components/hue/v2/device.py

[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `DeviceEntryDisabler | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `DeviceEntryType | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `Mapping[str, str] | None`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | None`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | datetime | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `str | datetime | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`
[error] invalid-argument-type - :78:76 - Argument to bound method `async_get_or_create` is incorrect: Expected `tuple[str, str] | None | UndefinedType`, found `Unknown | set[Unknown | tuple[str, Unknown]]`

homeassistant/components/hue/v2/hue_event.py

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

homeassistant/components/kodi/media_player.py

[warning] possibly-missing-attribute - :322:37 - Attribute `id` may be missing on object of type `DeviceEntry | None`
[warning] possibly-missing-attribute - :323:27 - Attribute `id` may be missing on object of type `DeviceEntry | None`

homeassistant/components/kraken/__init__.py

[error] invalid-assignment - :134:9 - Object of type `DataUpdateCoordinator[dict[str, Any]]` is not assignable to attribute `coordinator` of type `DataUpdateCoordinator[KrakenResponse | None] | None`
[warning] possibly-missing-attribute - :144:15 - Attribute `async_config_entry_first_refresh` may be missing on object of type `DataUpdateCoordinator[KrakenResponse | None] | None`

homeassistant/components/lcn/device_trigger.py

[warning] unused-ignore-comment - :61:82 - Unused blanket `type: ignore` directive

homeassistant/components/nmap_tracker/__init__.py

[error] invalid-assignment - :220:9 - Object of type `dict[str | Unknown, str | None | Unknown]` is not assignable to attribute `_known_mac_addresses` of type `dict[str, str]`

homeassistant/components/proxmoxve/__init__.py

[error] invalid-return-type - :215:12 - Return type does not match returned value: expected `DataUpdateCoordinator[dict[str, Any] | None]`, found `DataUpdateCoordinator[dict[str, Any]]`

homeassistant/components/rest/__init__.py

[error] invalid-return-type - :180:12 - Return type does not match returned value: expected `DataUpdateCoordinator[None]`, found `DataUpdateCoordinator[dict[str, Any]]`

homeassistant/components/simplisafe/__init__.py

[error] invalid-assignment - :588:9 - Object of type `DataUpdateCoordinator[dict[str, Any]]` is not assignable to attribute `coordinator` of type `DataUpdateCoordinator[None] | None`

homeassistant/components/solaredge/coordinator.py

[error] invalid-assignment - :73:9 - Object of type `DataUpdateCoordinator[dict[str, Any]]` is not assignable to attribute `coordinator` of type `DataUpdateCoordinator[None]`

homeassistant/components/spotify/__init__.py

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

homeassistant/components/tado/climate.py

[error] unsupported-operator - :813:20 - Operator `in` is not supported for types `None` and `str`, in comparing `str | None` with `@Todo | str | list[Unknown]`

homeassistant/components/toon/__init__.py

[error] invalid-argument-type - :105:9 - Argument to bound method `async_get_or_create` is incorrect: Expected `set[tuple[str, str]] | None | UndefinedType`, found `set[Unknown | tuple[str, Unknown, str]]`

homeassistant/components/tuya/diagnostics.py

[warning] possibly-missing-attribute - :165:13 - Attribute `append` may be missing on object of type `Unknown | str | None | bool | list[Unknown]`

homeassistant/components/whois/__init__.py

[error] invalid-assignment - :35:5 - Object of type `DataUpdateCoordinator[dict[str, Any]]` is not assignable to `DataUpdateCoordinator[Unknown | None]`

homeassistant/const.py

[error] invalid-assignment - :285:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventStateChangedData]`
[error] invalid-assignment - :286:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventStateReportedData]`

homeassistant/core.py

[error] invalid-assignment - :1547:17 - Object of type `Event[Mapping[str, Any]]` is not assignable to `Event[_DataT@async_fire_internal] | None`
[error] invalid-argument-type - :1548:21 - Argument to bound method `__init__` is incorrect: Expected `EventType[Mapping[str, Any]] | str`, found `EventType[_DataT@async_fire_internal] | str`

homeassistant/helpers/area_registry.py

[error] invalid-assignment - :38:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventAreaRegistryUpdatedData]`

homeassistant/helpers/category_registry.py

[error] invalid-assignment - :23:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventCategoryRegistryUpdatedData]`

homeassistant/helpers/device_registry.py

[error] invalid-assignment - :55:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventDeviceRegistryUpdatedData]`

homeassistant/helpers/entity_registry.py

[error] invalid-assignment - :75:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventEntityRegistryUpdatedData]`

homeassistant/helpers/floor_registry.py

[error] invalid-assignment - :28:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventFloorRegistryUpdatedData]`

homeassistant/helpers/issue_registry.py

[error] invalid-assignment - :25:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventIssueRegistryUpdatedData]`

homeassistant/helpers/label_registry.py

[error] invalid-assignment - :26:1 - Object of type `EventType[Mapping[str, Any]]` is not assignable to `EventType[EventLabelRegistryUpdatedData]`

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

tests/ci_visibility/util.py

[error] invalid-assignment - :51:9 -
Old: Object of type `set[TestId] | set[Unknown]` is not assignable to attribute `_known_test_ids` on type `CIVisibility | None`
New: Object of type `set[TestId]` is not assignable to attribute `_known_test_ids` on type `CIVisibility | None`

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

discord/app_commands/tree.py

[error] invalid-assignment - :754:13 - Object of type `list[Command | Group]` is not assignable to `list[@Todo | Group | ContextMenu]`
[error] invalid-assignment - :764:17 - Object of type `list[Command | Group]` is not assignable to `list[@Todo | Group | ContextMenu]`

discord/client.py

[error] invalid-return-type - :365:16 - Return type does not match returned value: expected `ConnectionState[Self@_get_state]`, found `ConnectionState[Client]`

discord/interactions.py

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

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

dulwich/pack.py

[error] invalid-argument-type - :733:13 - Argument to bound method `__init__` is incorrect: Expected `list[tuple[bytes, int, int | None]]`, found `list[tuple[bytes, int, int]]`

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

ibis/util.py

[error] invalid-argument-type - :111:21 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `(V@promote_list & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]]) | (Iterable[V@promote_list] & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]])`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[V@promote_list]`, found `(V@promote_list & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]]) | (Iterable[V@promote_list] & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]])`

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

isort/parse.py

[warning] unused-ignore-comment - :459:64 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :579:85 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :582:87 - Unused blanket `type: ignore` directive

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

jax/_src/checkify.py

[warning] possibly-missing-attribute - :376:61 - Attribute `debug_info` may be missing on object of type `Any | (tuple[@Todo, @Todo] & ~ClosedJaxpr)`

jax/_src/interpreters/mlir.py

[error] invalid-assignment - :1483:5 - Object of type `OrderedDict[str, Unknown]` is not assignable to attribute `_tokens` of type `OrderedDict[Effect, Unknown]`

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

docs/refman/generatormd.py

[error] invalid-assignment - :211:13 - Object of type `list[Kwarg]` is not assignable to `list[ArgBase]`

mesonbuild/build.py

[error] invalid-argument-type - :1047:36 - Argument to bound method `append` is incorrect: Expected `File`, found `File | (@Todo & str) | (StructuredSources & str)`
[error] invalid-return-type - :1180:16 -
Old: Return type does not match returned value: expected `ImmutableListProtocol[@Todo]`, found `list[Unknown]`
New: Return type does not match returned value: expected `ImmutableListProtocol[@Todo]`, found `list[@Todo]`
[error] invalid-return-type - :1213:16 -
Old: Return type does not match returned value: expected `ImmutableListProtocol[@Todo]`, found `list[Unknown]`
New: Return type does not match returned value: expected `ImmutableListProtocol[@Todo]`, found `list[@Todo]`
[error] invalid-return-type - :1918:16 -
Old: Return type does not match returned value: expected `ImmutableListProtocol[str]`, found `list[Unknown]`
New: Return type does not match returned value: expected `ImmutableListProtocol[str]`, found `list[str]`

mesonbuild/interpreter/interpreter.py

[error] invalid-assignment - :3337:9 -
Old: Method `__setitem__` of type `bound method dict[str, list[@Todo]].__setitem__(key: str, value: list[@Todo], /) -> None` cannot be called with a key of type `Literal["language_args"]` and a value of type `defaultdict[Unknown, Unknown]` on object of type `dict[str, list[@Todo]]`
New: Method `__setitem__` of type `bound method dict[str, list[@Todo]].__setitem__(key: str, value: list[@Todo], /) -> None` cannot be called with a key of type `Literal["language_args"]` and a value of type `defaultdict[str, list[str]]` on object of type `dict[str, list[@Todo]]`

mesonbuild/interpreter/type_checking.py

[error] invalid-assignment - :187:1 - Object of type `KwargInfo[bool]` is not assignable to `KwargInfo[bool | UserFeatureOption]`
[error] invalid-assignment - :307:1 - Object of type `KwargInfo[dict[Unknown, Unknown]]` is not assignable to `KwargInfo[str | list[str] | dict[str, @Todo]]`

mesonbuild/rewriter.py

[error] invalid-assignment - :659:13 - Object of type `set[BaseNode]` is not assignable to `set[BaseNode | UnknownValue]`
[error] invalid-argument-type - :820:65 - Argument to bound method `reachable` is incorrect: Expected `set[BaseNode | UnknownValue]`, found `set[BaseNode]`

unittests/internaltests.py

[error] invalid-argument-type - :1446:88 - Argument to bound method `__init__` is incorrect: Expected `dict[list[Unknown] | ContainerTypeInfo | type, str | tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str]`
[error] invalid-argument-type - :1446:122 - Argument to bound method `__init__` is incorrect: Expected `dict[list[Unknown] | ContainerTypeInfo | type, str | tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str]`
[error] invalid-argument-type - :1447:75 - Argument to bound method `__init__` is incorrect: Expected `dict[dict[Unknown, Unknown] | ContainerTypeInfo | type, str | tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str | tuple[str, str]]`
[error] invalid-argument-type - :1447:143 - Argument to bound method `__init__` is incorrect: Expected `dict[dict[Unknown, Unknown] | ContainerTypeInfo | type, str | tuple[str, str]] | None`, found `dict[Unknown | str, Unknown | str | tuple[str, str]]`

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

mitmproxy/addons/dumper.py

[error] invalid-assignment - :38:1 - Object of type `dict[Unknown | str, Unknown | dict[str, str] | dict[str, bool]]` is not assignable to `dict[str, dict[str, str | bool]]`

mitmproxy/addons/export.py

[error] invalid-assignment - :159:1 - Object of type `dict[str, ((f: Flow) -> str) | ((f: Flow) -> bytes)]` is not assignable to `dict[str, (Flow, /) -> str | bytes]`

mitmproxy/tools/web/app.py

[error] invalid-assignment - :705:13 - Method `__setitem__` of type `bound method dict[str, str | None].__setitem__(key: str, value: str | None, /) -> None` cannot be called with a key of type `Literal["from_client"]` and a value of type `bool` on object of type `dict[str, str | None]`
[error] invalid-assignment - :707:13 - Method `__setitem__` of type `bound method dict[str, str | None].__setitem__(key: str, value: str | None, /) -> None` cannot be called with a key of type `Literal["timestamp"]` and a value of type `int | float` on object of type `dict[str, str | None]`

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

mkosi/distribution/rhel.py

[error] invalid-argument-type - :98:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :98:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :98:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :98:17 - Argument is incorrect: Expected `int | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :104:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :104:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :104:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :104:17 - Argument is incorrect: Expected `int | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :110:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :110:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :110:17 - Argument is incorrect: Expected `Path | None`, found `tuple[str, ...] | Unknown`
[error] invalid-argument-type - :110:17 - Argument is incorrect: Expected `int | None`, found `tuple[str, ...] | Unknown`

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

pymongo/synchronous/database.py

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

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

mypy/meet.py

[error] invalid-return-type - :280:16 - Return type does not match returned value: expected `list[Type]`, found `list[CallableType]`

mypyc/ir/func_ir.py

[error] invalid-assignment - :353:5 - Object of type `list[Register]` is not assignable to `list[Value]`
[error] invalid-assignment - :381:5 - Object of type `list[Register]` is not assignable to `list[Value]`

mypy/checker.py

[error] invalid-assignment - :2789:13 - Object of type `list[str]` is not assignable to `list[str | None]`

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

openlibrary/solr/types_generator.py

[error] invalid-argument-type - :76:24 - Argument to bound method `add` is incorrect: Expected `str`, found `str | None`

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

optuna/visualization/_parallel_coordinate.py

[error] invalid-assignment - :195:13 - Object of type `list[int]` is not assignable to `list[int | float]`
[error] invalid-argument-type - :229:17 - Argument is incorrect: Expected `list[int | float]`, found `list[int]`

tests/samplers_tests/test_samplers.py

[error] invalid-assignment - :371:5 - Object of type `dict[str, CategoricalDistribution]` is not assignable to `dict[str, BaseDistribution]`

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

pandas/tests/frame/methods/test_replace.py

[error] invalid-return-type - :24:12 - 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 - Return type does not match returned value: expected `dict[str, list[int | float | str]]`, found `dict[str, list[int | float | str] | list[int]]`

pandas/core/internals/construction.py

[error] invalid-assignment - :672:5 - Object of type `list[int]` is not assignable to `list[Hashable]`

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

tests/indexes/test_indexes.py

[error] type-assertion-failure - :1169:15 - Argument does not have asserted type `str`

tests/scalars/test_scalars.py

[error] type-assertion-failure - :119:9 - Argument does not have asserted type `bool`
[error] no-matching-overload - :119:21 - No overload of bound method `overlaps` matches arguments

tests/series/test_series.py

[error] invalid-assignment - :3040:5 - Object of type `set[type[generic[Any]]]` is not assignable to `set[type]`

tests/test_frame.py

[error] type-assertion-failure - :3794:9 - Argument does not have asserted type `defaultdict[Any, list[Unknown]]`
[error] type-assertion-failure - :3811:9 - Argument does not have asserted type `list[defaultdict[Any, list[Unknown]]]`

porcupine (https://github.com/Akuli/porcupine)

porcupine/plugins/run/no_terminal.py

[error] invalid-assignment - :106:13 - Object of type `Popen[str]` is not assignable to attribute `_shell_process` of type `Popen[bytes] | None`
[warning] possibly-missing-attribute - :121:16 - Attribute `stdout` may be missing on object of type `Popen[bytes] | None`
[warning] possibly-missing-attribute - :129:18 - Attribute `wait` may be missing on object of type `Popen[bytes] | None`

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

src/integrations/prefect-aws/prefect_aws/lambda_function.py

[error] invalid-assignment - :166:13 - Method `__setitem__` of type `bound method dict[str, str].__setitem__(key: str, value: str, /) -> None` cannot be called with a key of type `Literal["Payload"]` and a value of type `bytes` on object of type `dict[str, str]`
[error] invalid-assignment - :232:13 - Method `__setitem__` of type `bound method dict[str, str].__setitem__(key: str, value: str, /) -> None` cannot be called with a key of type `Literal["Payload"]` and a value of type `bytes` on object of type `dict[str, str]`

src/integrations/prefect-aws/prefect_aws/secrets_manager.py

[error] invalid-assignment - :133:5 - Object of type `dict[str, str]` is not assignable to `dict[str, str | bytes]`
[error] invalid-assignment - :219:5 - Object of type `dict[str, str]` is not assignable to `dict[str, str | bytes | list[dict[str, str]]]`
[error] invalid-assignment - :335:5 - Object of type `dict[str, str]` is not assignable to `dict[str, str | int]`

src/prefect/client/orchestration/_deployments/client.py

[error] invalid-assignment - :600:13 - Method `__setitem__` of type `bound method dict[str, list[str | Unknown]].__setitem__(key: str, value: list[str | Unknown], /) -> None` cannot be called with a key of type `Literal["scheduled_before"]` and a value of type `str` on object of type `dict[str, list[str | Unknown]]`
[error] invalid-assignment - :602:13 - Method `__setitem__` of type `bound method dict[str, list[str | Unknown]].__setitem__(key: str, value: list[str | Unknown], /) -> None` cannot be called with a key of type `Literal["limit"]` and a value of type `int & ~AlwaysFalsy` on object of type `dict[str, list[str | Unknown]]`
[error] invalid-assignment - :1273:13 - Method `__setitem__` of type `bound method dict[str, list[str | Unknown]].__setitem__(key: str, value: list[str | Unknown], /) -> None` cannot be called with a key of type `Literal["scheduled_before"]` and a value of type `str` on object of type `dict[str, list[str | Unknown]]`
[error] invalid-assignment - :1275:13 - Method `__setitem__` of type `bound method dict[str, list[str | Unknown]].__setitem__(key: str, value: list[str | Unknown], /) -> None` cannot be called with a key of type `Literal["limit"]` and a value of type `int & ~AlwaysFalsy` on object of type `dict[str, list[str | Unknown]]`

src/prefect/client/schemas/schedules.py

[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `Literal[0, 1, 2, 3, 4, 5, 6]`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `bool | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | Iterable[weekday] | None`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `int`, found `datetime`
[error] invalid-argument-type - :269:34 - Argument to bound method `replace` is incorrect: Expected `weekday | int | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `Literal[0, 1, 2, 3, 4, 5, 6]`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `bool | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | Iterable[weekday] | None`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `int`, found `datetime`
[error] invalid-argument-type - :279:48 - Argument to bound method `replace` is incorrect: Expected `weekday | int | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `Literal[0, 1, 2, 3, 4, 5, 6]`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `bool | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | Iterable[int] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int | weekday | Iterable[int] | Iterable[weekday] | None`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `int`, found `datetime`
[error] invalid-argument-type - :290:50 - Argument to bound method `replace` is incorrect: Expected `weekday | int | None`, found `datetime`

src/prefect/deployments/runner.py

[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `VersionInfo | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `bool | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `bool | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `int | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `list[DeploymentScheduleCreate] | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `list[dict[str, Any]] | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `list[str] | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str`, found `UUID | str | None | ... omitted 6 union elements`

src/prefect/flow_engine.py

[error] invalid-argument-type - :1560:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1560:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `Iterable[PrefectFuture[Unknown]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1560:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1560:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1560:48 - Argument to function `run_generator_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1562:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1562:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `Iterable[PrefectFuture[Any]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1562:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1562:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1562:47 - Argument to function `run_generator_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1564:38 - Argument to function `run_flow_async` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1564:38 - Argument to function `run_flow_async` is incorrect: Expected `Iterable[PrefectFuture[Any]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1564:38 - Argument to function `run_flow_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1564:38 - Argument to function `run_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1564:38 - Argument to function `run_flow_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1566:37 - Argument to function `run_flow_sync` is incorrect: Expected `FlowRun | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1566:37 - Argument to function `run_flow_sync` is incorrect: Expected `Iterable[PrefectFuture[Any]] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1566:37 - Argument to function `run_flow_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1566:37 - Argument to function `run_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`
[error] invalid-argument-type - :1566:37 - Argument to function `run_flow_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | FlowRun | None | ... omitted 3 union elements`

src/prefect/task_engine.py

[error] invalid-argument-type - :1763:31 - Argument to function `run_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1763:31 - Argument to function `run_task_async` is incorrect: Expected `TaskRun | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1763:31 - Argument to function `run_task_async` is incorrect: Expected `UUID | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1763:31 - Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1763:31 - Argument to function `run_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1763:31 - Argument to function `run_task_async` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1765:30 - Argument to function `run_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1765:30 - Argument to function `run_task_sync` is incorrect: Expected `TaskRun | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1765:30 - Argument to function `run_task_sync` is incorrect: Expected `UUID | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1765:30 - Argument to function `run_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1765:30 - Argument to function `run_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1765:30 - Argument to function `run_task_sync` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1759:41 - Argument to function `run_generator_task_async` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1759:41 - Argument to function `run_generator_task_async` is incorrect: Expected `TaskRun | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1759:41 - Argument to function `run_generator_task_async` is incorrect: Expected `UUID | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1759:41 - Argument to function `run_generator_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1759:41 - Argument to function `run_generator_task_async` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1759:41 - Argument to function `run_generator_task_async` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1761:40 - Argument to function `run_generator_task_sync` is incorrect: Expected `Literal["state", "result"]`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1761:40 - Argument to function `run_generator_task_sync` is incorrect: Expected `TaskRun | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1761:40 - Argument to function `run_generator_task_sync` is incorrect: Expected `UUID | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1761:40 - Argument to function `run_generator_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1761:40 - Argument to function `run_generator_task_sync` is incorrect: Expected `dict[str, Any] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`
[error] invalid-argument-type - :1761:40 - Argument to function `run_generator_task_sync` is incorrect: Expected `dict[str, set[RunInput]] | None`, found `@Todo | UUID | None | ... omitted 4 union elements`

src/prefect/task_runners.py

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

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

rotkehlchen/chain/ethereum/modules/liquity/trove.py

[warning] unused-ignore-comment - :265:85 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :276:73 - Unused blanket `type: ignore` directive

rotkehlchen/exchanges/coinbase.py

[error] invalid-assignment - :524:20 - Object of type `dict[str, list[dict[Unknown, Unknown]]]` is not assignable to `defaultdict[str, list[dict[Unknown, Unknown]]]`

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

sklearn/datasets/_openml.py

[warning] possibly-missing-attribute - :569:9 - Attribute `update` may be missing on object of type `str | dict[Unknown, Unknown] | list[str] | tuple[int, int] | None`

sklearn/externals/array_api_extra/_lib/_lazy.py

[warning] unused-ignore-comment - :215:31 - Unused blanket `type: ignore` directive

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

scipy/_lib/array_api_extra/src/array_api_extra/_lib/_lazy.py

[warning] unused-ignore-comment - :215:31 - Unused blanket `type: ignore` directive

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

scrapy/utils/python.py

[error] invalid-assignment - :152:13 - Method `__setitem__` of type `bound method WeakKeyDictionary[typing.TypeVar, _T@memoizemethod_noargs].__setitem__(key: typing.TypeVar, value: _T@memoizemethod_noargs) -> None` cannot be called with a key of type `_SelfT@new_method` and a value of type `_T@memoizemethod_noargs` on object of type `WeakKeyDictionary[typing.TypeVar, _T@memoizemethod_noargs]`
[error] invalid-argument-type - :153:16 - Method `__getitem__` of type `bound method WeakKeyDictionary[typing.TypeVar, _T@memoizemethod_noargs].__getitem__(key: typing.TypeVar) -> _T@memoizemethod_noargs` cannot be called with key of type `_SelfT@new_method` on object of type `WeakKeyDictionary[typing.TypeVar, _T@memoizemethod_noargs]`

tests/mockserver/http_base.py

[warning] possibly-missing-attribute - :49:28 -
Old: Attribute `readline` may be missing on object of type `IO[bytes] | None`
New: Attribute `readline` may be missing on object of type `IO[str] | None`
[error] unresolved-attribute - :49:28 - Object of type `str` has no attribute `decode`
[warning] possibly-missing-attribute - :53:29 -
Old: Attribute `readline` may be missing on object of type `IO[bytes] | None`
New: Attribute `readline` may be missing on object of type `IO[str] | None`
[error] unresolved-attribute - :53:29 - Object of type `str` has no attribute `decode`

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

setuptools/_distutils/compilers/C/base.py

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

setuptools/_vendor/typeguard/_decorators.py

[error] invalid-assignment - :209:29 - Method `__setitem__` of type `bound method dict[str, (Unknown & str) | (Unknown & None)].__setitem__(key: str, value: (Unknown & str) | (Unknown & None), /) -> None` cannot be called with a key of type `Literal["fset", "fget", "fdel"]` and a value of type `FunctionType` on object of type `dict[str, (Unknown & str) | (Unknown & None)]`

setuptools/_vendor/typeguard/_transformer.py

[error] invalid-argument-type - :1128:34 - Argument to bound method `__init__` is incorrect: Expected `list[expr | None]`, found `list[Constant]`

setuptools/tests/test_wheel.py

[error] invalid-argument-type - :552:5 - Argument to bound method `__call__` is incorrect: Expected `Iterable[None | str | int | float] | ((Any, /) -> object) | None`, found `list[str | dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]] | dict[str, list[Unknown | str]] | ... omitted 9 union elements]`

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

sphinx/pycode/ast.py

[error] invalid-assignment - :79:9 - Object of type `list[expr]` is not assignable to `list[expr | None]`

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

strawberry/federation/schema.py

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

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

sympy/tensor/array/expressions/from_array_to_matrix.py

[error] invalid-assignment - :149:5 - Object of type `list[Basic]` is not assignable to `list[Basic | None]`

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

src/trio/_core/_tests/test_guest_mode.py

[error] invalid-return-type - :109:24 - Return type does not match returned value: expected `T@trivial_guest_run`, found `object`

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

torchvision/datasets/_stereo_matching.py

[error] invalid-assignment - :74:13 - Object of type `list[str]` is not assignable to `list[None | str]`

torchvision/transforms/functional.py

[error] invalid-argument-type - :1226:60 -
Old: Argument to function `_get_inverse_affine_matrix` is incorrect: Expected `list[int | float]`, found `list[int] | list[Unknown]`
New: Argument to function `_get_inverse_affine_matrix` is incorrect: Expected `list[int | float]`, found `list[int]`

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

xarray/core/dataset.py

[error] invalid-argument-type - :912:47 - Argument to bound method `_construct_direct` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `dict[Hashable, Any] | None | Default`
[error] invalid-argument-type - :912:63 - Argument to bound method `_construct_direct` is incorrect: Expected `dict[Unknown, Unknown] | None`, found `dict[Unknown, Unknown] | None | Default`

xarray/tests/test_backends.py

[error] unsupported-operator - :2428:17 - Operator `not in` is not supported for types `str` and `int`, in comparing `Literal["blosc"]` with `str | int`

xarray/tests/test_groupby.py

[error] invalid-assignment - :2881:5 - Object of type `dict[str, UniqueGrouper]` is not assignable to `dict[str, Grouper]`
[error] invalid-assignment - :2903:5 - Object of type `dict[str, UniqueGrouper]` is not assignable to `dict[str, Grouper]`
[error] invalid-assignment - :2929:5 - Object of type `dict[str, UniqueGrouper]` is not assignable to `dict[str, Grouper]`
[error] invalid-assignment - :2937:5 - Object of type `dict[str, UniqueGrouper]` is not assignable to `dict[str, Grouper]`
[error] invalid-assignment - :2980:5 - Object of type `dict[str, BinGrouper | UniqueGrouper]` is not assignable to `dict[str, Grouper]`

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

zerver/tests/test_widgets.py

[error] invalid-argument-type - :386:33 - Argument to function `post` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`
[error] invalid-argument-type - :389:31 - Argument to function `post` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`
[error] invalid-argument-type - :415:33 - Argument to function `post` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`
[error] invalid-argument-type - :418:31 - Argument to function `post` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`
[error] invalid-argument-type - :477:24 - Argument to function `assert_success` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :478:24 - Argument to function `assert_success` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :479:24 - Argument to function `assert_success` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`
[error] invalid-argument-type - :533:24 - Argument to function `assert_success` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :534:24 - Argument to function `assert_success` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`

zerver/actions/channel_folders.py

[error] invalid-argument-type - :96:57 - Argument to function `do_send_channel_folder_update_event` is incorrect: Expected `dict[str, str | bool]`, found `dict[str, str]`
[error] invalid-argument-type - :124:25 - Argument to function `do_send_channel_folder_update_event` is incorrect: Expected `dict[str, str | bool]`, found `dict[str, str]`
[error] invalid-argument-type - :141:57 - Argument to function `do_send_channel_folder_update_event` is incorrect: Expected `dict[str, str | bool]`, found `dict[str, bool]`
[error] invalid-argument-type - :157:57 - Argument to function `do_send_channel_folder_update_event` is incorrect: Expected `dict[str, str | bool]`, found `dict[str, bool]`

zerver/actions/realm_linkifiers.py

[error] invalid-assignment - :16:5 - Object of type `dict[str, str | list[LinkifierDict]]` is not assignable to `dict[str, object]`

zerver/actions/user_groups.py

[error] invalid-argument-type - :276:49 - Argument to function `do_send_user_group_update_event` is incorrect: Expected `dict[str, str | int | UserGroupMembersDict]`, found `dict[str, str]`
[error] invalid-argument-type - :297:49 - Argument to function `do_send_user_group_update_event` is incorrect: Expected `dict[str, str | int | UserGroupMembersDict]`, found `dict[str, str]`
[error] invalid-argument-type - :599:49 - Argument to function `do_send_user_group_update_event` is incorrect: Expected `dict[str, str | int | UserGroupMembersDict]`, found `dict[str, bool]`
[error] invalid-argument-type - :621:49 - Argument to function `do_send_user_group_update_event` is incorrect: Expected `dict[str, str | int | UserGroupMembersDict]`, found `dict[str, bool]`

zerver/lib/display_recipient.py

[error] invalid-argument-type - :67:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[UserDisplayRecipient]`, found `Unknown | QuerySet[Unknown, dict[str, Any]]`

zerver/lib/home.py

[error] invalid-return-type - :215:12 -
Old: Return type does not match returned value: expected `tuple[int, dict[str, object]]`, found `tuple[Any | None, dict[str, str | Any | int | float | None]]`
New: Return type does not match returned value: expected `tuple[int, dict[str, object]]`, found `tuple[Any | None, dict[str, object]]`

zerver/lib/message.py

[error] invalid-assignment - :932:5 -
Old: Object of type `dict[str, dict[int, RawUnreadDirectMessageDict] | dict[int, RawUnreadStreamDict] | set[Unknown] | dict[int, RawUnreadDirectMessageGroupDict] | bool]` is not assignable to `RawUnreadMessagesResult`
New: Object of type `dict[str, dict[int, RawUnreadDirectMessageDict] | dict[int, RawUnreadStreamDict] | set[int] | dict[int, RawUnreadDirectMessageGroupDict] | bool]` is not assignable to `RawUnreadMessagesResult`

zerver/models/realms.py

[error] invalid-assignment - :703:5 - Object of type `dict[str, <class 'bool'> | <class 'str'> | <class 'int'> | ... omitted 4 union elements]` is not assignable to `dict[str, type | UnionType]`

zerver/models/users.py

[error] invalid-argument-type - :1150:9 - Argument to bound method `__init__` is incorrect: Expected `Iterable[RawUserDict]`, found `Unknown | QuerySet[Unknown, dict[str, Any]]`
[error] invalid-argument-type - :1169:9 - Argument to bound method `__init__` is incorrect: Expected `Iterable[RawUserDict]`, found `Unknown | QuerySet[Unknown, dict[str, Any]]`
[error] invalid-argument-type - :1179:9 - Argument to bound method `__init__` is incorrect: Expected `Iterable[RawUserDict]`, found `Unknown | QuerySet[Unknown, dict[str, Any]]`

zerver/tests/test_events.py

[warning] possibly-missing-attribute - :4434:29 -
Old: Attribute `value` may be missing on object of type `Unknown | str | int | None | _StrPromise`
New: Attribute `value` may be missing on object of type `@Todo | bool`
[warning] possibly-missing-attribute - :4759:29 -
Old: Attribute `value` may be missing on object of type `Unknown | int | str`
New: Attribute `value` may be missing on object of type `@Todo | bool`

zerver/tests/test_message_fetch.py

[error] invalid-argument-type - :1987:50 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2045:13 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2053:13 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2377:13 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2383:13 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2396:13 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2442:50 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2450:50 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2467:46 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2471:46 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2483:46 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2493:46 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2506:46 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2514:46 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2586:50 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2657:50 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2802:50 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2845:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2854:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2871:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2879:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2890:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2940:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2950:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`
[error] invalid-argument-type - :2967:47 - Argument to bound method `get_and_check_messages` is incorrect: Expected `dict[str, str | int]`, found `dict[str, str]`

zerver/tests/test_openapi.py

[error] not-iterable - :588:38 - Object of type `((...) -> Unknown) & ~(() -> object)` is not iterable
[warning] possibly-missing-attribute - :600:58 - Attribute `__name__` may be missing on object of type `(Unknown & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | (((...) -> Unknown) & (() -> object) & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | ((...) -> Unknown)`

zerver/tests/test_user_topics.py

[error] invalid-argument-type - :1104:35 - Argument to function `participate_in_poll` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :1105:36 - Argument to function `participate_in_poll` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :1166:33 - Argument to function `edit_todo_list` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :1167:31 - Argument to function `edit_todo_list` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`
[error] invalid-argument-type - :1475:35 - Argument to function `participate_in_poll` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :1476:36 - Argument to function `participate_in_poll` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :1542:33 - Argument to function `edit_todo_list` is incorrect: Expected `dict[str, object]`, found `dict[str, str | int]`
[error] invalid-argument-type - :1543:31 - Argument to function `edit_todo_list` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`

zerver/views/streams.py

[error] invalid-assignment - :913:5 - Method `__setitem__` of type `bound method dict[str, defaultdict[Unknown, Unknown]].__setitem__(key: str, value: defaultdict[Unknown, Unknown], /) -> None` cannot be called with a key of type `Literal["subscribed"]` and a value of type `dict[Unknown, Unknown]` on object of type `dict[str, defaultdict[Unknown, Unknown]]`
[error] invalid-assignment - :914:5 - Method `__setitem__` of type `bound method dict[str, defaultdict[Unknown, Unknown]].__setitem__(key: str, value: defaultdict[Unknown, Unknown], /) -> None` cannot be called with a key of type `Literal["already_subscribed"]` and a value of type `dict[Unknown, Unknown]` on object of type `dict[str, defaultdict[Unknown, Unknown]]`
[error] invalid-assignment - :920:9 - Method `__setitem__` of type `bound method dict[str, defaultdict[Unknown, Unknown]].__setitem__(key: str, value: defaultdict[Unknown, Unknown], /) -> None` cannot be called with a key of type `Literal["new_subscription_messages_sent"]` and a value of type `bool` on object of type `dict[str, defaultdict[Unknown, Unknown]]`
[error] invalid-assignment - :933:5 - Method `__setitem__` of type `bound method dict[str, defaultdict[Unknown, Unknown]].__setitem__(key: str, value: defaultdict[Unknown, Unknown], /) -> None` cannot be called with a key of type `Literal["subscribed"]` and a value of type `dict[Unknown, Unknown]` on object of type `dict[str, defaultdict[Unknown, Unknown]]`
[error] invalid-assignment - :934:5 - Method `__setitem__` of type `bound method dict[str, defaultdict[Unknown, Unknown]].__setitem__(key: str, value: defaultdict[Unknown, Unknown], /) -> None` cannot be called with a key of type `Literal["already_subscribed"]` and a value of type `dict[Unknown, Unknown]` on object of type `dict[str, defaultdict[Unknown, Unknown]]`
[error] invalid-assignment - :936:9 - Method `__setitem__` of type `bound method dict[str, defaultdict[Unknown, Unknown]].__setitem__(key: str, value: defaultdict[Unknown, Unknown], /) -> None` cannot be called with a key of type `Literal["unauthorized"]` and a value of type `list[Unknown]` on object of type `dict[str, defaultdict[Unknown, Unknown]]`

zilencer/management/commands/populate_db.py

[error] unresolved-attribute - :942:30 - Object of type `UserProfile` has no attribute `realm_id`