Ecosystem report

Old: main (merge base) 7f7485d6 New: 21551/merge 6cb01a23
Lint Rule Removed Added Changed
Total 270 811 329
invalid-argument-type 110 262 143
type-assertion-failure 56 4 51
invalid-return-type 0 88 16
invalid-assignment 0 75 28
invalid-await 0 101 1
possibly-missing-attribute 6 63 27
unresolved-attribute 2 62 28
unsupported-operator 0 56 19
missing-argument 59 0 0
no-matching-overload 8 36 0
unused-ignore-comment 27 0 0
not-iterable 0 21 0
non-subscriptable 0 7 13
unknown-argument 1 14 0
too-many-positional-arguments 1 11 0
call-non-callable 0 9 0
invalid-context-manager 0 1 2
invalid-raise 0 0 1
redundant-cast 0 1 0
Project Removed Added Changed
Total 270 811 329
prefect 109 152 84
sympy 1 115 11
core 26 60 21
jax 10 80 7
pandas-stubs 52 5 21
egglog-python 4 0 44
zulip 1 35 3
pandas 4 31 3
static-frame 12 21 0
trio 2 1 28
Expression 7 23 0
dd-trace-py 5 6 19
pwndbg 3 3 23
setuptools 1 15 6
xarray 0 21 1
ibis 3 15 3
Tanjun 0 18 0
scipy 6 7 5
meson 0 12 4
spack 0 16 0

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

README.py

[error] invalid-assignment - :637:11 - Object of type `Unknown | range | int` is not assignable to `int`

expression/collections/map.py

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

expression/collections/seq.py

[error] invalid-return-type - :299:16 - Return type does not match returned value: expected `_TSupportsSum@sum_by`, found `Unknown | Self@sum_by`
[error] invalid-return-type - :353:16 - Return type does not match returned value: expected `Iterable[_TSource@Seq]`, found `Unknown | _TState@unfold | Iterable[_TSource@Seq]`
[error] invalid-return-type - :446:12 - Return type does not match returned value: expected `Iterable[_TResult@choose]`, found `Unknown | Iterable[_TSource@choose] | Iterable[_TResult@choose]`

expression/effect/result.py

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

expression/extra/option/pipeline.py

[error] invalid-argument-type - :91:19 - Argument to function `reduce` is incorrect: Expected `(def Some[_T1](value: _T1@Some) -> Option[_T1@Some], (Any, /) -> Option[Any], /) -> def Some[_T1](value: _T1@Some) -> Option[_T1@Some]`, found `def reducer(acc: (Any, /) -> Option[Any], fn: (Any, /) -> Option[Any]) -> (Any, /) -> Option[Any]`

expression/extra/result/pipeline.py

[error] invalid-argument-type - :96:19 - Argument to function `reduce` is incorrect: Expected `(def Ok[_TSource](value: _TSource@Ok) -> Result[_TSource@Ok, Any], (Any, /) -> Result[Any, Any], /) -> def Ok[_TSource](value: _TSource@Ok) -> Result[_TSource@Ok, Any]`, found `def reducer(acc: (Any, /) -> Result[Any, Any], fn: (Any, /) -> Result[Any, Any]) -> (Any, /) -> Result[Any, Any]`

expression/collections/array.py

[error] invalid-return-type - :376:16 - Return type does not match returned value: expected `int`, found `Unknown | Self@sum_by | int`
[error] invalid-return-type - :442:16 - Return type does not match returned value: expected `TypedArray[_TSource@TypedArray]`, found `TypedArray[_TSource@TypedArray] | Unknown | _TState@unfold`
[error] invalid-argument-type - :655:23 - Argument to bound method `__init__` is incorrect: Expected `Iterable[_TSource@unfold] | None`, found `Unknown | _TState@unfold`

expression/collections/block.py

[error] invalid-return-type - :274:16 - Return type does not match returned value: expected `_TResult@sum_by`, found `Unknown | Block[_TSourceSum@sum_by]`
[error] invalid-return-type - :486:16 - Return type does not match returned value: expected `Block[_TSource@Block]`, found `Block[_TSource@Block] | Unknown | _TState@unfold`
[error] invalid-return-type - :595:12 - Return type does not match returned value: expected `Block[_TSource@concat]`, found `Block[_TSource@concat] | Unknown | Iterable[Block[_TSource@concat]]`
[error] invalid-argument-type - :1014:18 - Argument to bound method `__init__` is incorrect: Expected `Iterable[_TSource@unfold]`, found `Unknown | _TState@unfold`
[warning] unused-ignore-comment - :940:30 - Unused blanket `type: ignore` directive

expression/core/result.py

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

expression/extra/parser.py

[error] invalid-argument-type - :413:13 - Argument to function `pipe` is incorrect: Expected `(Unknown | Block[str] | str | ... omitted 4 union elements, /) -> int`, found `<class 'int'>`
[error] invalid-argument-type - :441:13 - Argument to function `pipe` is incorrect: Expected `(Unknown | Block[str] | str | ... omitted 3 union elements, /) -> float`, found `<class 'float'>`

tests/test_array.py

[error] invalid-assignment - :47:27 - Object of type `TypedArray[str] | Unknown | TypedArray[Unknown | int]` is not assignable to `TypedArray[str]`
[error] invalid-assignment - :58:35 - Object of type `TypedArray[uint8] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[uint8]`
[error] invalid-assignment - :69:36 - Object of type `TypedArray[uint16] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[uint16]`
[error] invalid-assignment - :80:36 - Object of type `TypedArray[uint32] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[uint32]`
[error] invalid-assignment - :91:37 - Object of type `TypedArray[float32] | Unknown | TypedArray[Unknown | str]` is not assignable to `TypedArray[float32]`
[error] invalid-assignment - :99:35 - Object of type `TypedArray[int16] | Unknown | TypedArray[Unknown | int]` is not assignable to `TypedArray[int16]`
[error] invalid-argument-type - :307:38 - Argument to function `reduce` is incorrect: Expected `(Literal[0], int, /) -> Literal[0]`, found `def folder(x: int, y: int) -> int`
[error] invalid-argument-type - :322:49 - Argument to function `unfold` is incorrect: Expected `(Literal[0], /) -> Option[tuple[Unknown, Literal[0]]]`, found `def unfolder(state: int) -> Option[tuple[int, int]]`

tests/test_block.py

[error] invalid-argument-type - :274:38 - Argument to function `reduce` is incorrect: Expected `(Literal[0], int, /) -> Literal[0]`, found `def folder(x: int, y: int) -> int`
[error] invalid-argument-type - :289:39 - Argument to function `unfold` is incorrect: Expected `(Literal[0], /) -> Option[tuple[Unknown, Literal[0]]]`, found `def unfolder(state: int) -> Option[tuple[int, int]]`

tests/test_seq.py

[error] invalid-argument-type - :154:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | Literal[0]`

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

tanjun/clients.py

[error] invalid-return-type - :2801:16 - Return type does not match returned value: expected `((...) -> Coroutine[Any, Any, _T@get_callback_override] | _T@get_callback_override) | None`, found `Unknown | ((...) -> Coroutine[Any, Any, _T@get_callback_override | Coroutine[Any, Any, _T@get_callback_override]] | _T@get_callback_override) | None`

tanjun/components.py

[error] invalid-return-type - :864:16 - Return type does not match returned value: expected `_CommandT@with_command | ((_CommandT@with_command, /) -> _CommandT@with_command)`, found `ExecutableCommand[Any] | ((ExecutableCommand[Any], /) -> ExecutableCommand[Any])`
[error] invalid-return-type - :900:16 - Return type does not match returned value: expected `_MenuCommandT@with_menu_command | ((_MenuCommandT@with_menu_command, /) -> _MenuCommandT@with_menu_command)`, found `MenuCommand[Any, Any] | ((MenuCommand[Any, Any], /) -> MenuCommand[Any, Any])`
[error] invalid-return-type - :937:16 - Return type does not match returned value: expected `_BaseSlashCommandT@with_slash_command | ((_BaseSlashCommandT@with_slash_command, /) -> _BaseSlashCommandT@with_slash_command)`, found `BaseSlashCommand | ((BaseSlashCommand, /) -> BaseSlashCommand)`
[error] invalid-return-type - :983:16 - Return type does not match returned value: expected `_MessageCommandT@with_message_command | ((_MessageCommandT@with_message_command, /) -> _MessageCommandT@with_message_command)`, found `MessageCommand[Any] | ((MessageCommand[Any], /) -> MessageCommand[Any])`

tanjun/dependencies/data.py

[error] invalid-argument-type - :171:32 - Argument to bound method `set_value` is incorrect: Expected `_T@make_lc_resolver`, found `_T@make_lc_resolver | Coroutine[Any, Any, _T@make_lc_resolver]`
[error] invalid-return-type - :172:20 - Return type does not match returned value: expected `_T@make_lc_resolver`, found `_T@make_lc_resolver | Coroutine[Any, Any, _T@make_lc_resolver]`
[error] invalid-return-type - :220:12 - Return type does not match returned value: expected `_T@inject_lc`, found `_T@inject_lc | Coroutine[Any, Any, _T@inject_lc]`
[error] invalid-assignment - :265:13 - Object of type `_T@_CacheCallback | Coroutine[Any, Any, _T@_CacheCallback]` is not assignable to attribute `_result` of type `_T@_CacheCallback | Literal[_DefaultFlag.NO_DEFAULT]`
[error] invalid-return-type - :269:20 - Return type does not match returned value: expected `_T@_CacheCallback`, found `_T@_CacheCallback | Coroutine[Any, Any, _T@_CacheCallback]`
[error] invalid-return-type - :301:12 - Return type does not match returned value: expected `(...) -> Coroutine[Any, Any, _T@cache_callback]`, found `_CacheCallback[_T@cache_callback | Coroutine[Any, Any, _T@cache_callback]]`
[error] invalid-return-type - :347:12 - Return type does not match returned value: expected `_T@cached_inject`, found `_T@cached_inject | Coroutine[Any, Any, _T@cached_inject | Coroutine[Any, Any, _T@cached_inject]]`

tanjun/dependencies/limiters.py

[error] invalid-return-type - :684:16 - Return type does not match returned value: expected `_BaseResource[_InnerResourceT@_to_bucket]`, found `_MemberResource[_InnerResourceProto]`
[error] invalid-return-type - :687:16 - Return type does not match returned value: expected `_BaseResource[_InnerResourceT@_to_bucket]`, found `_GlobalResource[_InnerResourceProto]`
[error] invalid-return-type - :689:12 - Return type does not match returned value: expected `_BaseResource[_InnerResourceT@_to_bucket]`, found `_FlatResource[_InnerResourceProto]`
[error] invalid-assignment - :1521:9 - Invalid subscript assignment with key of type `str` and value of type `_GlobalResource[_InnerResourceProto]` on object of type `dict[str, _BaseResource[_ConcurrencyLimit]]`
[error] invalid-assignment - :1561:9 - Invalid subscript assignment with key of type `str` and value of type `_BaseResource[_InnerResourceProto]` on object of type `dict[str, _BaseResource[_ConcurrencyLimit]]`

tanjun/dependencies/reloaders.py

[error] invalid-argument-type - :361:76 - Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `Generator[Path, None, None]`

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

aiohttp/connector.py

[error] invalid-return-type - :1247:24 - Return type does not match returned value: expected `tuple[Transport, ResponseHandler]`, found `Unknown | tuple[Transport, BaseProtocol]`
[error] invalid-return-type - :1610:16 - Return type does not match returned value: expected `ResponseHandler`, found `Unknown | BaseProtocol`

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

altair/utils/schemapi.py

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

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

tests/core/test_thread_safety.py

[error] invalid-argument-type - :277:61 - Argument to bound method `set_value` is incorrect: Expected `() -> Literal["a"]`, found `def callback() -> str`

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

src/anyio/_backends/_asyncio.py

[error] invalid-argument-type - :1554:40 - Argument to bound method `__init__` is incorrect: Expected `StreamProtocol`, found `Unknown | BaseProtocol`
[error] invalid-assignment - :2564:50 - Object of type `Future[T_Retval@run_async_from_thread] | Future[_T@run_coroutine_threadsafe]` is not assignable to `Future[T_Retval@run_async_from_thread]`
[error] unresolved-attribute - :2702:12 - Object of type `BaseProtocol` has no attribute `exception`
[error] unresolved-attribute - :2704:19 - Object of type `BaseProtocol` has no attribute `exception`
[error] invalid-argument-type - :2707:41 - Argument to bound method `__init__` is incorrect: Expected `DatagramProtocol`, found `BaseProtocol`
[error] invalid-argument-type - :2709:50 - Argument to bound method `__init__` is incorrect: Expected `DatagramProtocol`, found `BaseProtocol`
[error] invalid-argument-type - :2928:40 - Argument to bound method `__init__` is incorrect: Expected `StreamProtocol`, found `BaseProtocol`
[error] invalid-argument-type - :2939:37 - Argument to bound method `__init__` is incorrect: Expected `DatagramProtocol`, found `BaseProtocol`
[error] invalid-argument-type - :2946:46 - Argument to bound method `__init__` is incorrect: Expected `DatagramProtocol`, found `BaseProtocol`

src/anyio/_core/_fileio.py

[error] invalid-argument-type - :190:22 - Argument to bound method `__init__` is incorrect: Expected `IO[str]`, found `TextIOWrapper[_WrappedBuffer] | BinaryIO | IO[Any]`
[error] invalid-argument-type - :627:26 - Argument to bound method `__init__` is incorrect: Expected `IO[str]`, found `TextIOWrapper[_WrappedBuffer] | BinaryIO | IO[Any]`

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

src/arti/graphs/__init__.py

[error] invalid-argument-type - :358:36 - Argument to bound method `write_artifact_and_graph_partitions` is incorrect: Expected `Artifact`, found `Artifact | TypedBox[Artifact]`

tests/arti/graphs/test_graph.py

[error] unresolved-attribute - :450:20 - Object of type `CallableMixin` has no attribute `called`
[error] unresolved-attribute - :452:16 - Object of type `CallableMixin` has no attribute `called`

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

arviz/rcparams.py

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

asynq (https://github.com/quora/asynq)

asynq/tests/typing_example/param_spec.py

[error] invalid-argument-type - :15:21 - Argument to bound method `asyncio` is incorrect: Expected `int`, found `Literal["1"]`
[error] invalid-argument-type - :15:31 - Argument to bound method `asyncio` is incorrect: Expected `str`, found `Literal[2]`

asynq/tests/test_debug.py

[error] unresolved-attribute - :179 -
Old: Object of type `AsyncDecorator[Any, ()]` has no attribute `__name__`
New: Object of type `AsyncDecorator[Any, (...)]` has no attribute `__name__`
[error] unresolved-attribute - :181 -
Old: Object of type `AsyncDecorator[Any, ()]` has no attribute `__name__`
New: Object of type `AsyncDecorator[Any, (...)]` has no attribute `__name__`

asynq/tests/test_mock.py

[error] unresolved-attribute - :271 -
Old: Unresolved attribute `cant_set_attribute` on type `bound method AsyncDecorator[Any, ()].asynq(...) -> AsyncTask[Any]`.
New: Unresolved attribute `cant_set_attribute` on type `bound method AsyncDecorator[Any, (...)].asynq(...) -> AsyncTask[Any]`.

asynq/tests/test_tools.py

[error] unresolved-attribute - :440 -
Old: Object of type `AsyncDecorator[Any, ()]` has no attribute `dirty`
New: Object of type `AsyncDecorator[Any, (...)]` has no attribute `dirty`
[error] unresolved-attribute - :450 -
Old: Object of type `AsyncDecorator[Any, ()]` has no attribute `dirty`
New: Object of type `AsyncDecorator[Any, (...)]` has no attribute `dirty`

asynq/tests/test_typing.py

[error] type-assertion-failure - :16:9 - Type `FutureBase[str]` does not match asserted type `FutureBase[Unknown]`

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

tests/test_converters.py

[error] unresolved-attribute - :113 -
Old: Object of type `Converter[Unknown, Unknown]` has no attribute `__call__`
New: Object of type `Converter[str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc, int]` has no attribute `__call__`

tests/test_validators.py

[error] invalid-argument-type - :185:68 - Argument to function `matches_re` is incorrect: Expected `((str | bytes, str | bytes, int, /) -> Match[str | bytes] | None) | None`, found `Overload[(pattern: str | Pattern[str], string: str, flags: int = Literal[0]) -> Match[str] | None, (pattern: bytes | Pattern[bytes], string: Buffer, flags: int = Literal[0]) -> Match[bytes] | None]`
[error] invalid-argument-type - :219:56 - Argument to function `matches_re` is incorrect: Expected `((str | bytes, str | bytes, int, /) -> Match[str | bytes] | None) | None`, found `Overload[(pattern: str | Pattern[str], string: str, flags: int = Literal[0]) -> Match[str] | None, (pattern: bytes | Pattern[bytes], string: Buffer, flags: int = Literal[0]) -> Match[bytes] | None]`
[error] no-matching-overload - :297:18 - No overload of function `attrib` matches arguments
[error] invalid-argument-type - :544:24 - Argument is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown | int]`
[error] invalid-argument-type - :555:24 - Argument is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown | int | str]`
[error] invalid-argument-type - :700:24 - Argument is incorrect: Expected `dict[Unknown, Unknown]`, found `None`
[error] invalid-argument-type - :1257:20 - Argument is incorrect: Expected `int | float`, found `Literal["spam"]`
[error] invalid-argument-type - :787:21 - Argument to function `and_` is incorrect: Expected `(Any, Attribute[int], int, /) -> Any`, found `(Any, Attribute[Literal[10]], Literal[10], /) -> Any`
[error] unresolved-attribute - :1143 -
Old: Object of type `(Any, Attribute[Unknown], Unknown, /) -> Any` has no attribute `exc_types`
New: Object of type `(Any, Attribute[Unknown | int], Unknown | int, /) -> Any` has no attribute `exc_types`

typing-examples/mypy.py

[error] invalid-argument-type - :250:64 - Argument to function `matches_re` is incorrect: Expected `((str | bytes, str | bytes, int, /) -> Match[str | bytes] | None) | None`, found `Overload[(pattern: str | Pattern[str], string: str, flags: int = Literal[0]) -> Match[str] | None, (pattern: bytes | Pattern[bytes], string: Buffer, flags: int = Literal[0]) -> Match[bytes] | None]`

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

src/bokeh/application/handlers/code.py

[error] invalid-argument-type - :201 -
Old: Argument to function `contextmanager` is incorrect: Expected `(loggers: dict[str, (...) -> None]) -> Iterator[Unknown]`, found `def _monkeypatch_io(loggers: dict[str, (...) -> None]) -> dict[str, Any]`
New: Argument to function `contextmanager` is incorrect: Expected `(...) -> Iterator[Unknown]`, found `def _monkeypatch_io(loggers: dict[str, (...) -> None]) -> dict[str, Any]`

src/bokeh/plotting/_decorators.py

[error] unresolved-attribute - :67 -
Old: Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (self, *args, **kwargs), Unknown]`.
New: Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (...), Unknown]`.
[error] unresolved-attribute - :91 -
Old: Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (self, *args, **kwargs), Unknown]`.
New: Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

src/bokeh/server/contexts.py

[error] invalid-await - :289:15 - `None` is not awaitable

src/bokeh/server/session.py

[error] invalid-return-type - :110 -
Old: Return type does not match returned value: expected `F@_needs_document_lock`, found `_Wrapped[(...), Unknown, (self: ServerSession, *args, **kwargs), Unknown]`
New: Return type does not match returned value: expected `F@_needs_document_lock`, found `_Wrapped[(...), Unknown, (...), Unknown]`

src/bokeh/settings.py

[error] invalid-assignment - :610:56 - Object of type `PrioritizedSetting[list[str] | str]` is not assignable to `PrioritizedSetting[list[str]]`
[error] invalid-assignment - :646:50 - Object of type `PrioritizedSetting[int | str]` is not assignable to `PrioritizedSetting[int]`
[error] invalid-assignment - :705:49 - Object of type `PrioritizedSetting[bool | str]` is not assignable to `PrioritizedSetting[bool]`
[error] invalid-assignment - :723:42 - Object of type `PrioritizedSetting[bool | str]` is not assignable to `PrioritizedSetting[bool]`
[error] invalid-assignment - :736:61 - Object of type `PrioritizedSetting[bool | str]` is not assignable to `PrioritizedSetting[bool]`
[error] invalid-assignment - :778:52 - Object of type `PrioritizedSetting[int | str]` is not assignable to `PrioritizedSetting[int]`
[error] invalid-assignment - :799:44 - Object of type `PrioritizedSetting[bool | str]` is not assignable to `PrioritizedSetting[bool]`
[error] invalid-assignment - :818:61 - Object of type `PrioritizedSetting[str]` is not assignable to `PrioritizedSetting[Literal["none", "errors", "all"]]`
[error] invalid-assignment - :830:46 - Object of type `PrioritizedSetting[bool | str]` is not assignable to `PrioritizedSetting[bool]`

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

tests/test_integration.py

[error] no-matching-overload - :137:17 - No overload of function `__new__` matches arguments
[error] no-matching-overload - :138:17 - No overload of function `__new__` matches arguments

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

cibuildwheel/platforms/linux.py

[error] type-assertion-failure - :311 -
Old: Type `Unknown` is not equivalent to `Never`
New: Type `Unknown | BuildFrontendConfig` is not equivalent to `Never`

cibuildwheel/platforms/macos.py

[error] type-assertion-failure - :502 -
Old: Type `Unknown` is not equivalent to `Never`
New: Type `Unknown | BuildFrontendConfig` is not equivalent to `Never`

cibuildwheel/platforms/windows.py

[error] type-assertion-failure - :505 -
Old: Type `Unknown` is not equivalent to `Never`
New: Type `Unknown | BuildFrontendConfig` is not equivalent to `Never`

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

tests/kcidb/test_kcidb_file.py

[error] missing-argument - :83:14 - No argument provided for required parameter `kcidb_data`

tests/test_gitlab.py

[warning] possibly-missing-attribute - :231:35 - Attribute `attributes` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - :236:35 - Attribute `attributes` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - :241:38 - Attribute `attributes` may be missing on object of type `Unknown | None`

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

cloudinit/analyze/__init__.py

[error] no-matching-overload - :224:24 - No overload of function `__new__` matches arguments

cloudinit/config/schema.py

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

tests/unittests/sources/test_azure_helper.py

[error] unsupported-operator - :1041:16 - Operator `in` is not supported between objects of type `Literal["expected-key"]` and `list[str] | None`
[error] unsupported-operator - :1042:16 - Operator `in` is not supported between objects of type `Literal["expected-no-value-key"]` and `list[str] | None`
[error] unsupported-operator - :1043:16 - Operator `not in` is not supported between objects of type `Literal["should-not-be-found"]` and `list[str] | None`

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

homeassistant/components/homeassistant_alerts/__init__.py

[error] invalid-argument-type - :103:55 - Argument to bound method `async_listen` is incorrect: Expected `(Event[Mapping[str, Any]], /) -> Coroutine[Any, Any, None] | None`, found `def _component_loaded(_: Event[EventComponentLoaded]) -> None`

homeassistant/components/labs/helpers.py

[error] invalid-argument-type - :63:54 - Argument to bound method `async_listen` is incorrect: Expected `(Event[Mapping[str, Any]], /) -> Coroutine[Any, Any, None] | None`, found `def _async_feature_updated(event: Event[EventLabsUpdatedData]) -> None`

homeassistant/components/netgear/__init__.py

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

homeassistant/components/airvisual_pro/__init__.py

[error] invalid-argument-type - :91:43 - Argument is incorrect: Expected `DataUpdateCoordinator[dict[str, Any]]`, found `DataUpdateCoordinator[dict[str, Any] | None]`

homeassistant/components/api/__init__.py

[warning] unused-ignore-comment - :500:91 - Unused blanket `type: ignore` directive

homeassistant/components/asuswrt/router.py

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

homeassistant/components/backup/http.py

[error] invalid-assignment - :143:26 - Object of type `TextIOWrapper[_WrappedBuffer] | BinaryIO | IO[Any]` is not assignable to `IO[bytes]`

homeassistant/components/backup/manager.py

[error] invalid-assignment - :1525:22 - Object of type `Unknown | TextIOWrapper[_WrappedBuffer] | BinaryIO | IO[Any]` is not assignable to `IO[bytes]`

homeassistant/components/citybikes/sensor.py

[error] unsupported-operator - :146:12 - Operator `>` is not supported between objects of type `Any | int | float` and `int | float | None`

homeassistant/components/deconz/hub/hub.py

[error] invalid-argument-type - :149:47 - Argument to function `async_add_device` is incorrect: Expected `str`, found `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`

homeassistant/components/emulated_hue/upnp.py

[error] invalid-return-type - :180:12 - Return type does not match returned value: expected `UPNPResponderProtocol`, found `BaseProtocol`

homeassistant/components/fyta/coordinator.py

[error] invalid-argument-type - :95:70 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `set[int] & ~AlwaysFalsy`

homeassistant/components/go2rtc/__init__.py

[error] invalid-return-type - :260:12 - Return type does not match returned value: expected `str | None`, found `str | None | bytes`

homeassistant/components/google_assistant/http.py

[error] unsupported-operator - :243:38 - Operator `>` is not supported between objects of type `datetime` and `Unknown | None | datetime`

homeassistant/components/huawei_lte/sensor.py

[error] no-matching-overload - :776:25 - No overload of function `__new__` matches arguments

homeassistant/components/icloud/config_flow.py

[error] invalid-argument-type - :218:36 - Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Any | None | bool | list[Any] | dict[Any, Any]`
[error] non-subscriptable - :228:32 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :228:32 - Cannot subscript object of type `bool` with no `__getitem__` method

homeassistant/components/iss/__init__.py

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

homeassistant/components/launch_library/__init__.py

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

homeassistant/components/led_ble/__init__.py

[error] invalid-argument-type - :91:59 - Argument is incorrect: Expected `DataUpdateCoordinator[None]`, found `DataUpdateCoordinator[dict[str, Any]]`

homeassistant/components/meteo_france/__init__.py

[error] unresolved-attribute - :96 -
Old: Object of type `dict[str, Any]` has no attribute `position`
New: Object of type `None` has no attribute `position`

homeassistant/components/mobile_app/notify.py

[error] unsupported-operator - :70:20 - Operator `-` is not supported between objects of type `datetime | None` and `datetime`

homeassistant/components/nut/__init__.py

[error] invalid-argument-type - :119:40 - Argument to function `_unique_id_from_status` is incorrect: Expected `dict[str, str]`, found `dict[str, str] | None`
[warning] possibly-missing-attribute - :129:28 - Attribute `get` may be missing on object of type `dict[str, str] | None`
[error] invalid-argument-type - :156:9 - Argument is incorrect: Expected `DataUpdateCoordinator[dict[str, Any]]`, found `DataUpdateCoordinator[dict[str, str] | None]`

homeassistant/components/nws/__init__.py

[error] invalid-argument-type - :133:9 - Argument is incorrect: Expected `TimestampDataUpdateCoordinator[None]`, found `TimestampDataUpdateCoordinator[dict[str, Any]]`
[error] invalid-argument-type - :134:9 - Argument is incorrect: Expected `TimestampDataUpdateCoordinator[None]`, found `TimestampDataUpdateCoordinator[dict[str, Any]]`

homeassistant/components/otbr/__init__.py

[error] invalid-argument-type - :40 -
Old: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `HardwareFirmwareInfoModule`, found `<module 'homeassistant.components.otbr.homeassistant_hardware'>`
New: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `SyncHardwareFirmwareInfoModule | AsyncHardwareFirmwareInfoModule`, found `<module 'homeassistant.components.otbr.homeassistant_hardware'>`

homeassistant/components/peco/__init__.py

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

homeassistant/components/pi_hole/__init__.py

[error] invalid-argument-type - :154:42 - Argument is incorrect: Expected `DataUpdateCoordinator[None]`, found `DataUpdateCoordinator[dict[str, Any]]`

homeassistant/components/powerwall/__init__.py

[error] invalid-argument-type - :229:9 - Argument to bound method `__init__` is incorrect: Expected `(() -> Awaitable[dict[str, Any]]) | None`, found `bound method PowerwallDataManager.async_update_data() -> CoroutineType[Any, Any, PowerwallData]`
[error] invalid-assignment - :236 -
Old: Invalid assignment to key "coordinator" with declared type `DataUpdateCoordinator[PowerwallData] | None` on TypedDict `PowerwallRuntimeData`: value of type `DataUpdateCoordinator[dict[str, Any]]`
New: Invalid assignment to key "coordinator" with declared type `DataUpdateCoordinator[PowerwallData] | None` on TypedDict `PowerwallRuntimeData`: value of type `DataUpdateCoordinator[PowerwallData | None]`

homeassistant/components/pterodactyl/api.py

[error] invalid-argument-type - :92:41 - 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["attributes"]` on object of type `str`

homeassistant/components/recollect_waste/__init__.py

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

homeassistant/components/renault/services.py

[error] unresolved-attribute - :124:42 - Object of type `None` has no attribute `raw_data`
[error] unresolved-attribute - :133:9 - Object of type `None` has no attribute `update`
[error] unresolved-attribute - :136:16 - Object of type `None` has no attribute `schedules`
[error] unresolved-attribute - :138:47 - Object of type `None` has no attribute `schedules`
[error] unresolved-attribute - :153:9 - Object of type `None` has no attribute `update`
[error] unresolved-attribute - :156:16 - Object of type `None` has no attribute `schedules`
[error] unresolved-attribute - :158:45 - Object of type `None` has no attribute `schedules`

homeassistant/components/reolink/__init__.py

[error] invalid-argument-type - :261:9 - Argument is incorrect: Expected `DataUpdateCoordinator[None]`, found `DataUpdateCoordinator[dict[str, Any]]`
[error] invalid-argument-type - :262:9 - Argument is incorrect: Expected `DataUpdateCoordinator[None]`, found `DataUpdateCoordinator[dict[str, Any]]`
[error] invalid-argument-type - :269:36 - Argument to function `register_callbacks` is incorrect: Expected `DataUpdateCoordinator[None]`, found `DataUpdateCoordinator[dict[str, Any]]`

homeassistant/components/roon/media_player.py

[error] invalid-argument-type - :207:59 - Argument to function `convert` is incorrect: Expected `(Unknown, /) -> Literal[0]`, found `<class 'int'>`
[error] invalid-argument-type - :213:55 - Argument to function `convert` is incorrect: Expected `(Unknown, /) -> Literal[0]`, found `<class 'float'>`
[error] invalid-argument-type - :237:68 - Argument to function `convert` is incorrect: Expected `(Unknown, /) -> Literal[0]`, found `<class 'int'>`
[error] invalid-argument-type - :244:70 - Argument to function `convert` is incorrect: Expected `(Unknown, /) -> Literal[0]`, found `<class 'int'>`

homeassistant/components/senz/__init__.py

[error] invalid-assignment - :79:46 - Object of type `DataUpdateCoordinator[dict[str, Unknown] | None]` is not assignable to `SENZDataUpdateCoordinator`

homeassistant/components/smarttub/controller.py

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

homeassistant/components/solarlog/coordinator.py

[error] invalid-argument-type - :131:71 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `set[tuple[int, str]] & ~AlwaysFalsy`
[error] invalid-argument-type - :156:73 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `set[tuple[Unknown, Unknown] | Unknown] & ~AlwaysFalsy`

homeassistant/components/spotify/__init__.py

[error] invalid-assignment - :82:63 - Object of type `DataUpdateCoordinator[list[Unknown] | None]` is not assignable to `DataUpdateCoordinator[list[Unknown]]`

homeassistant/components/tedee/coordinator.py

[error] invalid-argument-type - :147:67 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `set[int] & ~AlwaysFalsy`

homeassistant/components/template/light.py

[error] invalid-assignment - :738 -
Old: Object of type `tuple[None | Unknown, None | Unknown, None | Unknown]` is not assignable to attribute `_attr_rgb_color` of type `tuple[int, int, int] | None`
New: Object of type `tuple[None | int | @Todo, None | int | @Todo, None | int | @Todo]` is not assignable to attribute `_attr_rgb_color` of type `tuple[int, int, int] | None`
[error] invalid-assignment - :783 -
Old: Object of type `tuple[None | Unknown, None | Unknown, None | Unknown, None | Unknown]` is not assignable to attribute `_attr_rgbw_color` of type `tuple[int, int, int, int] | None`
New: Object of type `tuple[None | int | @Todo, None | int | @Todo, None | int | @Todo, None | int | @Todo]` is not assignable to attribute `_attr_rgbw_color` of type `tuple[int, int, int, int] | None`
[error] invalid-assignment - :829 -
Old: Object of type `tuple[None | Unknown, None | Unknown, None | Unknown, None | Unknown, None | Unknown]` is not assignable to attribute `_attr_rgbww_color` of type `tuple[int, int, int, int, int] | None`
New: Object of type `tuple[None | int | @Todo, None | int | @Todo, None | int | @Todo, None | int | @Todo, None | int | @Todo]` is not assignable to attribute `_attr_rgbww_color` of type `tuple[int, int, int, int, int] | None`

homeassistant/components/tuya/diagnostics.py

[error] invalid-assignment - :109:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :112:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :116:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :123:9 - Cannot assign to a subscript on an object of type `str`

homeassistant/components/wiz/__init__.py

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

homeassistant/components/zha/__init__.py

[error] invalid-argument-type - :120 -
Old: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `HardwareFirmwareInfoModule`, found `<module 'homeassistant.components.zha.homeassistant_hardware'>`
New: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `SyncHardwareFirmwareInfoModule | AsyncHardwareFirmwareInfoModule`, found `<module 'homeassistant.components.zha.homeassistant_hardware'>`

homeassistant/core.py

[error] invalid-argument-type - :561:31 - Argument to function `__new__` is incorrect: Expected `(...) -> None`, found `Overload[(hassjob: HassJob[(...), Coroutine[Any, Any, _R@_async_add_hass_job]], *args: Any, *, background: bool = Literal[False]) -> Future[_R@_async_add_hass_job] | None, (hassjob: HassJob[(...), Coroutine[Any, Any, _R@_async_add_hass_job] | _R@_async_add_hass_job], *args: Any, *, background: bool = Literal[False]) -> Future[_R@_async_add_hass_job] | None]`
[error] invalid-argument-type - :1605:50 - Argument to bound method `_async_listen_filterable_job` is incorrect: Expected `EventType[Mapping[str, Any]] | str`, found `EventType[_DataT@async_listen] | str`
[error] invalid-argument-type - :1605:62 - Argument to bound method `_async_listen_filterable_job` is incorrect: Expected `tuple[HassJob[(Event[Mapping[str, Any]], /), Coroutine[Any, Any, None] | None], ((Mapping[str, Any], /) -> bool) | None]`, found `tuple[HassJob[(Event[_DataT@async_listen], /), Unknown], ((_DataT@async_listen, /) -> bool) | None]`

homeassistant/helpers/area_registry.py

[error] invalid-argument-type - :526:13 - Argument to bound method `async_listen` is incorrect: Expected `EventType[_EventFloorRegistryUpdatedData_Create_Remove_Update | _EventFloorRegistryUpdatedData_Reorder | EventLabelRegistryUpdatedData] | str`, found `EventType[_EventFloorRegistryUpdatedData_Create_Remove_Update | _EventFloorRegistryUpdatedData_Reorder]`
[error] invalid-argument-type - :528:13 - Argument to bound method `async_listen` is incorrect: Expected `(Event[_EventFloorRegistryUpdatedData_Create_Remove_Update | _EventFloorRegistryUpdatedData_Reorder | EventLabelRegistryUpdatedData], /) -> Coroutine[Any, Any, None] | None`, found `def _handle_floor_registry_update(event: Event[_EventFloorRegistryUpdatedData_Create_Remove_Update | _EventFloorRegistryUpdatedData_Reorder]) -> None`
[error] invalid-argument-type - :539:13 - Argument to bound method `async_listen` is incorrect: Expected `EventType[EventLabelRegistryUpdatedData | _EventFloorRegistryUpdatedData_Create_Remove_Update | _EventFloorRegistryUpdatedData_Reorder] | str`, found `EventType[EventLabelRegistryUpdatedData]`
[error] invalid-argument-type - :541:13 - Argument to bound method `async_listen` is incorrect: Expected `(Event[EventLabelRegistryUpdatedData | _EventFloorRegistryUpdatedData_Create_Remove_Update | _EventFloorRegistryUpdatedData_Reorder], /) -> Coroutine[Any, Any, None] | None`, found `def _handle_label_registry_update(event: Event[EventLabelRegistryUpdatedData]) -> None`

homeassistant/helpers/entity_registry.py

[error] invalid-argument-type - :1863:9 - Argument to bound method `async_listen` is incorrect: Expected `EventType[EventLabelRegistryUpdatedData | EventCategoryRegistryUpdatedData] | str`, found `EventType[EventLabelRegistryUpdatedData]`
[error] invalid-argument-type - :1865:9 - Argument to bound method `async_listen` is incorrect: Expected `(Event[EventLabelRegistryUpdatedData | EventCategoryRegistryUpdatedData], /) -> Coroutine[Any, Any, None] | None`, found `def _handle_label_registry_update(event: Event[EventLabelRegistryUpdatedData]) -> None`
[error] invalid-argument-type - :1876:9 - Argument to bound method `async_listen` is incorrect: Expected `EventType[EventCategoryRegistryUpdatedData | EventLabelRegistryUpdatedData] | str`, found `EventType[EventCategoryRegistryUpdatedData]`
[error] invalid-argument-type - :1878:9 - Argument to bound method `async_listen` is incorrect: Expected `(Event[EventCategoryRegistryUpdatedData | EventLabelRegistryUpdatedData], /) -> Coroutine[Any, Any, None] | None`, found `def _handle_category_registry_update(event: Event[EventCategoryRegistryUpdatedData]) -> None`
[error] invalid-argument-type - :1934:9 - Argument to bound method `async_listen` is incorrect: Expected `EventType[_EventEntityRegistryUpdatedData_CreateRemove | _EventEntityRegistryUpdatedData_Update | Mapping[str, Any]] | str`, found `EventType[_EventEntityRegistryUpdatedData_CreateRemove | _EventEntityRegistryUpdatedData_Update]`
[error] invalid-argument-type - :1935:9 - Argument to bound method `async_listen` is incorrect: Expected `(Event[_EventEntityRegistryUpdatedData_CreateRemove | _EventEntityRegistryUpdatedData_Update | Mapping[str, Any]], /) -> Coroutine[Any, Any, None] | None`, found `def cleanup_restored_states(event: Event[_EventEntityRegistryUpdatedData_CreateRemove | _EventEntityRegistryUpdatedData_Update]) -> None`

homeassistant/helpers/storage.py

[error] unsupported-operator - :409 -
Old: Operator `not in` is not supported between objects of type `Literal["minor_version"]` and `dict[str, Any] | Unknown | dict[str, JsonValueType] | ... omitted 5 union elements`
New: Operator `not in` is not supported between objects of type `Literal["minor_version"]` and `dict[str, Any] | Unknown | list[Any] | ... omitted 6 union elements`
[error] invalid-assignment - :410 -
Old: Invalid subscript assignment with key of type `Literal["minor_version"]` and value of type `Literal[1]` on object of type `list[JsonValueType]`
New: Invalid subscript assignment with key of type `Literal["minor_version"]` and value of type `Literal[1]` on object of type `list[Any]`
[error] invalid-assignment - :410:13 - Invalid subscript assignment with key of type `Literal["minor_version"]` and value of type `Literal[1]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :413 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - :413:13 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :414 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[Any]`
[error] invalid-argument-type - :414:17 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :416 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - :416:22 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["data"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :421 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - :421:17 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :422 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[Any]`
[error] invalid-argument-type - :422:17 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :427 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - :427 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :427:74 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - :427:74 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["data"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :431 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - :431 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :431 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[Any]`
[error] invalid-argument-type - :431:42 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["minor_version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :431:65 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - :431:65 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["data"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :434 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["version"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["version"]` on object of type `list[Any]`
[error] invalid-argument-type - :434:24 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["version"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`
[error] invalid-argument-type - :436 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[JsonValueType] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[JsonValueType]]` cannot be called with key of type `Literal["data"]` on object of type `list[JsonValueType]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `Literal["data"]` on object of type `list[Any]`
[error] invalid-argument-type - :436:30 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> dict[str, Any] | list[Any] | str | ... omitted 3 union elements, (s: slice[Any, Any, Any], /) -> list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]]` cannot be called with key of type `Literal["data"]` on object of type `list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements]`

homeassistant/setup.py

[error] invalid-argument-type - :650:13 - Argument to bound method `async_listen` is incorrect: Expected `((Mapping[str, Any], /) -> bool) | None`, found `def _async_is_component_filter(event_data: EventComponentLoaded) -> bool`

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

tests/debugging/exploration/_config.py

[error] invalid-argument-type - :25:9 - Argument to bound method `v` is incorrect: Expected `((str, /) -> None) | None`, found `def parse_venv(value: str) -> Path | None`

tests/internal/bytecode_injection/framework_injection/_config.py

[error] invalid-argument-type - :24:9 - Argument to bound method `v` is incorrect: Expected `((str, /) -> None) | None`, found `def parse_venv(value: str) -> Path | None`

ddtrace/appsec/_exploit_prevention/stack_traces.py

[error] unsupported-operator - :66 -
Old: Operator `*` is not supported between objects of type `Unknown | EnvVariable[int]` and `Unknown | EnvVariable[float]`
New: Operator `*` is not supported between objects of type `Unknown | EnvVariable[int]` and `Unknown | EnvVariable[float | int]`

ddtrace/contrib/internal/ray/patch.py

[error] invalid-argument-type - :128:9 - Argument is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - :374:9 - Argument is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - :464:9 - Argument is incorrect: Expected `str`, found `str | None`

ddtrace/debugging/_debugger.py

[error] invalid-argument-type - :269 -
Old: Argument is incorrect: Expected `int | float`, found `Unknown | DerivedVariable[float]`
New: Argument is incorrect: Expected `int | float`, found `Unknown | DerivedVariable[float | Unknown]`

ddtrace/debugging/_uploader.py

[error] invalid-argument-type - :80 -
Old: Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str]`
New: Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | Unknown]`
[error] invalid-argument-type - :86 -
Old: Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str]`
New: Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | Unknown]`

ddtrace/internal/core/crashtracking.py

[warning] possibly-missing-attribute - :63 -
Old: Attribute `items` may be missing on object of type `Unknown | EnvVariable[dict[Unknown, Unknown]]`
New: Attribute `items` may be missing on object of type `Unknown | EnvVariable[dict[str, str] | dict[Unknown, Unknown]]`

ddtrace/internal/settings/asm.py

[error] invalid-return-type - :341 -
Old: Return type does not match returned value: expected `str`, found `Unknown | EnvVariable[str] | Literal["disabled"]`
New: Return type does not match returned value: expected `str`, found `Unknown | EnvVariable[str | Unknown] | Literal["disabled"]`

ddtrace/internal/settings/errortracking.py

[error] invalid-assignment - :44 -
Old: Object of type `Unknown | EnvVariable[list[Unknown]]` is not assignable to attribute `_configured_modules` of type `list[str]`
New: Object of type `Unknown | EnvVariable[list[str] | list[Unknown]]` is not assignable to attribute `_configured_modules` of type `list[str]`

ddtrace/internal/symbol_db/symbols.py

[warning] possibly-missing-attribute - :527 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`
[warning] possibly-missing-attribute - :545 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`

ddtrace/llmobs/_integrations/utils.py

[error] no-matching-overload - :876:25 - No overload of bound method `replace` matches arguments

ddtrace/vendor/psutil/_common.py

[error] unresolved-attribute - :485 -
Old: Unresolved attribute `cache_activate` on type `_Wrapped[(...), Unknown, (self), Unknown]`.
New: Unresolved attribute `cache_activate` on type `_Wrapped[(...), Unknown, (...), Unknown]`.
[error] unresolved-attribute - :486 -
Old: Unresolved attribute `cache_deactivate` on type `_Wrapped[(...), Unknown, (self), Unknown]`.
New: Unresolved attribute `cache_deactivate` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

tests/appsec/iast_tdd_propagation/test_flask.py

[warning] possibly-missing-attribute - :79:24 - Attribute `stdout` may be missing on object of type `Popen[Unknown] | Process`
[warning] possibly-missing-attribute - :79:47 - Attribute `stderr` may be missing on object of type `Popen[Unknown] | Process`

tests/appsec/integrations/flask_tests/test_flask_remoteconfig.py

[error] invalid-argument-type - :249:21 - Argument to function `__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `int | None`

tests/debugging/test_debugger.py

[warning] possibly-missing-attribute - :141:46 - Attribute `_locations` may be missing on object of type `Unknown | BaseModuleWatchdog | None`
[warning] possibly-missing-attribute - :150:50 - Attribute `_locations` may be missing on object of type `Unknown | BaseModuleWatchdog | None`

tests/internal/symbol_db/test_config.py

[warning] possibly-missing-attribute - :8 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`
[warning] possibly-missing-attribute - :9 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`
[warning] possibly-missing-attribute - :10 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`
[warning] possibly-missing-attribute - :12 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`
[warning] possibly-missing-attribute - :13 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`
[warning] possibly-missing-attribute - :14 -
Old: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown]]`
New: Attribute `match` may be missing on object of type `Unknown | DerivedVariable[Pattern[Unknown] | Unknown]`

tests/internal/test_utils_inspection.py

[error] invalid-argument-type - :54 -
Old: Argument to function `undecorated` is incorrect: Expected `FunctionType`, found `_Wrapper[(), Unknown]`
New: Argument to function `undecorated` is incorrect: Expected `FunctionType`, found `_Wrapper[(...), Unknown]`

tests/internal/test_wrapping.py

[error] unresolved-attribute - :295 -
Old: Object of type `() -> _AsyncGeneratorContextManager[Unknown, None]` has no attribute `__wrapped__`
New: Object of type `(...) -> _AsyncGeneratorContextManager[Unknown, None]` has no attribute `__wrapped__`

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

discord/app_commands/checks.py

[error] invalid-assignment - :390:42 - Object of type `Coroutine[Any, Any, Cooldown | None] | Cooldown | None` is not assignable to `Cooldown | None`

discord/channel.py

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

discord/ext/commands/core.py

[warning] unused-ignore-comment - :672:45 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :676:45 - Unused blanket `type: ignore` directive
[error] invalid-assignment - :2499 -
Old: Object of type `CooldownMapping[Unknown]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `CooldownMapping[Context[Any]]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
[error] invalid-assignment - :2547 -
Old: Object of type `DynamicCooldownMapping[Unknown]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `DynamicCooldownMapping[Context[Any]]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`

discord/ext/commands/flags.py

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

discord/state.py

[error] invalid-assignment - :1178:9 - Object of type `tuple[Unknown | Emoji, ...]` is not assignable to attribute `emojis` of type `tuple[Emoji, ...]`
[error] invalid-assignment - :1191:9 - Object of type `tuple[Unknown | GuildSticker, ...]` is not assignable to attribute `stickers` of type `tuple[GuildSticker, ...]`

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

dulwich/diff_tree.py

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

dulwich/porcelain/__init__.py

[error] invalid-return-type - :643:16 - Return type does not match returned value: expected `AbstractContextManager[T@open_repo | Repo, bool | None]`, found `_GeneratorContextManager[T@_noop_context_manager, None, None]`
[error] invalid-return-type - :697:16 - Return type does not match returned value: expected `AbstractContextManager[T@open_repo_closing | Repo, bool | None]`, found `_GeneratorContextManager[T@_noop_context_manager, None, None]`

dulwich/walk.py

[error] invalid-argument-type - :474:35 - Argument to bound method `_reorder` is incorrect: Expected `Iterator[WalkEntry]`, found `Iterator[WalkEntry | None]`

egglog-python (https://github.com/egraphs-good/egglog-python)

python/egglog/builtins.py

[error] no-matching-overload - :607:15 - No overload of function `get_callable_args` matches arguments
[error] no-matching-overload - :818:15 - No overload of function `get_callable_args` matches arguments

python/egglog/examples/jointree.py

[error] invalid-argument-type - :38 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :39 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :40 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :41 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :42 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :43 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :53 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :64 -
Old: Argument to bound method `extract` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to bound method `extract` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`

python/egglog/exp/any_expr.py

[error] no-matching-overload - :62:15 - No overload of function `get_callable_args` matches arguments
[error] no-matching-overload - :540:15 - No overload of function `get_callable_args` matches arguments

python/egglog/exp/array_api_jit.py

[error] invalid-argument-type - :32 -
Old: Argument to function `try_evaling` is incorrect: Expected `BuiltinExpr`, found `(...) -> Unknown`
New: Argument to function `try_evaling` is incorrect: Expected `BuiltinExpr`, found `(...) -> BaseExpr & Unknown`

python/egglog/exp/program_gen.py

[error] invalid-argument-type - :131 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :181 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :183 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :188 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :198 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :224 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :228 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :231 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :234 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :234 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :237 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :237 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :252 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :253 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :265 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :266 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :274 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :275 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :285 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :286 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :302 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :304 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :312 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :325 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :340 -
Old: Argument to function `eq` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `eq` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :353 -
Old: Argument to function `ne` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `ne` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :373 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :374 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :375 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :403 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :404 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :405 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
[error] invalid-argument-type - :406 -
Old: Argument to function `set_` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to function `set_` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`

python/tests/test_array_api.py

[error] invalid-argument-type - :290 -
Old: Argument to function `try_evaling` is incorrect: Expected `BuiltinExpr`, found `(...) -> Unknown`
New: Argument to function `try_evaling` is incorrect: Expected `BuiltinExpr`, found `(...) -> BaseExpr & Unknown`

python/tests/test_program_gen.py

[error] invalid-argument-type - :87 -
Old: Argument to bound method `extract` is incorrect: Argument type `(...) -> Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`
New: Argument to bound method `extract` is incorrect: Argument type `(...) -> BaseExpr & Unknown` does not satisfy upper bound `BaseExpr` of type variable `BASE_EXPR`

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

src/graphql/validation/rules/possible_type_extensions.py

[error] invalid-assignment - :48:29 - Object of type `str | bytes` is not assignable to `str | None`

tests/validation/test_no_deprecated.py

[warning] unused-ignore-comment - :23:8 - Unused blanket `type: ignore` directive

src/graphql/utilities/lexicographic_sort_schema.py

[error] invalid-argument-type - :115:32 - Argument to function `replace_named_type` is incorrect: Expected `GraphQLNamedType`, found `GraphQLNamedType | GraphQLDirective | DirectiveLocation`
[error] invalid-argument-type - :170:37 - Argument to function `sort_named_type` is incorrect: Expected `GraphQLNamedType`, found `GraphQLNamedType | GraphQLDirective | DirectiveLocation`
[error] invalid-argument-type - :177:28 - Argument to function `sort_directive` is incorrect: Expected `GraphQLDirective`, found `GraphQLDirective | GraphQLNamedType | DirectiveLocation`

tests/pyutils/test_async_reduce.py

[error] invalid-await - :50 -
Old: `Awaitable[Literal["foo"]] | Literal["foo"]` is not awaitable
New: `Awaitable[Unknown | Literal["foo"]] | Unknown | Literal["foo"]` is not awaitable

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

hydpy/core/auxfiletools.py

[error] invalid-return-type - :1123:24 - Return type does not match returned value: expected `tuple[Parameter | KeywordArguments[Unknown], ...]`, found `tuple[Parameter | KeywordArguments[Unknown] | Buffer, ...]`

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

tests/annotations/declarations.py

[error] type-assertion-failure - :1074:5 - Type `str` does not match asserted type `Unknown`
[error] type-assertion-failure - :1075:5 - Type `str` does not match asserted type `Unknown`
[error] type-assertion-failure - :1076:5 - Type `str` does not match asserted type `Unknown`
[error] invalid-assignment - :461 -
Old: Object of type `partial[Unknown]` is not assignable to `Partial[int]`
New: Object of type `partial[int]` is not assignable to `Partial[int]`
[error] invalid-assignment - :471 -
Old: Object of type `partial[Unknown]` is not assignable to `Partial[int]`
New: Object of type `partial[int]` is not assignable to `Partial[int]`
[error] invalid-assignment - :472 -
Old: Object of type `partial[Unknown]` is not assignable to `Partial[bool]`
New: Object of type `partial[bool]` is not assignable to `Partial[bool]`

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

ibis/common/selectors.py

[error] invalid-argument-type - :45:25 - Argument to function `__new__` is incorrect: Expected `(Sequence[str | int] | int | slice[Any, Any, Any], /) -> Column | Table | @Todo`, found `(Overload[(what: str | int) -> Column, (what: slice[Any, Any, Any] | Sequence[str | int]) -> Table]) | @Todo`

ibis/backends/__init__.py

[error] no-matching-overload - :1100:23 - No overload of function `__new__` matches arguments

ibis/backends/bigquery/tests/system/test_client.py

[error] invalid-argument-type - :512:21 - Argument to function `__new__` is incorrect: Expected `(Iterable[list[str]] | Iterable[list[bytes]], /) -> dict[str, str] | dict[bytes, bytes]`, found `<class 'dict'>`

ibis/backends/datafusion/udfs.py

[error] invalid-argument-type - :96:60 - Argument to function `__new__` is incorrect: Expected `(str | bytes | bytearray | None, /) -> SplitResult | SplitResultBytes`, found `Overload[(url: str, scheme: str = Literal[""], allow_fragments: bool = Literal[True]) -> SplitResult, (url: bytes | bytearray | None, scheme: bytes | bytearray | None | Literal[""] = Literal[""], allow_fragments: bool = Literal[True]) -> SplitResultBytes]`

ibis/backends/impala/__init__.py

[error] invalid-argument-type - :1014:33 - Argument is incorrect: Expected `str`, found `ListFunction`
[error] invalid-argument-type - :1022:33 - Argument is incorrect: Expected `str`, found `ListFunction`

ibis/backends/sql/compilers/snowflake.py

[error] invalid-argument-type - :237:30 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `tuple[Literal[3], Literal[9]] | Unknown | tuple[Literal[3], Literal[11]]`

ibis/backends/tests/test_array.py

[error] invalid-argument-type - :1601:63 - Argument to bound method `mutate` is incorrect: Expected `Value | Deferred`, found `dict[Unknown | str, Unknown | float]`

ibis/backends/tests/tpc/ds/test_queries.py

[error] invalid-argument-type - :2168:33 - Argument to function `__new__` is incorrect: Expected `(int | slice[Any, Any, Any], /) -> Sequence[str]`, found `Overload[(index: int) -> str, (index: slice[Any, Any, Any]) -> Sequence[str]]`

ibis/common/dispatch.py

[error] unresolved-attribute - :117 -
Old: Unresolved attribute `dispatch` on type `_Wrapped[(...), Unknown, (arg, *args, **kwargs), Unknown]`.
New: Unresolved attribute `dispatch` on type `_Wrapped[(...), Unknown, (...), Unknown]`.
[error] unresolved-attribute - :118 -
Old: Unresolved attribute `register` on type `_Wrapped[(...), Unknown, (arg, *args, **kwargs), Unknown]`.
New: Unresolved attribute `register` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

ibis/examples/gen_registry.py

[error] invalid-return-type - :41 -
Old: Return type does not match returned value: expected `dict[str, str]`, found `GeneratorType[tuple[Unknown, Unknown], None, None]`
New: Return type does not match returned value: expected `dict[str, str]`, found `GeneratorType[tuple[str, str], None, None]`

ibis/expr/datatypes/core.py

[error] invalid-argument-type - :304:26 - Argument is incorrect: Expected `bool`, found `DataType | Unknown`
[error] invalid-argument-type - :307:24 - Argument is incorrect: Expected `bool`, found `DataType | Unknown`

ibis/expr/operations/udf.py

[error] invalid-assignment - :35:66 - Object of type `defaultdict[Unknown, count[int]]` is not assignable to `MutableMapping[type[Node], Iterable[int]]`

ibis/expr/types/relations.py

[error] missing-argument - :3793:16 - No argument provided for required parameter `right` of bound method `__call__`

ibis/selectors.py

[error] invalid-argument-type - :773:25 - Argument to function `__new__` is incorrect: Expected `(Sequence[str | int] | int | slice[Any, Any, Any], /) -> Column | Table | @Todo`, found `(Overload[(what: str | int) -> Column, (what: slice[Any, Any, Any] | Sequence[str | int]) -> Table]) | @Todo`

ibis/tests/expr/test_timestamp.py

[error] unresolved-attribute - :193:12 - Object of type `Node` has no attribute `start`
[error] unresolved-attribute - :194:12 - Object of type `Node` has no attribute `stop`
[error] unresolved-attribute - :195:12 - Object of type `Node` has no attribute `step`
[error] unresolved-attribute - :200:12 - Object of type `DataType` has no attribute `value_type`

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

isort/api.py

[error] invalid-argument-type - :636:50 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Iterator[str | Path]`

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

jax/_src/lax/control_flow/solves.py

[error] invalid-argument-type - :201:24 - Argument to function `safe_map` is incorrect: Expected `(_SupportsShape[Never] | int | float | ... omitted 9 union elements, /) -> tuple[Any, ...] | tuple[int] | tuple[int, int]`, found `Overload[(a: _SupportsShape[Never]) -> tuple[Any, ...], (a: _SupportsShape[_ShapeT@shape]) -> _ShapeT@shape, (a: int | float | complex | bytes | str) -> tuple[()], (a: list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]) -> tuple[int], (a: list[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]] | tuple[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...], ...]) -> tuple[int, int], (a: memoryview[int] | bytearray) -> tuple[int], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements) -> tuple[Any, ...]]`
[error] invalid-argument-type - :202:26 - Argument to function `safe_map` is incorrect: Expected `(_SupportsShape[Never] | int | float | ... omitted 9 union elements, /) -> tuple[Any, ...] | tuple[int] | tuple[int, int]`, found `Overload[(a: _SupportsShape[Never]) -> tuple[Any, ...], (a: _SupportsShape[_ShapeT@shape]) -> _ShapeT@shape, (a: int | float | complex | bytes | str) -> tuple[()], (a: list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]) -> tuple[int], (a: list[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]] | tuple[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...], ...]) -> tuple[int, int], (a: memoryview[int] | bytearray) -> tuple[int], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements) -> tuple[Any, ...]]`

jax/_src/numpy/vectorize.py

[error] invalid-argument-type - :145:22 - Argument to function `safe_map` is incorrect: Expected `(_SupportsShape[Never] | int | float | ... omitted 9 union elements, /) -> tuple[Any, ...] | tuple[int] | tuple[int, int]`, found `Overload[(a: _SupportsShape[Never]) -> tuple[Any, ...], (a: _SupportsShape[_ShapeT@shape]) -> _ShapeT@shape, (a: int | float | complex | bytes | str) -> tuple[()], (a: list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]) -> tuple[int], (a: list[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]] | tuple[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...], ...]) -> tuple[int, int], (a: memoryview[int] | bytearray) -> tuple[int], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements) -> tuple[Any, ...]]`

jax/_src/scipy/sparse/linalg.py

[error] invalid-argument-type - :189:14 - Argument to function `safe_map` is incorrect: Expected `(_SupportsShape[Never] | int | float | ... omitted 9 union elements, /) -> tuple[Any, ...] | tuple[int] | tuple[int, int]`, found `Overload[(a: _SupportsShape[Never]) -> tuple[Any, ...], (a: _SupportsShape[_ShapeT@shape]) -> _ShapeT@shape, (a: int | float | complex | bytes | str) -> tuple[()], (a: list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]) -> tuple[int], (a: list[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]] | tuple[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...], ...]) -> tuple[int, int], (a: memoryview[int] | bytearray) -> tuple[int], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements) -> tuple[Any, ...]]`

jax/experimental/ode.py

[error] too-many-positional-arguments - :182:37 - Too many positional arguments: expected 1, got 7

jax/experimental/roofline/rooflines.py

[error] invalid-assignment - :710:62 - Object of type `defaultdict[Unknown, float]` is not assignable to `dict[tuple[tuple[int, ...], ...], int | float]`

jax/_src/checkify.py

[error] invalid-argument-type - :242:16 - Argument to function `safe_map` is incorrect: Expected `(_SupportsShape[Never] | int | float | ... omitted 9 union elements, /) -> tuple[Any, ...] | tuple[int] | tuple[int, int]`, found `Overload[(a: _SupportsShape[Never]) -> tuple[Any, ...], (a: _SupportsShape[_ShapeT@shape]) -> _ShapeT@shape, (a: int | float | complex | bytes | str) -> tuple[()], (a: list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]) -> tuple[int], (a: list[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]] | tuple[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...], ...]) -> tuple[int, int], (a: memoryview[int] | bytearray) -> tuple[int], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements) -> tuple[Any, ...]]`
[error] invalid-argument-type - :1309:14 - Argument to function `safe_map` is incorrect: Expected `(_SupportsShape[Never] | int | float | ... omitted 9 union elements, /) -> tuple[Any, ...] | tuple[int] | tuple[int, int]`, found `Overload[(a: _SupportsShape[Never]) -> tuple[Any, ...], (a: _SupportsShape[_ShapeT@shape]) -> _ShapeT@shape, (a: int | float | complex | bytes | str) -> tuple[()], (a: list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]) -> tuple[int], (a: list[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...]] | tuple[list[int | float | complex | bytes | str] | tuple[int | float | complex | bytes | str, ...], ...]) -> tuple[int, int], (a: memoryview[int] | bytearray) -> tuple[int], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements) -> tuple[Any, ...]]`

jax/_src/clusters/k8s_cluster.py

[error] missing-argument - :130:10 - No argument provided for required parameter `cls`
[error] missing-argument - :140:10 - No argument provided for required parameter `cls`
[error] missing-argument - :148:10 - No argument provided for required parameter `cls`

jax/_src/core.py

[error] invalid-argument-type - :3853:25 - Argument to function `join` is incorrect: Expected `Sequence[Doc]`, found `list[Unknown | (Jaxpr & ~ClosedJaxpr)]`

jax/_src/debugging.py

[error] unsupported-operator - :732:7 - Operator `*` is not supported between objects of type `Unknown | str` and `float`
[error] unsupported-operator - :732:19 - Operator `*` is not supported between objects of type `Unknown | str` and `float`
[error] unsupported-operator - :732:31 - Operator `*` is not supported between objects of type `Unknown | str` and `float`

jax/_src/interpreters/mlir.py

[error] invalid-argument-type - :2126:9 - Argument to function `_emit_lowering_rule_as_fun` is incorrect: Expected `Sequence[AbstractValue]`, found `list[Unknown | Var]`

jax/_src/interpreters/partial_eval.py

[error] invalid-argument-type - :2448:13 - Argument to function `foreach` is incorrect: Expected `(Var, None | DynamicJaxprTracer, /) -> Any`, found `Overload[(key: Var, default: None = None, /) -> _T@setdefault | None, (key: Var, default: DynamicJaxprTracer, /) -> DynamicJaxprTracer]`

jax/_src/interpreters/pxla.py

[error] missing-argument - :1361:10 - No argument provided for required parameter `runner`
[error] invalid-argument-type - :1361:38 - Argument is incorrect: Expected `type[PGLEProfiler]`, found `Unknown | PGLEProfiler | None`

jax/_src/lax/lax.py

[error] non-subscriptable - :209:51 - Cannot subscript object of type `Sized` with no `__getitem__` method

jax/_src/pallas/fuser/block_spec.py

[error] invalid-return-type - :2094:10 - Return type does not match returned value: expected `tuple[BlockSpec, ...]`, found `tuple[Unknown | BlockSpec | NoBlockSpec, ...]`
[error] invalid-argument-type - :2162:5 - Argument is incorrect: Expected `PushBlockSpecRuleFn`, found `partial[Sequence[BlockSpec]]`
[error] invalid-argument-type - :1381 -
Old: Argument to function `__new__` is incorrect: Expected `(Element | Squeezed | Blocked | ... omitted 3 union elements, /) -> Unknown`, found `def _block_size(dim: Element | int | None) -> int | None`
New: Argument to function `__new__` is incorrect: Expected `(Element | int | None | ... omitted 3 union elements, /) -> int | None`, found `def _block_size(dim: Element | int | None) -> int | None`
[error] invalid-argument-type - :1381 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Element | Squeezed | Blocked | ... omitted 3 union elements]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Element | int | None | ... omitted 3 union elements]`, found `Sequence[Element | Squeezed | Blocked | ... omitted 3 union elements] | None`

jax/_src/pallas/hlo_interpreter.py

[error] no-matching-overload - :305:38 - No overload of function `safe_zip` matches arguments

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

[warning] unused-ignore-comment - :2194:60 - Unused blanket `type: ignore` directive
[error] invalid-assignment - :487 -
Old: Object of type `tuple[Unknown, ...]` is not assignable to `Array`
New: Object of type `tuple[int, ...]` is not assignable to `Array`

jax/_src/pallas/mosaic/lowering.py

[error] no-matching-overload - :2167:37 - No overload of bound method `join` matches arguments
[error] invalid-argument-type - :4100 -
Old: Argument to function `safe_map` is incorrect: Expected `(ShapedAbstractValue, /) -> Unknown`, found `Overload[(aval: ShapedArray) -> ShapedArray, (aval: AbstractValue) -> AbstractValue]`
New: Argument to function `safe_map` is incorrect: Expected `(AbstractValue | ShapedAbstractValue, /) -> AbstractValue | ShapedAbstractValue`, found `Overload[(aval: ShapedArray) -> ShapedArray, (aval: AbstractValue) -> AbstractValue]`

jax/_src/pallas/mosaic/pipeline.py

[error] invalid-argument-type - :1325:54 - Argument to function `__new__` is incorrect: Expected `Iterable[int]`, found `Unknown | tuple[int | Array, ...]`

jax/_src/pallas/mosaic_gpu/lowering.py

[error] invalid-argument-type - :3167 -
Old: Argument to function `safe_map` is incorrect: Expected `(Unknown, ShapedAbstractValue, /) -> Unknown`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
New: Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown | dtype[Any] | ShapedAbstractValue`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
[error] invalid-argument-type - :3190 -
Old: Argument to function `safe_map` is incorrect: Expected `(Unknown, ShapedAbstractValue, /) -> Unknown`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
New: Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown | dtype[Any] | ShapedAbstractValue`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`

jax/_src/pallas/mosaic_gpu/primitives.py

[error] invalid-argument-type - :3368:7 - Argument to function `unzip2` is incorrect: Expected `Iterable[tuple[Unknown, Unknown]]`, found `map[Unknown | AbstractRef | TransformedRef]`

jax/_src/pallas/pipelining/schedulers.py

[error] invalid-return-type - :240:10 - Return type does not match returned value: expected `builtins.bool | Array`, found `Array | ndarray[tuple[Any, ...], dtype[Any]] | numpy.bool[builtins.bool] | ... omitted 6 union elements`
[error] invalid-return-type - :302:10 - Return type does not match returned value: expected `builtins.bool | Array`, found `Array | ndarray[tuple[Any, ...], dtype[Any]] | numpy.bool[builtins.bool] | ... omitted 6 union elements`
[error] invalid-argument-type - :239:33 - Argument to function `reduce` is incorrect: Expected `(Literal[True], Unknown, /) -> Literal[True]`, found `BinaryUfunc | (def and_(a: Any, b: Any, /) -> Any)`
[error] invalid-argument-type - :301:39 - Argument to function `reduce` is incorrect: Expected `(Literal[True], Unknown, /) -> Literal[True]`, found `BinaryUfunc | (def and_(a: Any, b: Any, /) -> Any)`

jax/_src/profiler.py

[error] unresolved-attribute - :159:17 - Object of type `int | str | bytes | PathLike[str] | PathLike[bytes]` has no attribute `glob`
[error] unsupported-operator - :173:20 - Operator `/` is not supported between objects of type `int | str | bytes | PathLike[str] | PathLike[bytes]` and `Literal["perfetto_trace.json.gz"]`

jax/_src/scipy/linalg.py

[error] not-iterable - :1780:31 - Object of type `JitWrapped` is not iterable
[error] unknown-argument - :1780:46 - Argument `is_hermitian` does not match any known parameter
[error] unknown-argument - :1780:66 - Argument `eps` does not match any known parameter
[error] not-iterable - :1783:31 - Object of type `JitWrapped` is not iterable
[error] unknown-argument - :1783:46 - Argument `is_hermitian` does not match any known parameter
[error] unknown-argument - :1783:66 - Argument `eps` does not match any known parameter

jax/_src/scipy/ndimage.py

[error] invalid-argument-type - :180:27 - Argument is incorrect: Expected `(...) -> Unknown`, found `Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 5 union elements`
[error] too-many-positional-arguments - :180:34 - Too many positional arguments: expected 1, got 5

jax/_src/shard_map.py

[error] invalid-argument-type - :1383:29 - Argument to function `unzip2` is incorrect: Expected `Iterable[tuple[Unknown, Unknown]]`, found `list[Unknown | BatchTracer]`

jax/_src/test_multiprocess.py

[error] invalid-argument-type - :166 -
Old: Argument to function `initialize` is incorrect: Expected `int | Sequence[int] | None`, found `(Unknown & None) | map[Unknown]`
New: Argument to function `initialize` is incorrect: Expected `int | Sequence[int] | None`, found `(Unknown & None) | map[int]`

jax/_src/tpu/linalg/eigh.py

[error] not-iterable - :226:16 - Object of type `JitWrapped` is not iterable
[error] unknown-argument - :226:35 - Argument `is_hermitian` does not match any known parameter
[error] unknown-argument - :226:54 - Argument `dynamic_shape` does not match any known parameter

jax/_src/tpu/linalg/svd.py

[error] not-iterable - :79:18 - Object of type `JitWrapped` is not iterable
[error] unknown-argument - :80:10 - Argument `is_hermitian` does not match any known parameter
[error] unknown-argument - :80:34 - Argument `max_iterations` does not match any known parameter
[error] invalid-argument-type - :223:11 - Argument is incorrect: Expected `(...) -> Unknown`, found `Any | Array`
[error] too-many-positional-arguments - :223:14 - Too many positional arguments: expected 1, got 5
[error] not-iterable - :227:27 - Object of type `JitWrapped` is not iterable
[error] invalid-argument-type - :228:9 - Argument is incorrect: Expected `(...) -> Unknown`, found `Any | Array`
[error] too-many-positional-arguments - :228:12 - Too many positional arguments: expected 1, got 5
[error] not-iterable - :270:16 - Object of type `JitWrapped` is not iterable

jax/_src/tree_util.py

[error] invalid-argument-type - :295:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`
[error] invalid-argument-type - :298:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`
[error] invalid-argument-type - :301:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`
[error] invalid-argument-type - :438:29 - Argument to function `reduce` is incorrect: Expected `(T@tree_reduce & ~Unspecified, Unknown, /) -> T@tree_reduce & ~Unspecified`, found `(T@tree_reduce, Any, /) -> T@tree_reduce`

jax/collect_profile.py

[warning] possibly-missing-attribute - :103:17 - Attribute `glob` may be missing on object of type `PathLike[str] | Unknown | int | ... omitted 3 union elements`
[error] unsupported-operator - :106:22 - Operator `/` is not supported between objects of type `PathLike[str] | Unknown | int | ... omitted 3 union elements` and `Literal["remote.trace.json.gz"]`

jax/experimental/array_serialization/serialization_test.py

[error] invalid-argument-type - :317:30 - Argument to bound method `submit` is incorrect: Expected `int`, found `float`

jax/experimental/jax2tf/tests/sharding_test.py

[error] invalid-argument-type - :509:23 - Argument is incorrect: Expected `(...) -> Unknown`, found `ndarray[tuple[int, int], dtype[Unknown]]`
[error] invalid-argument-type - :535:23 - Argument is incorrect: Expected `(...) -> Unknown`, found `ndarray[tuple[int, int], dtype[signedinteger[Any]]]`
[error] invalid-argument-type - :587:23 - Argument is incorrect: Expected `(...) -> Unknown`, found `ndarray[tuple[int, int], dtype[Unknown]]`

jax/experimental/mosaic/gpu/constraints.py

[error] invalid-argument-type - :732:17 - Argument to function `find` is incorrect: Expected `Variable`, found `Variable | Buffer`
[error] invalid-argument-type - :733:44 - Argument to bound method `append` is incorrect: Expected `Variable`, found `Variable | Buffer`

jax/experimental/pallas/ops/gpu/attention_mgpu.py

[error] invalid-argument-type - :868:41 - Argument is incorrect: Expected `(...) -> Unknown`, found `Array`
[error] too-many-positional-arguments - :868:44 - Too many positional arguments: expected 1, got 3
[error] unknown-argument - :868:50 - Argument `causal` does not match any known parameter
[error] no-matching-overload - :869:11 - No overload of function `assert_allclose` matches arguments

jax/experimental/pallas/ops/tpu/flash_attention.py

[error] not-iterable - :1687:21 - Object of type `JitWrapped` is not iterable
[error] too-many-positional-arguments - :1689:7 - Too many positional arguments: expected 1, got 9
[error] unknown-argument - :1697:7 - Argument `causal` does not match any known parameter
[error] unknown-argument - :1698:7 - Argument `mask_value` does not match any known parameter
[error] unknown-argument - :1699:7 - Argument `sm_scale` does not match any known parameter

jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py

[warning] possibly-missing-attribute - :799:14 - Attribute `max` may be missing on object of type `Array | tuple[Array, Array, Array, Array]`
[error] unsupported-operator - :810:22 - Operator `-` is not supported between objects of type `Array | tuple[Array, Array, Array, Array]` and `Array`
[error] invalid-return-type - :2445:12 - Return type does not match returned value: expected `Array | tuple[Array, tuple[Array]]`, found `Unknown | JitWrapped`
[error] invalid-argument-type - :2446:9 - Argument is incorrect: Expected `(...) -> Unknown`, found `Unknown | MaskInfo`
[error] too-many-positional-arguments - :2447:9 - Too many positional arguments: expected 1, got 3

jax/experimental/slab/djax.py

[error] not-iterable - :83:23 - Object of type `JitWrapped` is not iterable
[error] too-many-positional-arguments - :84:17 - Too many positional arguments: expected 1, got 4
[warning] possibly-missing-attribute - :172:18 - Attribute `shape` may be missing on object of type `Unknown | int`

jax/experimental/slab/slab.py

[warning] possibly-missing-attribute - :337:18 - Attribute `shape` may be missing on object of type `Unknown | int`

jax/experimental/sparse/linalg.py

[error] invalid-argument-type - :103:36 - Argument is incorrect: Expected `(...) -> Unknown`, found `Array | (((Array, /) -> Array) & ndarray[tuple[object, ...], dtype[object]])`
[error] too-many-positional-arguments - :103:39 - Too many positional arguments: expected 1, got 4
[error] unknown-argument - :103:50 - Argument `debug` does not match any known parameter
[error] too-many-positional-arguments - :104:39 - Too many positional arguments: expected 1, got 4
[error] unknown-argument - :104:50 - Argument `debug` does not match any known parameter
[error] too-many-positional-arguments - :115:34 - Too many positional arguments: expected 1, got 5

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

src/jinja2/environment.py

[error] invalid-return-type - :1496:20 - Return type does not match returned value: expected `list[tuple[int, int]]`, found `list[tuple[int, ...] | Unknown]`

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

koda_validate/signature.py

[error] invalid-argument-type - :217:50 - Argument to bound method `append` is incorrect: Expected `tuple[Any, Invalid]`, found `tuple[Any, Valid[Any] | Invalid]`
[warning] possibly-missing-attribute - :219:42 - Attribute `val` may be missing on object of type `Valid[Any] | Invalid`
[error] invalid-assignment - :241:25 - Invalid subscript assignment with key of type `str` and value of type `Valid[Any] | Invalid` on object of type `dict[str, Invalid]`
[warning] possibly-missing-attribute - :243:46 - Attribute `val` may be missing on object of type `Valid[Any] | Invalid`
[error] invalid-argument-type - :252:46 - Argument to bound method `__init__` is incorrect: Expected `Invalid`, found `Valid[Any] | Invalid`
[error] invalid-argument-type - :284:50 - Argument to bound method `append` is incorrect: Expected `tuple[Any, Invalid]`, found `tuple[Any, Valid[Any] | Invalid]`
[warning] possibly-missing-attribute - :286:42 - Attribute `val` may be missing on object of type `Valid[Any] | Invalid`

manticore (https://github.com/trailofbits/manticore)

manticore/native/cpu/abstractcpu.py

[error] unresolved-attribute - :1206 -
Old: Unresolved attribute `old_method` on type `_Wrapped[(...), Unknown, (cpu, *args, **kw_args), Unknown]`.
New: Unresolved attribute `old_method` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

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

misc/python/materialize/mzexplore/extract.py

[error] invalid-argument-type - :468:40 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `list[ExplainOption] & ~AlwaysFalsy`

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

docs/refman/generatorbase.py

[error] invalid-return-type - :34:16 - Return type does not match returned value: expected `list[_N@sorted_and_filtered]`, found `list[NamedObject]`

docs/refman/loaderbase.py

[error] invalid-assignment - :128:9 - Object of type `list[PosArg] | ArgBase` is not assignable to attribute `posargs` of type `list[PosArg]`
[error] invalid-assignment - :129:9 - Object of type `list[PosArg] | ArgBase` is not assignable to attribute `optargs` of type `list[PosArg]`
[error] invalid-assignment - :130:9 - Object of type `ArgBase | list[PosArg]` is not assignable to attribute `varargs` of type `VarArgs | None`
[error] invalid-argument-type - :130:62 - Argument to function `resolve_inherit` is incorrect: Expected `ArgBase | list[PosArg]`, found `VarArgs | None`

mesonbuild/compilers/compilers.py

[error] invalid-argument-type - :696:50 - Argument to function `Popen_safe` is incorrect: Expected `list[str]`, found `Unknown | list[Unknown | str | None]`
[error] invalid-argument-type - :1379:60 - Argument to function `from_absolute_file` is incorrect: Expected `str`, found `str | None`

mesonbuild/compilers/mixins/clike.py

[error] invalid-argument-type - :906:35 - Argument to function `isfile` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | None`
[error] no-matching-overload - :908:18 - No overload of function `open` matches arguments
[error] invalid-return-type - :674 -
Old: Return type does not match returned value: expected `tuple[str, bool]`, found `tuple[None | str, Unknown]`
New: Return type does not match returned value: expected `tuple[str, bool]`, found `tuple[None | str, bool]`

mesonbuild/compilers/vala.py

[error] invalid-argument-type - :206:60 - Argument to function `from_absolute_file` is incorrect: Expected `str`, found `str | None`

mesonbuild/interpreter/type_checking.py

[error] invalid-assignment - :178:63 - Object of type `KwargInfo[list[str | int] | None]` is not assignable to `KwargInfo[list[str | int]]`
[error] invalid-assignment - :481 -
Old: Object of type `KwargInfo[dict[str, str] | str]` is not assignable to `KwargInfo[dict[str, str]]`
New: Object of type `KwargInfo[dict[str, str] | str | list[str]]` is not assignable to `KwargInfo[dict[str, str]]`

mesonbuild/linkers/linkers.py

[error] invalid-return-type - :609:12 - Return type does not match returned value: expected `list[str]`, found `list[str | bytes | PathLike[str] | PathLike[bytes]]`

unittests/internaltests.py

[error] invalid-argument-type - :1604 -
Old: Argument to function `contextmanager` is incorrect: Expected `(value: str) -> Iterator[Unknown]`, found `def mock_trial(value: str) -> Iterable[None]`
New: Argument to function `contextmanager` is incorrect: Expected `(...) -> Iterator[Unknown]`, found `def mock_trial(value: str) -> Iterable[None]`
[error] invalid-argument-type - :1668 -
Old: Argument to function `contextmanager` is incorrect: Expected `(value: str) -> Iterator[Unknown]`, found `def mock_trial(value: str) -> Iterable[None]`
New: Argument to function `contextmanager` is incorrect: Expected `(...) -> Iterator[Unknown]`, found `def mock_trial(value: str) -> Iterable[None]`

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

mitmproxy/addons/save.py

[error] invalid-argument-type - :101:45 - Argument to bound method `__init__` is incorrect: Expected `BinaryIO`, found `IO[Any]`

mitmproxy/dns.py

[error] invalid-argument-type - :303:17 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `chain[Question | ResourceRecord]`

mitmproxy/proxy/mode_specs.py

[error] invalid-assignment - :217:17 - Property `address` defined in `Self@__post_init__` is read-only
[error] invalid-assignment - :235:9 - Property `scheme` defined in `Self@__post_init__` is read-only
[error] invalid-assignment - :235:22 - Property `address` defined in `Self@__post_init__` is read-only

test/mitmproxy/addons/test_clientplayback.py

[error] invalid-argument-type - :18 -
Old: Argument to function `asynccontextmanager` is incorrect: Expected `(handle_conn, **server_args) -> AsyncIterator[Unknown]`, found `def tcp_server(handle_conn, **server_args) -> tuple[str, int]`
New: Argument to function `asynccontextmanager` is incorrect: Expected `(...) -> AsyncIterator[Unknown]`, found `def tcp_server(handle_conn, **server_args) -> tuple[str, int]`

test/mitmproxy/addons/test_next_layer.py

[error] invalid-argument-type - :492 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[HttpLayer] | partial[HttpStream]]`
[error] invalid-argument-type - :524 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[HttpLayer] | partial[HttpStream]]`
[error] invalid-argument-type - :536 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[HttpLayer] | partial[HttpStream]]`
[error] invalid-argument-type - :554 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[HttpLayer] | partial[HttpStream]]`
[error] invalid-argument-type - :575 -
Old: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[Unknown]]`
New: Argument is incorrect: Expected `list[type[Layer]]`, found `list[type[Layer] | partial[HttpLayer] | partial[HttpStream]]`

test/mitmproxy/addons/test_proxyserver.py

[error] unresolved-attribute - :491:9 - Object of type `BaseProtocol` has no attribute `close`
[error] invalid-argument-type - :337 -
Old: Argument to function `asynccontextmanager` is incorrect: Expected `(handle_datagram: (DatagramTransport, bytes, tuple[str, int], /) -> None) -> AsyncIterator[Unknown]`, found `def udp_server(handle_datagram: (DatagramTransport, bytes, tuple[str, int], /) -> None) -> tuple[str, int]`
New: Argument to function `asynccontextmanager` is incorrect: Expected `(...) -> AsyncIterator[Unknown]`, found `def udp_server(handle_datagram: (DatagramTransport, bytes, tuple[str, int], /) -> None) -> tuple[str, int]`

test/mitmproxy/tools/console/test_quickhelp.py

[error] invalid-argument-type - :63:19 - Argument to bound method `unbind` is incorrect: Expected `Binding`, found `Binding | None`

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

mkdocs/config/config_options.py

[error] invalid-assignment - :692 -
Old: Object of type `staticmethod[(path: int | str | bytes | PathLike[str] | PathLike[bytes]), Unknown]` is not assignable to `(str, /) -> bool`
New: Object of type `staticmethod[(path: int | str | bytes | PathLike[str] | PathLike[bytes]), bool]` is not assignable to `(str, /) -> bool`

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

pymongo/common.py

[error] invalid-argument-type - :1165:34 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Self@__str__`

pymongo/asynchronous/auth.py

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

pymongo/pool_shared.py

[error] invalid-argument-type - :315:13 - Argument to bound method `__init__` is incorrect: Expected `tuple[Transport, PyMongoProtocol]`, found `tuple[Transport, BaseProtocol]`

pymongo/synchronous/auth.py

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

pymongo/synchronous/database.py

[error] invalid-assignment - :1019:35 - Object of type `(ClientSession & ~AlwaysTruthy & ~AlwaysFalsy) | (_ServerMode & ~AlwaysFalsy) | Unknown | Primary` is not assignable to `_ServerMode | None`
[error] invalid-argument-type - :1022:47 - Argument to bound method `_conn_for_reads` is incorrect: Expected `_ServerMode`, found `_ServerMode | None`

more-itertools (https://github.com/more-itertools/more-itertools)

more_itertools/more.py

[error] invalid-argument-type - :1057:33 - Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `repeat[tuple[Unknown, ...]]`

more_itertools/recipes.py

[error] invalid-argument-type - :826:25 - Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `repeat[list[Unknown]]`
[error] invalid-argument-type - :1106:18 - Argument to function `__new__` is incorrect: Expected `(int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], /) -> int | float | complex | ... omitted 3 union elements`, found `Overload[(base: int, exp: int, mod: int) -> int, (base: int, exp: Literal[0], mod: None = None) -> Literal[1], (base: int, exp: Literal[1, 2, 3, 4, 5, ... omitted 20 literals], mod: None = None) -> int, (base: int, exp: Literal[-1, -2, -3, -4, -5, ... omitted 15 literals], mod: None = None) -> int | float, (base: int, exp: int, mod: None = None) -> Any, (base: Literal[1, 2, 3, 4, 5, ... omitted 20 literals], exp: int | float, mod: None = None) -> int | float, (base: Literal[-1, -2, -3, -4, -5, ... omitted 15 literals], exp: int | float, mod: None = None) -> int | float | complex, (base: int | float, exp: int, mod: None = None) -> int | float, (base: int | float, exp: int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], mod: None = None) -> Any, (base: int | float | complex, exp: int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], mod: None = None) -> int | float | complex, (base: _SupportsPow2[_E_contra@pow, _T_co@pow], exp: _E_contra@pow, mod: None = None) -> _T_co@pow, (base: _SupportsPow3NoneOnly[_E_contra@pow, _T_co@pow], exp: _E_contra@pow, mod: None = None) -> _T_co@pow, (base: _SupportsPow3[_E_contra@pow, _M_contra@pow, _T_co@pow], exp: _E_contra@pow, mod: _M_contra@pow) -> _T_co@pow, (base: _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], exp: int | float, mod: None = None) -> Any, (base: _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], exp: int | float | complex, mod: None = None) -> int | float | complex]`

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

mypyc/irbuild/function.py

[error] invalid-argument-type - :895:45 - Argument to bound method `load_module` is incorrect: Expected `str`, found `Sized & ~AlwaysFalsy`

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

mypy_primer/model.py

[error] invalid-argument-type - :189:40 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Generator[Path, None, None]`

nox (https://github.com/wntrblm/nox)

nox/_option_set.py

[error] invalid-assignment - :63:66 - Object of type `dataclasses.Field[Unknown | str | None]` is not assignable to `None | Literal["auto", "never", "always"]`

nox/registry.py

[error] invalid-return-type - :91:16 - Return type does not match returned value: expected `Func | ((((...) -> Any) | Func, /) -> Func)`, found `partial[Func | ((((...) -> Any) | Func, /) -> Func)]`

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

openlibrary/utils/ddc.py

[error] invalid-return-type - :174:12 - Return type does not match returned value: expected `str`, found `Sized`

openlibrary/api.py

[error] invalid-argument-type - :282:34 - Argument to function `__new__` is incorrect: Expected `tzinfo | None`, found `int`

openlibrary/catalog/utils/__init__.py

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

openlibrary/i18n/__init__.py

[error] unresolved-attribute - :188:12 - Object of type `PurePath` has no attribute `is_file`

openlibrary/plugins/openlibrary/home.py

[error] missing-argument - :72:9 - No argument provided for required parameter `devmode` of bound method `__call__`

openlibrary/plugins/upstream/merge_authors.py

[warning] possibly-missing-attribute - :194:63 - Attribute `values` may be missing on object of type `Unknown | str | dict[Unknown, Unknown]`

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

optuna/storages/_rdb/alembic/versions/v2.4.0.a.py

[error] invalid-argument-type - :181:42 - Argument to bound method `drop_constraint` is incorrect: Expected `str`, found `str | None`

tests/samplers_tests/tpe_tests/test_multi_objective_sampler.py

[error] unresolved-attribute - :44:9 - Unresolved attribute `return_value` on type `CallableMixin`.
[error] unresolved-attribute - :45:9 - Unresolved attribute `return_value` on type `CallableMixin`.
[error] unresolved-attribute - :113:13 - Unresolved attribute `return_value` on type `CallableMixin`.
[error] unresolved-attribute - :114:13 - Unresolved attribute `return_value` on type `CallableMixin`.

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

paasta_tools/setup_prometheus_adapter_config.py

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

paasta_tools/utils.py

[error] unresolved-attribute - :2926:20 - Object of type `str` has no attribute `decode`

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

pandas/tests/io/parser/test_multi_thread.py

[warning] possibly-missing-attribute - :120:14 - Attribute `columns` may be missing on object of type `Unknown | tuple[Unknown, Unknown]`
[error] invalid-assignment - :123:9 - Object of type `Unknown` is not assignable to attribute `columns` on type `Unknown | tuple[Unknown, Unknown]`

pandas/tests/io/pytables/test_select.py

[error] invalid-argument-type - :479:43 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`
[error] invalid-argument-type - :485:56 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`
[error] invalid-argument-type - :491:56 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`
[error] invalid-argument-type - :497:56 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`
[error] invalid-argument-type - :522:56 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`
[error] invalid-argument-type - :529:56 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`
[error] invalid-argument-type - :536:56 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`
[error] invalid-argument-type - :555:56 - Argument to bound method `select` is incorrect: Expected `int | None`, found `float`

pandas/core/computation/ops.py

[error] invalid-argument-type - :549:29 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Unknown | Iterable[Term | Op]`

pandas/core/methods/describe.py

[error] not-iterable - :214:21 - Object of type `Unknown | Sized` may not be iterable

pandas/io/formats/format.py

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

pandas/io/json/_json.py

[error] no-matching-overload - :813:16 - No overload of bound method `read` matches arguments
[error] invalid-argument-type - :789:19 - Argument to bound method `__init__` is incorrect: Expected `JsonReader[FrameSeriesStrT@JsonReader]`, found `JsonReader[str]`

pandas/tests/arithmetic/test_datetime64.py

[error] invalid-argument-type - :2232 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, Unknown | str, /) -> Unknown`, found `<class 'timedelta64'>`
New: Argument to function `__new__` is incorrect: Expected `(str | bytes | None | ... omitted 7 union elements, str | Literal[b"Y", b"M", b"W", b"D", b"h", ... omitted 8 literals] | tuple[Literal["Y", "M", "W", "D", "h", ... omitted 22 literals], SupportsIndex] | Unknown, /) -> timedelta64[None] | timedelta64[int] | timedelta64[timedelta]`, found `<class 'timedelta64'>`

pandas/tests/config/test_localization.py

[warning] possibly-missing-attribute - :137:33 - Attribute `split` may be missing on object of type `str | tuple[str, str]`

pandas/tests/frame/methods/test_astype.py

[error] invalid-argument-type - :165:36 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `map[Timestamp | NaTType]`

pandas/tests/groupby/aggregate/test_aggregate.py

[error] unresolved-attribute - :815 -
Old: Unresolved attribute `__name__` on type `partial[Unknown]`.
New: Unresolved attribute `__name__` on type `partial[floating[Any] | complexfloating[Any, Any] | timedelta64[timedelta | int | None] | ... omitted 7 union elements]`.
[error] unresolved-attribute - :816 -
Old: Unresolved attribute `__name__` on type `partial[Unknown]`.
New: Unresolved attribute `__name__` on type `partial[floating[Any] | complexfloating[Any, Any] | timedelta64[timedelta | int | None] | ... omitted 7 union elements]`.

pandas/tests/io/json/test_readlines.py

[error] invalid-context-manager - :244:10 - Object of type `JsonReader[str]` cannot be used with `with` because it does not correctly implement `__enter__` or `__exit__`
[error] no-matching-overload - :245:9 - No overload of bound method `read` matches arguments
[error] invalid-argument-type - :228:14 - Argument to bound method `__init__` is incorrect: Expected `JsonReader[FrameSeriesStrT@JsonReader]`, found `JsonReader[str]`

pandas/tests/io/pytables/test_store.py

[warning] possibly-missing-attribute - :150:9 - Attribute `create_group` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - :150:36 - Attribute `root` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - :233:9 - Attribute `_v_attrs` may be missing on object of type `Unknown | None`
[error] invalid-argument-type - :277:39 - Argument to bound method `put` is incorrect: Expected `DataFrame | Series`, found `Unknown | DataFrame | Series | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - :278:39 - Argument to bound method `put` is incorrect: Expected `DataFrame | Series`, found `Unknown | DataFrame | Series | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - :279:40 - Argument to bound method `put` is incorrect: Expected `DataFrame | Series`, found `Unknown | DataFrame | Series | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - :280:39 - Argument to bound method `put` is incorrect: Expected `DataFrame | Series`, found `Unknown | DataFrame | Series | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - :281:52 - Argument to bound method `put` is incorrect: Expected `DataFrame | Series`, found `Unknown | DataFrame | Series | ndarray[tuple[Any, ...], dtype[Any]]`
[warning] possibly-missing-attribute - :283:9 - Attribute `create_array` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - :284:9 - Attribute `create_table` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - :285:9 - Attribute `create_table` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - :410:28 - Attribute `table` may be missing on object of type `GenericFixed | Table`
[warning] possibly-missing-attribute - :445:28 - Attribute `table` may be missing on object of type `GenericFixed | Table`

pandas/tests/io/test_stata.py

[warning] possibly-missing-attribute - :1981:20 - Attribute `args` may be missing on object of type `Warning | str`

pandas/util/_decorators.py

[warning] unused-ignore-comment - :101:21 - Unused blanket `type: ignore` directive

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

tests/test_testing.py

[error] type-assertion-failure - :63:15 - Type `str` does not match asserted type `Unknown`

tests/frame/test_frame.py

[error] type-assertion-failure - :1701:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :2086:11 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2088:11 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2093:11 - Type `Styler` does not match asserted type `Unknown`
[error] type-assertion-failure - :2098:11 - Type `str` does not match asserted type `Unknown`
[error] type-assertion-failure - :2112:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2174:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :1145 -
Old: Type `Series[str]` does not match asserted type `Series[Unknown]`
New: Type `Series[str]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1155 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1158 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1170 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1193 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1213 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1225 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1252 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1335 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1340 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1347 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1352 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1359 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`

tests/frame/test_groupby.py

[error] type-assertion-failure - :228:15 - Type `Series[Any]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :624:15 - Type `Series[Any]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`

tests/series/test_series.py

[error] type-assertion-failure - :1138:9 - Type `Series[int | float]` does not match asserted type `Series[Unknown]`
[error] type-assertion-failure - :3247:9 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :3315:9 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1120 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1146 -
Old: Type `Series[int | float]` does not match asserted type `Series[Unknown]`
New: Type `Series[int | float]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1184 -
Old: Type `Series[int | float]` does not match asserted type `Series[Unknown]`
New: Type `Series[int | float]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1189 -
Old: Type `Series[int | float]` does not match asserted type `Series[Unknown]`
New: Type `Series[int | float]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1194 -
Old: Type `Series[int | float]` does not match asserted type `Series[Unknown]`
New: Type `Series[int | float]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :1215 -
Old: Type `Series[int]` does not match asserted type `Series[Unknown]`
New: Type `Series[int]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :3500 -
Old: Type `Series[str]` does not match asserted type `Series[Unknown]`
New: Type `Series[str]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :3529 -
Old: Type `Series[str]` does not match asserted type `Series[Unknown]`
New: Type `Series[str]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`

tests/test_api_typing.py

[error] type-assertion-failure - :156:15 - Type `None` does not match asserted type `Unknown`

tests/test_groupby.py

[error] type-assertion-failure - :439:11 - Type `Series[Any]` does not match asserted type `Series[(str & Any) | (bytes & Any) | (int & Any) | ... omitted 12 union elements]`
[error] type-assertion-failure - :286:15 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :292:15 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :298:15 - Type `int | float` does not match asserted type `Unknown`
[error] type-assertion-failure - :433:11 - Type `int | float` does not match asserted type `Unknown`

tests/test_io.py

[error] type-assertion-failure - :73:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :98:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :109:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :444:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :471:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :521:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :531:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :539:13 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :562:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :584:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :786:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :893:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :956:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1228:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1408:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1420:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1421:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1423:13 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1425:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1530:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1540:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1566:19 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1611:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :1619:15 - Type `None` does not match asserted type `Unknown`

tests/test_pandas.py

[error] no-matching-overload - :253:13 - No overload of function `concat` matches arguments

tests/test_resampler.py

[error] type-assertion-failure - :401:11 - Type `Series[Any]` does not match asserted type `Series[(str & Any) | (bytes & Any) | (int & Any) | ... omitted 12 union elements]`
[error] type-assertion-failure - :175:11 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :181:11 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :187:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :193:11 - Type `int | float` does not match asserted type `Unknown`
[error] type-assertion-failure - :208:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :267:11 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :382:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :388:11 - Type `int | float` does not match asserted type `Unknown`
[error] type-assertion-failure - :394:11 - Type `DataFrame` does not match asserted type `Unknown`

tests/test_styler.py

[error] type-assertion-failure - :154:11 - Type `Styler` does not match asserted type `Unknown`
[error] type-assertion-failure - :210:15 - Type `None` does not match asserted type `Unknown`
[error] type-assertion-failure - :216:15 - Type `None` does not match asserted type `Unknown`

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

pandera/api/dataframe/model.py

[error] no-matching-overload - :511:28 - No overload of function `__new__` matches arguments

pandera/api/pyspark/model.py

[error] no-matching-overload - :521:24 - No overload of function `__new__` matches arguments

pandera/engines/engine.py

[error] invalid-argument-type - :112 -
Old: Argument is incorrect: Expected `Dispatch`, found `_SingleDispatchCallable[Unknown]`
New: Argument is incorrect: Expected `Dispatch`, found `_SingleDispatchCallable[DataType]`

tests/mypy/pandas_modules/pandas_dataframe.py

[error] no-matching-overload - :35:12 - No overload of bound method `pipe` matches arguments
[error] invalid-return-type - :35:12 - Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[SchemaOut] | DataFrame[AnotherSchema]`

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

src/pip/_internal/operations/check.py

[error] no-matching-overload - :99:37 - No overload of function `sorted` matches arguments
[error] no-matching-overload - :101:41 - No overload of function `sorted` matches arguments

src/pip/_internal/req/req_uninstall.py

[error] unresolved-attribute - :101:13 - Object of type `Sized` has no attribute `startswith`
[error] non-subscriptable - :102:17 - Cannot subscript object of type `Sized` with no `__getitem__` method
[error] invalid-argument-type - :106:29 - Argument to bound method `add` is incorrect: Expected `str`, found `Sized`
[error] no-matching-overload - :125:16 - No overload of function `normcase` matches arguments
[error] invalid-argument-type - :132:42 - Argument to function `norm_join` is incorrect: Expected `str`, found `Sized | Unknown`
[error] invalid-argument-type - :133:40 - Argument to function `norm_join` is incorrect: Expected `str`, found `Sized | Unknown`
[error] unsupported-operator - :139:27 - Operator `+` is not supported between objects of type `Sized | Unknown` and `LiteralString`

src/pip/_vendor/rich/text.py

[error] invalid-return-type - :1285:16 - Return type does not match returned value: expected `int`, found `(SupportsIndex & ~AlwaysFalsy) | (Unknown & ~AlwaysFalsy)`

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

src/poetry/inspection/info.py

[error] invalid-assignment - :466 -
Old: Object of type `Literal["directory"]` is not assignable to attribute `_source_type` on type `PackageInfo | None | Unknown`
New: Object of type `Literal["directory"]` is not assignable to attribute `_source_type` on type `PackageInfo | None`
[error] invalid-assignment - :467 -
Old: Object of type `str` is not assignable to attribute `_source_url` on type `PackageInfo | None | Unknown`
New: Object of type `str` is not assignable to attribute `_source_url` on type `PackageInfo | None`
[error] invalid-return-type - :469 -
Old: Return type does not match returned value: expected `PackageInfo`, found `PackageInfo | None | Unknown`
New: Return type does not match returned value: expected `PackageInfo`, found `PackageInfo | None`

tests/utils/env/test_env.py

[warning] unused-ignore-comment - :518:34 - Unused blanket `type: ignore` directive

tests/utils/test_password_manager.py

[error] unresolved-attribute - :325:5 - Object of type `bound method PoetryKeyring.get_password(name: str, username: str) -> str | None` has no attribute `assert_not_called`
[error] unresolved-attribute - :343:5 - Object of type `bound method PoetryKeyring.get_password(name: str, username: str) -> str | None` has no attribute `assert_not_called`

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

porcupine/pluginmanager.py

[error] invalid-argument-type - :132:49 - Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `Unknown | str`

ppb-vector (https://github.com/ppb/ppb-vector)

ppb_vector/__init__.py

[error] invalid-argument-type - :468:13 - Argument to function `max` is incorrect: Argument type `Unknown | Vector | Sequence[SupportsFloat]` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`
[error] invalid-argument-type - :468:13 - Argument to function `max` is incorrect: Expected `int | float`, found `Unknown | Vector | Sequence[SupportsFloat]`

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

src/prefect/_internal/concurrency/api.py

[error] invalid-argument-type - :83:29 - Argument to function `cast_to_call` is incorrect: Expected `() -> Awaitable[T@call_soon_in_new_thread]`, found `() -> T@call_soon_in_new_thread | Awaitable[T@call_soon_in_new_thread]`
[error] invalid-return-type - :87:16 - Return type does not match returned value: expected `Call[T@call_soon_in_new_thread]`, found `Call[Awaitable[T@call_soon_in_new_thread]]`
[error] invalid-argument-type - :99:29 - Argument to function `cast_to_call` is incorrect: Expected `() -> Awaitable[T@call_soon_in_loop_thread]`, found `() -> T@call_soon_in_loop_thread | Awaitable[T@call_soon_in_loop_thread]`
[error] invalid-return-type - :103:16 - Return type does not match returned value: expected `Call[T@call_soon_in_loop_thread]`, found `Call[Awaitable[T@call_soon_in_loop_thread]]`
[error] invalid-argument-type - :137:29 - Argument to function `cast_to_call` is incorrect: Expected `() -> Awaitable[T@wait_for_call_in_loop_thread]`, found `(() -> Awaitable[T@wait_for_call_in_loop_thread]) | Call[T@wait_for_call_in_loop_thread]`
[error] invalid-return-type - :146:20 - Return type does not match returned value: expected `T@wait_for_call_in_loop_thread`, found `Awaitable[T@wait_for_call_in_loop_thread]`
[error] invalid-argument-type - :154:29 - Argument to function `cast_to_call` is incorrect: Expected `() -> Awaitable[T@wait_for_call_in_new_thread]`, found `(() -> T@wait_for_call_in_new_thread) | Call[T@wait_for_call_in_new_thread]`
[error] invalid-return-type - :160:16 - Return type does not match returned value: expected `T@wait_for_call_in_new_thread`, found `Awaitable[T@wait_for_call_in_new_thread]`
[error] invalid-argument-type - :166:46 - Argument to function `call_soon_in_new_thread` is incorrect: Expected `() -> Awaitable[T@call_in_new_thread]`, found `(() -> T@call_in_new_thread) | Call[T@call_in_new_thread]`
[error] invalid-argument-type - :174:47 - Argument to function `call_soon_in_loop_thread` is incorrect: Expected `() -> Awaitable[T@call_in_loop_thread]`, found `(() -> Awaitable[T@call_in_loop_thread]) | Call[T@call_in_loop_thread]`
[error] invalid-argument-type - :189:29 - Argument to function `cast_to_call` is incorrect: Expected `() -> Awaitable[T@wait_for_call_in_loop_thread]`, found `(() -> Awaitable[T@wait_for_call_in_loop_thread]) | Call[T@wait_for_call_in_loop_thread]`
[error] invalid-return-type - :198:20 - Return type does not match returned value: expected `T@wait_for_call_in_loop_thread`, found `Awaitable[T@wait_for_call_in_loop_thread]`
[error] invalid-argument-type - :206:29 - Argument to function `cast_to_call` is incorrect: Expected `() -> Awaitable[T@wait_for_call_in_new_thread]`, found `(() -> T@wait_for_call_in_new_thread) | Call[T@wait_for_call_in_new_thread]`
[error] invalid-return-type - :212:16 - Return type does not match returned value: expected `T@wait_for_call_in_new_thread`, found `Awaitable[T@wait_for_call_in_new_thread]`
[error] invalid-argument-type - :219:46 - Argument to function `call_soon_in_new_thread` is incorrect: Expected `() -> Awaitable[T@call_in_new_thread]`, found `() -> T@call_in_new_thread | Awaitable[T@call_in_new_thread]`
[error] invalid-return-type - :220:16 - Return type does not match returned value: expected `T@call_in_new_thread`, found `Awaitable[T@call_in_new_thread]`
[error] invalid-argument-type - :230:33 - Argument to function `cast_to_call` is incorrect: Expected `() -> Awaitable[T@call_in_loop_thread]`, found `() -> T@call_in_loop_thread | Awaitable[T@call_in_loop_thread]`
[error] invalid-argument-type - :233:47 - Argument to function `call_soon_in_loop_thread` is incorrect: Expected `() -> Awaitable[T@call_in_loop_thread]`, found `() -> T@call_in_loop_thread | Awaitable[T@call_in_loop_thread]`

src/prefect/automations.py

[error] invalid-argument-type - :235:5 - Argument is incorrect: Expected `Overload[(cls, id: UUID, name: str | None = EllipsisType) -> Self@aread | Self@aread, (cls, id: None = None, name: str = EllipsisType) -> Self@aread | Self@aread]`, found `Overload[(cls, id: UUID, name: str | None = EllipsisType) -> CoroutineType[Any, Any, Self@read], (cls, id: None = None, name: str = EllipsisType) -> CoroutineType[Any, Any, Self@read]]`

src/prefect/logging/configuration.py

[error] invalid-assignment - :29:35 - Object of type `partial[str | bytes]` is not assignable to `(str, /) -> str`

src/integrations/prefect-aws/prefect_aws/experimental/bundles/execute.py

[warning] possibly-missing-attribute - :52 -
Old: Attribute `get_s3_client` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown] | AwsCredentials`
New: Attribute `get_s3_client` may be missing on object of type `Self@aload | Coroutine[Any, Any, Self@aload] | AwsCredentials`

src/integrations/prefect-aws/prefect_aws/experimental/bundles/upload.py

[warning] possibly-missing-attribute - :68 -
Old: Attribute `get_s3_client` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown] | AwsCredentials`
New: Attribute `get_s3_client` may be missing on object of type `Self@aload | Coroutine[Any, Any, Self@aload] | AwsCredentials`

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

[error] invalid-await - :1703:25 - `list[dict[str, Any]] | Coroutine[Any, Any, list[dict[str, Any]]]` is not awaitable

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

[error] invalid-assignment - :714:9 - Too many values to unpack: Expected 2

src/integrations/prefect-aws/tests/test_lambda_function.py

[error] invalid-await - :242:28 - `dict[Unknown, Unknown] | Coroutine[Any, Any, dict[Unknown, Unknown]]` is not awaitable
[error] non-subscriptable - :230 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :231 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :257 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :258 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :265 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :266 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] unsupported-operator - :268 -
Old: Operator `in` is not supported between objects of type `Literal["LogResult"]` and `Unknown | Coroutine[Any, Any, Unknown]`
New: Operator `in` is not supported between objects of type `Literal["LogResult"]` and `dict[Unknown, Unknown] | Coroutine[Any, Any, dict[Unknown, Unknown]]`
[error] non-subscriptable - :274 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :275 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :287 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :288 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :300 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method
[error] non-subscriptable - :301 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, dict[Unknown, Unknown]]` with no `__getitem__` method

src/integrations/prefect-aws/tests/test_s3.py

[error] invalid-await - :587:17 - `str | Coroutine[Any, Any, str]` is not awaitable
[error] invalid-await - :588:18 - `bytes | Coroutine[Any, Any, bytes]` is not awaitable
[error] invalid-await - :597:11 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :614:11 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :624:11 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :640:33 - `int | Coroutine[Any, Any, int]` is not awaitable
[error] invalid-await - :645:11 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :673:33 - `int | Coroutine[Any, Any, int]` is not awaitable
[error] invalid-await - :678:11 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :701:33 - `int | Coroutine[Any, Any, int]` is not awaitable
[error] invalid-await - :709:11 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :728:33 - `int | Coroutine[Any, Any, int]` is not awaitable
[error] invalid-await - :735:11 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-argument-type - :901 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument to function `len` is incorrect: Expected `Sized`, found `list[dict[str, Any]] | Coroutine[Any, Any, list[dict[str, Any]]]`
[error] non-subscriptable - :902 -
Old: Cannot subscript object of type `Coroutine[Any, Any, Unknown]` with no `__getitem__` method
New: Cannot subscript object of type `Coroutine[Any, Any, list[dict[str, Any]]]` with no `__getitem__` method
[error] invalid-assignment - :924 -
Old: Object of type `Unknown | Coroutine[Any, Any, Unknown]` is not assignable to `bytes`
New: Object of type `bytes | Coroutine[Any, Any, bytes]` is not assignable to `bytes`
[error] invalid-argument-type - :924 -
Old: Argument is incorrect: Expected `str`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument is incorrect: Expected `str`, found `str | Coroutine[Any, Any, str]`
[warning] possibly-missing-attribute - :1141:24 - Attribute `credentials` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - :1141:24 - Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` has no attribute `credentials`

src/integrations/prefect-aws/tests/test_secrets_manager.py

[error] invalid-await - :74:26 - `bytes | Coroutine[Any, Any, bytes]` is not awaitable
[error] invalid-await - :84:26 - `str | Coroutine[Any, Any, str]` is not awaitable
[error] invalid-await - :100:26 - `str | Coroutine[Any, Any, str]` is not awaitable
[error] invalid-await - :107:26 - `str | Coroutine[Any, Any, str]` is not awaitable
[error] invalid-await - :124:19 - `str | Coroutine[Any, Any, str]` is not awaitable
[error] invalid-await - :131:19 - `str | Coroutine[Any, Any, str]` is not awaitable

src/integrations/prefect-aws/tests/workers/test_ecs_worker.py

[error] missing-argument - :225:27 - No argument provided for required parameter `cls`
[error] missing-argument - :250:15 - No argument provided for required parameter `cls`

src/integrations/prefect-azure/prefect_azure/blob_storage.py

[error] invalid-await - :683:23 - `None | Coroutine[Any, Any, None]` is not awaitable

src/integrations/prefect-azure/prefect_azure/experimental/bundles/execute.py

[error] invalid-await - :28:19 - `Self@aload | Coroutine[Any, Any, Self@aload]` is not awaitable

src/integrations/prefect-azure/prefect_azure/experimental/bundles/upload.py

[error] invalid-await - :38:19 - `Self@aload | Coroutine[Any, Any, Self@aload]` is not awaitable

src/integrations/prefect-azure/tests/test_aci_worker.py

[error] missing-argument - :110:15 - No argument provided for required parameter `values`
[error] invalid-argument-type - :111:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[Unknown | str, Unknown | dict[str, Any]]`
[error] missing-argument - :1021:20 - No argument provided for required parameter `cls`

src/integrations/prefect-azure/tests/test_blob_storage.py

[error] invalid-await - :256:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :277:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :300:24 - `bytes | Coroutine[Any, Any, bytes]` is not awaitable
[error] invalid-await - :309:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :311:24 - `bytes | Coroutine[Any, Any, bytes]` is not awaitable
[error] invalid-await - :321:29 - `list[str] | Coroutine[Any, Any, list[str]]` is not awaitable

src/integrations/prefect-bitbucket/tests/test_repository.py

[error] invalid-await - :79:19 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :90:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :105:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :122:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :142:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :172:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :235:23 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :274:23 - `None | Coroutine[Any, Any, None]` is not awaitable

src/integrations/prefect-dask/tests/test_task_runners.py

[error] invalid-argument-type - :104 -
Old: Argument to bound method `submit` is incorrect: Expected `(b: str)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :130 -
Old: Argument to bound method `submit` is incorrect: Expected `(b: str)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :178 -
Old: Argument to bound method `submit` is incorrect: Expected `(b)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :220 -
Old: Argument to bound method `submit` is incorrect: Expected `(task_res)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :250 -
Old: Argument to bound method `submit` is incorrect: Expected `(task_res)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :385 -
Old: Argument to bound method `submit` is incorrect: Expected `(ddf: Unknown)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :459 -
Old: Argument to bound method `submit` is incorrect: Expected `()`, found `list[Unknown | PrefectFuture[Unknown]]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `list[Unknown | PrefectFuture[Unknown]]`
[error] invalid-argument-type - :485 -
Old: Argument to bound method `submit` is incorrect: Expected `()`, found `list[Unknown | PrefectFuture[Unknown]]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `list[Unknown | PrefectFuture[Unknown]]`
[error] invalid-argument-type - :515 -
Old: Argument to bound method `submit` is incorrect: Expected `(b)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`

src/integrations/prefect-dbt/prefect_dbt/cli/commands.py

[error] invalid-await - :461:21 - `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :535:21 - `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :610:21 - `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :685:21 - `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :760:21 - `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable
[error] invalid-await - :835:21 - `Unknown | None | Coroutine[Any, Any, Unknown | None]` is not awaitable

src/integrations/prefect-dbt/prefect_dbt/cloud/jobs.py

[error] invalid-await - :721:26 - `dict[str, Any] | Coroutine[Any, Any, dict[str, Any]]` is not awaitable
[error] invalid-await - :750:26 - `dict[str, Any] | Coroutine[Any, Any, dict[str, Any]]` is not awaitable
[error] invalid-await - :907:42 - `dict[str, Any] | str | Coroutine[Any, Any, dict[str, Any] | str]` is not awaitable
[error] invalid-await - :949:21 - `Unknown | dict[str, Any] | Coroutine[Any, Any, dict[str, Any]]` is not awaitable
[error] invalid-await - :950:21 - `dict[str, Any] | Coroutine[Any, Any, dict[str, Any]]` is not awaitable
[error] invalid-await - :961:25 - `Unknown | DbtCloudJobRun | Coroutine[Any, Any, DbtCloudJobRun]` is not awaitable
[error] invalid-argument-type - :732 -
Old: Argument to bound method `_wait_until_state` is incorrect: Expected `Awaitable[(...) -> Unknown]`, found `() -> Unknown | Coroutine[Any, Any, Unknown]`
New: Argument to bound method `_wait_until_state` is incorrect: Expected `Awaitable[(...) -> Unknown]`, found `() -> int | Coroutine[Any, Any, int]`
[error] unresolved-attribute - :1123 -
Old: Object of type `(trigger_job_run_options: TriggerJobRunOptions | None = None) -> Unknown | Coroutine[Any, Any, Unknown]` has no attribute `aio`
New: Object of type `(trigger_job_run_options: TriggerJobRunOptions | None = None) -> DbtCloudJobRun | Coroutine[Any, Any, DbtCloudJobRun]` has no attribute `aio`

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

[error] invalid-assignment - :94:28 - Object of type `dict[str, Any] | T@resolve_block_document_references` is not assignable to `dict[str, Any]`
[error] invalid-assignment - :99:28 - Object of type `dict[str, Any] | T@resolve_variables` is not assignable to `dict[str, Any]`

src/integrations/prefect-dbt/tests/cli/test_commands.py

[warning] possibly-missing-attribute - :585 -
Old: Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (Coroutine[Any, Any, Unknown] & ~AlwaysFalsy)`
New: Attribute `type` may be missing on object of type `(Artifact & ~AlwaysFalsy) | (Coroutine[Any, Any, Artifact | None] & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - :586 -
Old: Attribute `data` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (Coroutine[Any, Any, Unknown] & ~AlwaysFalsy)`
New: Attribute `data` may be missing on object of type `(Artifact & ~AlwaysFalsy) | (Coroutine[Any, Any, Artifact | None] & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - :586 -
Old: Attribute `data` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (Coroutine[Any, Any, Unknown] & ~AlwaysFalsy)`
New: Attribute `data` may be missing on object of type `(Artifact & ~AlwaysFalsy) | (Coroutine[Any, Any, Artifact | None] & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - :589 -
Old: Attribute `data` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (Coroutine[Any, Any, Unknown] & ~AlwaysFalsy)`
New: Attribute `data` may be missing on object of type `(Artifact & ~AlwaysFalsy) | (Coroutine[Any, Any, Artifact | None] & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - :590 -
Old: Attribute `data` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (Coroutine[Any, Any, Unknown] & ~AlwaysFalsy)`
New: Attribute `data` may be missing on object of type `(Artifact & ~AlwaysFalsy) | (Coroutine[Any, Any, Artifact | None] & ~AlwaysFalsy)`
[error] invalid-await - :605:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable
[error] invalid-await - :624:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable
[error] invalid-await - :643:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable
[error] invalid-await - :662:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable
[error] invalid-await - :681:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable
[error] invalid-await - :702:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable
[error] invalid-await - :732:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable
[error] invalid-await - :756:24 - `Artifact | None | Coroutine[Any, Any, Artifact | None]` is not awaitable

src/integrations/prefect-dbt/tests/cli/test_credentials.py

[error] invalid-await - :75:36 - `Self@aload | Coroutine[Any, Any, Self@aload]` is not awaitable

src/integrations/prefect-docker/prefect_docker/worker.py

[error] missing-argument - :559:31 - No argument provided for required parameter `cls`

src/integrations/prefect-docker/tests/test_images.py

[warning] possibly-missing-attribute - :21:16 - Attribute `id` may be missing on object of type `Unknown | list[Unknown]`
[warning] possibly-missing-attribute - :31:16 - Attribute `id` may be missing on object of type `Unknown | list[Unknown]`
[warning] possibly-missing-attribute - :53:16 - Attribute `id` may be missing on object of type `Unknown | list[Unknown]`

src/integrations/prefect-email/tests/test_credentials.py

[warning] possibly-missing-attribute - :91:12 - Attribute `smtp_type` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - :91:12 - Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` has no attribute `smtp_type`
[warning] possibly-missing-attribute - :92:14 - Attribute `get_server` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - :92:14 - Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` has no attribute `get_server`
[warning] possibly-missing-attribute - :108:12 - Attribute `smtp_type` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - :108:12 - Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` has no attribute `smtp_type`
[warning] possibly-missing-attribute - :109:12 - Attribute `verify` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - :109:12 - Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` has no attribute `verify`
[warning] possibly-missing-attribute - :110:14 - Attribute `get_server` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - :110:14 - Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` has no attribute `get_server`

src/integrations/prefect-gcp/prefect_gcp/cloud_storage.py

[error] invalid-await - :1056:23 - `list[Unknown] | Coroutine[Any, Any, list[Unknown]]` is not awaitable
[error] invalid-await - :1202:23 - `list[Unknown] | Coroutine[Any, Any, list[Unknown]]` is not awaitable
[error] invalid-await - :1448:26 - `str | Coroutine[Any, Any, str]` is not awaitable

src/integrations/prefect-gcp/tests/test_cloud_run_worker.py

[error] missing-argument - :421:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :421:75 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :442:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :442:75 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :475:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :475:75 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`

src/integrations/prefect-gcp/tests/test_cloud_storage.py

[warning] possibly-missing-attribute - :588 -
Old: Attribute `startswith` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
New: Attribute `startswith` may be missing on object of type `str | Coroutine[Any, Any, str]`

src/integrations/prefect-gcp/tests/test_vertex_worker.py

[error] missing-argument - :66:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :67:17 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :94:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :95:17 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`

src/integrations/prefect-github/tests/test_repository.py

[error] invalid-await - :21:19 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :34:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :50:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :68:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :147:23 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :187:23 - `None | Coroutine[Any, Any, None]` is not awaitable

src/integrations/prefect-kubernetes/tests/test_worker.py

[error] missing-argument - :1261:24 - No argument provided for required parameter `cls`
[error] missing-argument - :1294:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1295:17 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1316:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1317:17 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1353:19 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1354:17 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1387:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1388:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1435:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1436:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1489:22 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1490:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1613:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1614:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1640:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1641:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1694:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1695:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1762:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1763:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1814:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1815:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1866:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1867:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1909:23 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1910:21 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1949:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1950:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :1992:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :1993:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2039:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2040:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2080:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2081:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2106:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2107:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2149:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2150:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2172:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2173:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2208:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2209:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2255:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2256:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2314:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2315:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2360:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2361:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2393:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2394:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2468:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2469:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2522:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2523:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2545:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2546:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2589:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2590:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2613:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2614:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2637:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2638:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`
[error] missing-argument - :2655:31 - No argument provided for required parameter `values`
[error] invalid-argument-type - :2656:13 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`

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

[error] invalid-return-type - :151:16 - Return type does not match returned value: expected `R@PrefectRayFuture`, found `(R@PrefectRayFuture & ~Coroutine[object, Never, object]) | (Exception & ~Coroutine[object, Never, object]) | Unknown`

src/integrations/prefect-ray/tests/test_task_runners.py

[error] invalid-argument-type - :221 -
Old: Argument to bound method `submit` is incorrect: Expected `(b)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :247 -
Old: Argument to bound method `submit` is incorrect: Expected `(b)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :295 -
Old: Argument to bound method `submit` is incorrect: Expected `(b)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :337 -
Old: Argument to bound method `submit` is incorrect: Expected `(task_res)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :367 -
Old: Argument to bound method `submit` is incorrect: Expected `(task_res)`, found `PrefectFuture[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `PrefectFuture[Unknown]`
[error] invalid-argument-type - :391 -
Old: Argument to bound method `submit` is incorrect: Expected `(seconds)`, found `Unknown | int`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `Unknown | int`
[error] invalid-argument-type - :437 -
Old: Argument to bound method `submit` is incorrect: Expected `(text)`, found `Literal["a"]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `Literal["a"]`
[error] invalid-argument-type - :438 -
Old: Argument to bound method `submit` is incorrect: Expected `(text)`, found `Literal["b"]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `Literal["b"]`
[error] invalid-argument-type - :439 -
Old: Argument to bound method `submit` is incorrect: Expected `(text)`, found `Literal["c"]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `Literal["c"]`
[error] invalid-argument-type - :446 -
Old: Argument to bound method `submit` is incorrect: Expected `(text)`, found `Literal["d"]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `Literal["d"]`
[error] invalid-argument-type - :461 -
Old: Argument to bound method `submit` is incorrect: Expected `(x)`, found `Literal[42]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `Literal[42]`
[error] invalid-argument-type - :475 -
Old: Argument to bound method `submit` is incorrect: Expected `()`, found `list[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `list[Unknown]`
[error] invalid-argument-type - :476 -
Old: Argument to bound method `submit` is incorrect: Expected `()`, found `list[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `list[Unknown]`
[error] invalid-argument-type - :478 -
Old: Argument to bound method `submit` is incorrect: Expected `()`, found `list[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `list[Unknown]`
[error] invalid-argument-type - :479 -
Old: Argument to bound method `submit` is incorrect: Expected `()`, found `list[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `list[Unknown]`
[error] invalid-argument-type - :480 -
Old: Argument to bound method `submit` is incorrect: Expected `()`, found `list[Unknown]`
New: Argument to bound method `submit` is incorrect: Expected `(...)`, found `list[Unknown]`

src/integrations/prefect-shell/prefect_shell/commands.py

[error] invalid-await - :398:19 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :399:28 - `list[str] | Coroutine[Any, Any, list[str]]` is not awaitable

src/integrations/prefect-shell/tests/test_commands.py

[error] invalid-await - :152:26 - `list[str] | Coroutine[Any, Any, list[str]]` is not awaitable
[error] invalid-await - :154:26 - `ShellProcess | Coroutine[Any, Any, ShellProcess]` is not awaitable
[error] invalid-await - :261:26 - `ShellProcess | Coroutine[Any, Any, ShellProcess]` is not awaitable
[warning] possibly-missing-attribute - :268 -
Old: Attribute `wait_for_completion` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
New: Attribute `wait_for_completion` may be missing on object of type `ShellProcess | Coroutine[Any, Any, ShellProcess]`
[warning] possibly-missing-attribute - :269 -
Old: Attribute `fetch_result` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
New: Attribute `fetch_result` may be missing on object of type `ShellProcess | Coroutine[Any, Any, ShellProcess]`

src/integrations/prefect-shell/tests/test_commands_windows.py

[error] invalid-await - :262:26 - `ShellProcess | Coroutine[Any, Any, ShellProcess]` is not awaitable
[warning] possibly-missing-attribute - :269 -
Old: Attribute `wait_for_completion` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
New: Attribute `wait_for_completion` may be missing on object of type `ShellProcess | Coroutine[Any, Any, ShellProcess]`
[warning] possibly-missing-attribute - :270 -
Old: Attribute `fetch_result` may be missing on object of type `Unknown | Coroutine[Any, Any, Unknown]`
New: Attribute `fetch_result` may be missing on object of type `ShellProcess | Coroutine[Any, Any, ShellProcess]`

src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py

[error] missing-argument - :142:39 - No argument provided for required parameter `values`
[error] invalid-argument-type - :143:9 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[Unknown | str, Unknown | dict[str, Any]]`
[error] missing-argument - :266:20 - No argument provided for required parameter `cls`
[error] missing-argument - :927:20 - No argument provided for required parameter `values`
[error] invalid-argument-type - :927:69 - Argument is incorrect: Expected `type[BaseJobConfiguration]`, found `dict[str, Any]`

src/integrations/prefect-sqlalchemy/prefect_sqlalchemy/database.py

[error] invalid-argument-type - :651:44 - Argument is incorrect: Expected `dict[str, Any]`, found `Literal[False]`
[error] invalid-argument-type - :697:44 - Argument is incorrect: Expected `dict[str, Any]`, found `Literal[False]`
[error] invalid-return-type - :269 -
Old: Return type does not match returned value: expected `Connection | AsyncConnection`, found `_GeneratorContextManager[Unknown, None, None] | _AsyncGeneratorContextManager[AsyncConnection, None] | Connection | AsyncConnection`
New: Return type does not match returned value: expected `Connection | AsyncConnection`, found `_GeneratorContextManager[Connection, None, None] | _AsyncGeneratorContextManager[AsyncConnection, None] | Connection | AsyncConnection`

src/integrations/prefect-sqlalchemy/tests/test_database.py

[error] invalid-await - :171:31 - `CursorResult[Unknown] | Coroutine[Any, Any, CursorResult[Unknown]]` is not awaitable
[error] invalid-await - :174:31 - `CursorResult[Unknown] | Coroutine[Any, Any, CursorResult[Unknown]]` is not awaitable
[error] invalid-await - :178:29 - `CursorResult[Unknown] | Coroutine[Any, Any, CursorResult[Unknown]]` is not awaitable
[error] invalid-context-manager - :447 -
Old: Object of type `Unknown | Coroutine[Any, Any, Unknown]` cannot be used with `with` because the methods `__enter__` and `__exit__` are possibly missing
New: Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` cannot be used with `with` because it does not implement `__enter__` and `__exit__`
[error] invalid-context-manager - :466 -
Old: Object of type `Unknown | Coroutine[Any, Any, Unknown]` cannot be used with `with` because the methods `__enter__` and `__exit__` are possibly missing
New: Object of type `Self@aload | Coroutine[Any, Any, Self@aload]` cannot be used with `with` because it does not implement `__enter__` and `__exit__`

src/prefect/_internal/concurrency/calls.py

[error] invalid-argument-type - :345:38 - Argument to bound method `add` is incorrect: Expected `Task[None]`, found `Task[_T@create_task]`
[error] invalid-argument-type - :347:55 - Argument to bound method `remove` is incorrect: Expected `Task[None]`, found `Task[_T@create_task]`
[error] invalid-return-type - :355:24 - Return type does not match returned value: expected `Awaitable[None] | None`, found `_T@run | Awaitable[None] | None`

src/prefect/_internal/concurrency/services.py

[error] invalid-argument-type - :186:29 - Argument to function `create_call` is incorrect: Expected `(block: bool = Literal[True], timeout: int | float | None = None) -> None | Awaitable[None]`, found `bound method Queue[T@_QueueServiceBase | None].get(block: bool = Literal[True], timeout: int | float | None = None) -> T@_QueueServiceBase | None`
[error] invalid-argument-type - :450:37 - Argument to function `create_call` is incorrect: Expected `(block: bool = Literal[True], timeout: int | float | None = None) -> None | Awaitable[None]`, found `bound method Queue[T@BatchedQueueService | None].get(block: bool = Literal[True], timeout: int | float | None = None) -> T@BatchedQueueService | None`

src/prefect/artifacts.py

[error] no-matching-overload - :61:32 - No overload matches arguments
[error] no-matching-overload - :139:32 - No overload matches arguments

src/prefect/blocks/core.py

[error] missing-argument - :1261:39 - No argument provided for required parameter `block_document_id`
[error] invalid-argument-type - :1261:69 - Argument is incorrect: Expected `type[Block]`, found `str | UUID`
[error] missing-argument - :1264:43 - No argument provided for required parameter `block_document_id`

src/prefect/blocks/notifications.py

[error] invalid-await - :100:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :399:15 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :1015:15 - `None | Coroutine[Any, Any, None]` is not awaitable

src/prefect/cli/deploy/_core.py

[error] invalid-assignment - :87:21 - Object of type `T@resolve_variables` is not assignable to `dict[str, Any]`
[error] invalid-argument-type - :87:45 - Argument is incorrect: Expected `T@resolve_variables`, found `dict[str, Any]`
[error] invalid-assignment - :86:21 - Object of type `T@resolve_block_document_references | dict[str, Any]` is not assignable to `dict[str, Any]`

src/prefect/cli/dev.py

[error] invalid-argument-type - :90:19 - Argument is incorrect: Expected `str`, found `Path`
[error] invalid-argument-type - :106:19 - Argument is incorrect: Expected `str`, found `Path`
[error] invalid-argument-type - :123:19 - Argument is incorrect: Expected `str`, found `Path`

src/prefect/cli/flow.py

[error] invalid-await - :170:27 - `UUID | Coroutine[Any, Any, UUID]` is not awaitable

src/prefect/cli/flow_run.py

[warning] possibly-missing-attribute - :224 -
Old: Attribute `state_details` may be missing on object of type `State[Any] | None`
New: Attribute `state_details` may be missing on object of type `State[Any] | None | Unknown`
[warning] possibly-missing-attribute - :225 -
Old: Attribute `is_scheduled` may be missing on object of type `State[Any] | None`
New: Attribute `is_scheduled` may be missing on object of type `State[Any] | None | Unknown`
[warning] possibly-missing-attribute - :226 -
Old: Attribute `timestamp` may be missing on object of type `State[Any] | None`
New: Attribute `timestamp` may be missing on object of type `State[Any] | None | Unknown`
[warning] possibly-missing-attribute - :232 -
Old: Attribute `type` may be missing on object of type `State[Any] | None`
New: Attribute `type` may be missing on object of type `State[Any] | None | Unknown`

src/prefect/cli/shell.py

[error] invalid-await - :219:31 - `RunnerDeployment | Coroutine[Any, Any, RunnerDeployment]` is not awaitable
[error] invalid-await - :232:27 - `UUID | Coroutine[Any, Any, UUID]` is not awaitable

src/prefect/cli/work_queue.py

[error] unsupported-operator - :533:20 - Operator `<` is not supported between objects of type `Unknown | None` and `datetime`

src/prefect/client/utilities.py

[error] no-matching-overload - :96:23 - No overload matches arguments

src/prefect/concurrency/_leases.py

[error] invalid-argument-type - :89:53 - Argument to bound method `add_done_callback` is incorrect: Expected `(Future[CoroutineType[Any, Any, None]], /) -> object`, found `def handle_lease_renewal_failure(future: Future[None]) -> Unknown`

src/prefect/deployments/steps/core.py

[error] invalid-argument-type - :137:38 - Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`

src/prefect/deployments/steps/pull.py

[error] invalid-argument-type - :271:39 - Argument to bound method `__init__` is incorrect: Expected `ReadableDeploymentStorage | WritableDeploymentStorage`, found `Self@aload`

src/prefect/filesystems.py

[error] invalid-await - :617:22 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-await - :632:22 - `int | Coroutine[Any, Any, int]` is not awaitable
[error] invalid-await - :641:22 - `bytes | Coroutine[Any, Any, bytes]` is not awaitable
[error] invalid-await - :645:22 - `str | Coroutine[Any, Any, str]` is not awaitable

src/prefect/flow_engine.py

[error] invalid-argument-type - :318 -
Old: Argument to bound method `handle_exception` is incorrect: Expected `ResultStore | None`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument to bound method `handle_exception` is incorrect: Expected `ResultStore | None`, found `Self@update_for_flow | Coroutine[Any, Any, Self@update_for_flow]`
[error] invalid-argument-type - :622 -
Old: Argument is incorrect: Expected `ResultStore`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument is incorrect: Expected `ResultStore`, found `Self@update_for_flow | Coroutine[Any, Any, Self@update_for_flow]`
[error] invalid-await - :812:32 - `Unknown | R@FlowRunEngine | Coroutine[Any, Any, R@FlowRunEngine]` is not awaitable
[error] invalid-argument-type - :905 -
Old: Argument to bound method `handle_exception` is incorrect: Expected `ResultStore | None`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument to bound method `handle_exception` is incorrect: Expected `ResultStore | None`, found `Self@update_for_flow | Coroutine[Any, Any, Self@update_for_flow]`
[error] invalid-argument-type - :1206 -
Old: Argument is incorrect: Expected `ResultStore`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument is incorrect: Expected `ResultStore`, found `Self@update_for_flow | Coroutine[Any, Any, Self@update_for_flow]`
[error] invalid-await - :1401:24 - `Unknown | R@AsyncFlowRunEngine | Coroutine[Any, Any, R@AsyncFlowRunEngine]` is not awaitable

src/prefect/flow_runs.py

[error] invalid-return-type - :232:12 - Return type does not match returned value: expected `T@pause_flow_run | None`, found `T@_in_process_pause | None`

src/prefect/flows.py

[warning] redundant-cast - :1265:20 - Value is already of type `Flow[(...), Any]`
[error] invalid-argument-type - :2293 -
Old: Argument to bound method `with_options` is incorrect: Expected `WritableFileSystem | str | Path | None`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument to bound method `with_options` is incorrect: Expected `WritableFileSystem | str | Path | None`, found `WritableFileSystem | Coroutine[Any, Any, WritableFileSystem]`

src/prefect/results.py

[error] invalid-await - :825:22 - `None | Coroutine[Any, Any, None]` is not awaitable
[error] invalid-return-type - :524 -
Old: Return type does not match returned value: expected `bool`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Return type does not match returned value: expected `bool`, found `bool | Coroutine[Any, Any, bool]`
[error] invalid-await - :536:22 - `bool | Coroutine[Any, Any, bool]` is not awaitable
[error] invalid-return-type - :629 -
Old: Return type does not match returned value: expected `ResultRecord[Any]`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Return type does not match returned value: expected `ResultRecord[Any]`, found `ResultRecord[Any] | Coroutine[Any, Any, ResultRecord[Any]]`
[error] invalid-await - :647:22 - `ResultRecord[Any] | Coroutine[Any, Any, ResultRecord[Any]]` is not awaitable
[error] invalid-assignment - :666 -
Old: Object of type `Unknown | Coroutine[Any, Any, Unknown]` is not assignable to attribute `result_storage` of type `WritableFileSystem | None`
New: Object of type `WritableFileSystem | Coroutine[Any, Any, WritableFileSystem]` is not assignable to attribute `result_storage` of type `WritableFileSystem | None`
[error] invalid-return-type - :811 -
Old: Return type does not match returned value: expected `None`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Return type does not match returned value: expected `None`, found `None | Coroutine[Any, Any, None]`

src/prefect/server/models/flow_runs.py

[error] missing-argument - :582:15 - No argument provided for required parameter `db`

src/prefect/server/models/task_runs.py

[error] missing-argument - :556:15 - No argument provided for required parameter `db`

src/prefect/states.py

[error] invalid-argument-type - :585 -
Old: Argument is incorrect: Expected `WritableFileSystem | None`, found `None | Unknown | Coroutine[Any, Any, Unknown]`
New: Argument is incorrect: Expected `WritableFileSystem | None`, found `None | WritableFileSystem | Coroutine[Any, Any, WritableFileSystem]`
[error] invalid-return-type - :612 -
Old: Return type does not match returned value: expected `BaseException`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Return type does not match returned value: expected `BaseException`, found `BaseException | Coroutine[Any, Any, BaseException]`
[error] invalid-return-type - :618 -
Old: Return type does not match returned value: expected `BaseException`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Return type does not match returned value: expected `BaseException`, found `BaseException | Coroutine[Any, Any, BaseException]`
[error] invalid-raise - :649 -
Old: Cannot raise object of type `Unknown | Coroutine[Any, Any, Unknown]`: Not an instance or subclass of `BaseException`
New: Cannot raise object of type `BaseException | Coroutine[Any, Any, BaseException]`: Not an instance or subclass of `BaseException`

src/prefect/task_engine.py

[error] invalid-await - :1130:23 - `Any | Exception | Coroutine[Any, Any, Any | Exception]` is not awaitable
[error] invalid-await - :1382:40 - `Self@update_for_task | Coroutine[Any, Any, Self@update_for_task]` is not awaitable
[error] invalid-await - :1613:28 - `Unknown | R@AsyncTaskRunEngine | Coroutine[Any, Any, R@AsyncTaskRunEngine]` is not awaitable
[error] unresolved-attribute - :638 -
Old: Unresolved attribute `log_on_run` on type `partial[Unknown]`.
New: Unresolved attribute `log_on_run` on type `partial[None]`.
[error] invalid-argument-type - :776 -
Old: Argument is incorrect: Expected `ResultStore`, found `Unknown | Coroutine[Any, Any, Unknown]`
New: Argument is incorrect: Expected `ResultStore`, found `Self@update_for_task | Coroutine[Any, Any, Self@update_for_task]`
[error] unresolved-attribute - :1239 -
Old: Unresolved attribute `log_on_run` on type `partial[Unknown]`.
New: Unresolved attribute `log_on_run` on type `partial[None]`.

src/prefect/task_runners.py

[error] invalid-return-type - :411:16 - Return type does not match returned value: expected `PrefectConcurrentFuture[R@ThreadPoolTaskRunner]`, found `PrefectConcurrentFuture[_T@run]`

src/prefect/task_worker.py

[error] invalid-await - :318:27 - `Self@update_for_task | Coroutine[Any, Any, Self@update_for_task]` is not awaitable
[error] invalid-await - :491:15 - `None | Coroutine[Any, Any, None]` is not awaitable

src/prefect/tasks.py

[error] invalid-await - :912:31 - `Self@update_for_task | Coroutine[Any, Any, Self@update_for_task]` is not awaitable
[error] invalid-await - :1017:31 - `Self@update_for_task | Coroutine[Any, Any, Self@update_for_task]` is not awaitable
[error] invalid-argument-type - :1814:21 - Argument is incorrect: Expected `Task[P@serve, R@serve]`, found `Self@serve`
[error] invalid-argument-type - :1814:21 - Argument is incorrect: Expected `Task[P@serve, R@serve]`, found `Self@serve`

src/prefect/testing/utilities.py

[error] invalid-await - :238:23 - `WritableFileSystem | Coroutine[Any, Any, WritableFileSystem]` is not awaitable

src/prefect/utilities/asyncutils.py

[error] invalid-return-type - :198:16 - Return type does not match returned value: expected `R@run_coro_as_sync | None`, found `CoroutineType[Any, Any, R@run_coro_as_sync | None]`
[error] invalid-return-type - :207:20 - Return type does not match returned value: expected `R@run_coro_as_sync | None`, found `CoroutineType[Any, Any, R@run_coro_as_sync | None]`
[error] invalid-argument-type - :376 -
Old: Argument to function `asynccontextmanager` is incorrect: Expected `Overload[(value: None = None, *args: Any, **kwargs: Any) -> AsyncIterator[Unknown], (value: R@asyncnullcontext, *args: Any, **kwargs: Any) -> AsyncIterator[Unknown]]`, found `Overload[(value: None = None, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[None, None], (value: R@asyncnullcontext, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[R@asyncnullcontext, None]]`
New: Argument to function `asynccontextmanager` is incorrect: Expected `(...) -> AsyncIterator[Unknown]`, found `Overload[(value: None = None, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[None, None], (value: R@asyncnullcontext, *args: Any, **kwargs: Any) -> AbstractAsyncContextManager[R@asyncnullcontext, None]]`

src/prefect/utilities/templating.py

[error] invalid-assignment - :320 -
Old: Invalid subscript assignment with key of type `object` and value of type `Unknown` on object of type `dict[str, Any]`
New: Invalid subscript assignment with key of type `object` and value of type `T@resolve_block_document_references | dict[str, Any]` on object of type `dict[str, Any]`
[error] invalid-return-type - :323 -
Old: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[Unknown]`
New: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[T@resolve_block_document_references | dict[str, Any] | Unknown]`
[error] invalid-return-type - :437 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, T@resolve_variables | Unknown]`
[error] invalid-return-type - :442 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `list[Unknown]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `list[T@resolve_variables | Unknown]`

src/prefect/workers/base.py

[error] invalid-argument-type - :228:13 - Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`
[error] invalid-argument-type - :230:20 - Argument expression after ** must be a mapping type: Found `T@resolve_variables`
[error] missing-argument - :895:31 - No argument provided for required parameter `cls`
[error] missing-argument - :1417:31 - No argument provided for required parameter `cls`

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

psycopg/psycopg/_typeinfo.py

[error] invalid-argument-type - :200:48 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `(Unknown & ~AlwaysFalsy) | (tuple[int, ...] & ~AlwaysFalsy)`

tests/utils.py

[error] invalid-argument-type - :114:47 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `(Unknown & ~AlwaysFalsy) | (tuple[int, ...] & ~AlwaysFalsy)`
[error] invalid-argument-type - :123:47 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `(Unknown & ~AlwaysFalsy) | (tuple[int, ...] & ~AlwaysFalsy)`

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

pwndbg/commands/libcinfo.py

[error] invalid-argument-type - :16:43 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `tuple[int, ...] & ~AlwaysFalsy`

pwndbg/aglib/heap/ptmalloc.py

[error] invalid-argument-type - :789 -
Old: Argument to function `get` is incorrect: Expected `bool`, found `Unknown | None`
New: Argument to function `get` is incorrect: Expected `bool`, found `bool | None`
[error] unsupported-operator - :1131 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[26]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[26]]`
[error] unsupported-operator - :1272 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[42]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[42]]`
[error] unsupported-operator - :1302 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[42]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[42]]`
[error] invalid-argument-type - :1308 -
Old: Argument to function `get` is incorrect: Expected `bool`, found `Unknown | None`
New: Argument to function `get` is incorrect: Expected `bool`, found `bool | None`
[error] unsupported-operator - :1904 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[26]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[26]]`

pwndbg/aglib/heap/structs.py

[error] unsupported-operator - :35 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[26]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[26]]`
[error] unsupported-operator - :451 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[27]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[27]]`
[error] unsupported-operator - :453 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[23]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[23]]`
[error] unsupported-operator - :599 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[42]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[42]]`
[error] unsupported-operator - :601 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[30]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[30]]`
[error] unsupported-operator - :645 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[29]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[29]]`
[error] unsupported-operator - :1032 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[42]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[42]]`
[error] unsupported-operator - :1034 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[35]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[35]]`
[error] unsupported-operator - :1036 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[26]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[26]]`
[error] unsupported-operator - :1038 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[24]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[24]]`
[error] unsupported-operator - :1040 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[15]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[15]]`

pwndbg/aglib/objc.py

[warning] possibly-missing-attribute - :387 -
Old: Attribute `get_list` may be missing on object of type `_RelativeListOfListsEntry[Unknown] | None`
New: Attribute `get_list` may be missing on object of type `_RelativeListOfListsEntry[T@_ListArray] | None`

pwndbg/aglib/regs.py

[error] invalid-return-type - :246:16 - Return type does not match returned value: expected `int`, found `int | None`
[error] invalid-return-type - :253:16 - Return type does not match returned value: expected `int`, found `int | None`

pwndbg/commands/got.py

[warning] possibly-missing-attribute - :143 -
Old: Attribute `items` may be missing on object of type `Unknown | None`
New: Attribute `items` may be missing on object of type `dict[RelocationType, list[str]] | None`

pwndbg/commands/ptmalloc2.py

[error] invalid-argument-type - :100 -
Old: Argument to function `format` is incorrect: Expected `bool`, found `Literal[False] | Unknown | None`
New: Argument to function `format` is incorrect: Expected `bool`, found `bool | None`
[error] invalid-argument-type - :104 -
Old: Argument to function `format` is incorrect: Expected `bool`, found `Literal[False] | Unknown | None`
New: Argument to function `format` is incorrect: Expected `bool`, found `bool | None`

pwndbg/dbg_mod/gdb/__init__.py

[error] invalid-argument-type - :174:28 - Argument is incorrect: Expected `T@selection`, found `Unknown | Frame`
[error] invalid-argument-type - :191:24 - Argument is incorrect: Expected `T@selection`, found `Unknown | Frame`
[error] invalid-argument-type - :257:24 - Argument is incorrect: Expected `T@selection`, found `Unknown | InferiorThread`

pwndbg/exception.py

[error] invalid-assignment - :122 -
Old: Object of type `_Wrapped[(...), Unknown, (), Unknown]` is not assignable to attribute `set_trace` on type `Unknown | <module 'pdb'>`
New: Object of type `_Wrapped[(...), Unknown | None, (), None]` is not assignable to attribute `set_trace` on type `Unknown | <module 'pdb'>`

pwndbg/glibc.py

[error] unsupported-operator - :203 -
Old: Operator `>=` is not supported between objects of type `Unknown | None` and `tuple[Literal[2], Literal[32]]`
New: Operator `>=` is not supported between objects of type `tuple[int, ...] | None` and `tuple[Literal[2], Literal[32]]`

pycryptodome (https://github.com/Legrandin/pycryptodome)

lib/Crypto/PublicKey/DSA.py

[error] invalid-argument-type - :454:41 - Argument to function `test_probable_prime` is incorrect: Expected `int`, found `IntegerBase`
[error] invalid-argument-type - :455:42 - Argument to function `test_probable_prime` is incorrect: Expected `int`, found `IntegerBase`
[error] no-matching-overload - :459:22 - No overload of function `pow` matches arguments
[error] no-matching-overload - :483:9 - No overload of function `pow` matches arguments

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

pydantic/version.py

[error] invalid-return-type - :113:12 - Return type does not match returned value: expected `tuple[int, int, int]`, found `tuple[int, ...]`

pydantic/_internal/_fields.py

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

pydantic/_internal/_mock_val_ser.py

[error] invalid-assignment - :137 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `validator` of type `SchemaValidator | PluggableSchemaValidator`
New: Object of type `MockValSer[SchemaValidator | PluggableSchemaValidator | SchemaSerializer]` is not assignable to attribute `validator` of type `SchemaValidator | PluggableSchemaValidator`
[error] invalid-assignment - :143 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `serializer` of type `SchemaSerializer`
New: Object of type `MockValSer[SchemaValidator | PluggableSchemaValidator | SchemaSerializer]` is not assignable to attribute `serializer` of type `SchemaSerializer`
[error] invalid-assignment - :176 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_validator__` of type `SchemaValidator | PluggableSchemaValidator`
New: Object of type `MockValSer[SchemaValidator | PluggableSchemaValidator | SchemaSerializer]` is not assignable to attribute `__pydantic_validator__` of type `SchemaValidator | PluggableSchemaValidator`
[error] invalid-assignment - :182 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_serializer__` of type `SchemaSerializer`
New: Object of type `MockValSer[SchemaValidator | PluggableSchemaValidator | SchemaSerializer]` is not assignable to attribute `__pydantic_serializer__` of type `SchemaSerializer`

pydantic/experimental/pipeline.py

[error] invalid-return-type - :330:16 - Return type does not match returned value: expected `_Pipeline[_InT@_Pipeline | _OtherIn@otherwise, _OutT@_Pipeline | _OtherOut@otherwise]`, found `_Pipeline[_OtherIn@otherwise, _OtherOut@otherwise]`

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

pylint/checkers/base/name_checker/checker.py

[error] invalid-argument-type - :370:59 - Argument to bound method `_raise_name_warning` is incorrect: Expected `Confidence`, found `Unknown | str | Confidence`
[error] invalid-argument-type - :370:59 - Argument to bound method `_raise_name_warning` is incorrect: Expected `str`, found `Unknown | str | Confidence`
[error] invalid-argument-type - :370:59 - Argument to bound method `_raise_name_warning` is incorrect: Expected `str`, found `Unknown | str | Confidence`
[error] invalid-argument-type - :370:59 - Argument to bound method `_raise_name_warning` is incorrect: Expected `str`, found `Unknown | str | Confidence`

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

pyodide-build/pyodide_build/pypabuild.py

[error] invalid-argument-type - :331:35 - Argument is incorrect: Expected `Path`, found `Path | None`

pyodide-build/pyodide_build/recipe/builder.py

[error] invalid-argument-type - :463:17 - Argument to function `run_command` is incorrect: Expected `list[str]`, found `list[str | Unknown | Path]`
[error] invalid-argument-type - :465:17 - Argument to function `run_command` is incorrect: Expected `str | tuple[str, ...] | None`, found `tuple[Literal["ERROR: Patch %s failed"], Unknown | Path]`

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

src/_pytest/_py/path.py

[error] invalid-argument-type - :759:17 - Argument to bound method `checked_call` is incorrect: Expected `Overload[(file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["r+", "+r", "rt+", "r+t", "+rt", ... omitted 48 literals] = Literal["r"], buffering: int = Literal[-1], encoding: str | None = None, errors: str | None = None, newline: str | None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb+", "r+b", "+rb", "br+", "b+r", ... omitted 33 literals], buffering: Literal[0], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb+", "r+b", "+rb", "br+", "b+r", ... omitted 19 literals], buffering: Literal[-1, 1] = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["wb", "bw", "ab", "ba", "xb", "bx"], buffering: Literal[-1, 1] = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb", "br", "rbU", "rUb", "Urb", ... omitted 3 literals], buffering: Literal[-1, 1] = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb+", "r+b", "+rb", "br+", "b+r", ... omitted 33 literals], buffering: int = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: str, buffering: int = Literal[-1], encoding: str | None = None, errors: str | None = None, newline: str | None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown]`, found `Unknown | str`
[error] invalid-argument-type - :808:52 - Argument to bound method `checked_call` is incorrect: Expected `Overload[(path: str | PathLike[str] | None = None) -> Unknown, (path: bytes | PathLike[bytes]) -> Unknown, (path: int) -> Unknown]`, found `Unknown | str`
[error] invalid-argument-type - :817:48 - Argument to bound method `checked_call` is incorrect: Expected `Overload[(path: str | PathLike[str] | None = None) -> Unknown, (path: bytes | PathLike[bytes]) -> Unknown, (path: int) -> Unknown]`, found `Unknown | str`
[warning] unused-ignore-comment - :318:67 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :763:41 - Argument to bound method `checked_call` is incorrect: Expected `Overload[(file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["r+", "+r", "rt+", "r+t", "+rt", ... omitted 48 literals] = Literal["r"], buffering: int = Literal[-1], encoding: str | None = None, errors: str | None = None, newline: str | None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb+", "r+b", "+rb", "br+", "b+r", ... omitted 33 literals], buffering: Literal[0], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb+", "r+b", "+rb", "br+", "b+r", ... omitted 19 literals], buffering: Literal[-1, 1] = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["wb", "bw", "ab", "ba", "xb", "bx"], buffering: Literal[-1, 1] = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb", "br", "rbU", "rUb", "Urb", ... omitted 3 literals], buffering: Literal[-1, 1] = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: Literal["rb+", "r+b", "+rb", "br+", "b+r", ... omitted 33 literals], buffering: int = Literal[-1], encoding: None = None, errors: None = None, newline: None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown, (file: int | str | bytes | PathLike[str] | PathLike[bytes], mode: str, buffering: int = Literal[-1], encoding: str | None = None, errors: str | None = None, newline: str | None = None, closefd: bool = Literal[True], opener: ((str, int, /) -> int) | None = None) -> Unknown]`, found `Unknown | str`

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

pytest_robotframework/_internal/robot/utils.py

[error] invalid-return-type - :248:12 - Return type does not match returned value: expected `dict[str, object]`, found `Mapping[str, object]`

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

Pythonwin/pywin/scintilla/view.py

[error] invalid-argument-type - :518:22 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `dict[Unknown, Unknown] | dict[str, Any | None]`

rich (https://github.com/Textualize/rich)

examples/table_movie.py

[error] invalid-argument-type - :62 -
Old: Argument to function `contextmanager` is incorrect: Expected `(length: int = Literal[1]) -> Iterator[Unknown]`, found `def beat(length: int = Literal[1]) -> None`
New: Argument to function `contextmanager` is incorrect: Expected `(...) -> Iterator[Unknown]`, found `def beat(length: int = Literal[1]) -> None`

rich/text.py

[error] invalid-return-type - :1285:16 - Return type does not match returned value: expected `int`, found `(SupportsIndex & ~AlwaysFalsy) | (Unknown & ~AlwaysFalsy)`

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

rotkehlchen/balances/historical.py

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

rotkehlchen/chain/decoding/tools.py

[error] invalid-argument-type - :99:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `Sequence[A@BaseDecoderTools]`, found `Unknown | tuple[BTCAddress, ...] | tuple[ChecksumAddress, ...] | tuple[SubstrateAddress, ...] | tuple[SolanaAddress, ...]`

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

src/schemathesis/openapi/checks.py

[error] invalid-argument-type - :118:34 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Unknown | list[str | int]`

src/schemathesis/specs/openapi/checks.py

[error] invalid-argument-type - :491:42 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `set[Unknown | int] | set[int]`

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

src/scikit_build_core/cmake.py

[error] invalid-argument-type - :179:53 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `list[Path] & ~AlwaysFalsy`
[error] invalid-argument-type - :187:53 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `list[Path] & ~AlwaysFalsy`

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

sklearn/externals/array_api_compat/_internal.py

[error] invalid-return-type - :50:16 - Return type does not match returned value: expected `(...) -> _T@get_xp`, found `_Wrapped[(...), _T@get_xp, (*args: object, **kwargs: object), object]`
[error] unresolved-attribute - :49 -
Old: Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (*args: object, **kwargs: object), Unknown]`.
New: Unresolved attribute `__signature__` on type `_Wrapped[(...), _T@get_xp, (*args: object, **kwargs: object), object]`.

sklearn/gaussian_process/kernels.py

[error] invalid-argument-type - :1588 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | float`
New: Argument to function `__new__` is incorrect: Expected `Iterable[LiteralString]`, found `Unknown | float`
[error] invalid-argument-type - :1787 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | float`
New: Argument to function `__new__` is incorrect: Expected `Iterable[LiteralString]`, found `Unknown | float`

sklearn/tests/test_config.py

[error] too-many-positional-arguments - :81:24 - Too many positional arguments: expected 0, got 1
[error] unknown-argument - :85:24 - Argument `do_something_else` does not match any known parameter

sklearn/utils/extmath.py

[error] invalid-assignment - :374:9 - Not enough values to unpack: Expected 2
[error] invalid-assignment - :374:9 - Too many values to unpack: Expected 2
[error] invalid-assignment - :374:9 - Too many values to unpack: Expected 2
[error] invalid-assignment - :375:9 - Not enough values to unpack: Expected 2
[error] invalid-assignment - :375:9 - Too many values to unpack: Expected 2
[error] invalid-assignment - :375:9 - Too many values to unpack: Expected 2
[error] invalid-assignment - :379:5 - Not enough values to unpack: Expected 2
[error] invalid-assignment - :379:5 - Too many values to unpack: Expected 2
[error] invalid-assignment - :379:5 - Too many values to unpack: Expected 2

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

scipy/_lib/array_api_compat/array_api_compat/_internal.py

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

scipy/linalg/tests/test_lapack.py

[warning] possibly-missing-attribute - :1235:30 - Attribute `dot` may be missing on object of type `Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 6 union elements`
[warning] possibly-missing-attribute - :1239:30 - Attribute `conj` may be missing on object of type `Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 6 union elements`
[warning] possibly-missing-attribute - :1248:36 - Attribute `conj` may be missing on object of type `Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 6 union elements`

scipy/signal/tests/test_signaltools.py

[error] invalid-argument-type - :3539:37 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Unknown | tuple[int, int, int] | tuple[int, float] | tuple[None, float]`

scipy/sparse/_sputils.py

[error] invalid-argument-type - :529:16 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | Sized`

scipy/stats/_axis_nan_policy.py

[error] unresolved-attribute - :713 -
Old: Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (*args, *, _no_deco=Literal[False], **kwds), Unknown]`.
New: Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

scipy/stats/_sensitivity_analysis.py

[error] invalid-argument-type - :716 -
Old: Argument is incorrect: Expected `BootstrapResult | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
New: Argument is incorrect: Expected `(...) -> Unknown`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :716 -
Old: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]] | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
New: Argument is incorrect: Expected `BootstrapResult | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :716 -
Old: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]] | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
New: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]] | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :716 -
Old: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]] | None`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
New: Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - :716:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
[error] invalid-argument-type - :716:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
[error] invalid-argument-type - :716:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
[error] invalid-argument-type - :716:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`
[error] invalid-argument-type - :716:24 - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ((f_A, f_B, f_AB) -> Unknown)`

subprojects/highs/src/highspy/highs.py

[error] invalid-argument-type - :1149:40 - Argument to function `__new__` is incorrect: Expected `Iterable[str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc]`, found `(highs_var & Iterable[object]) | (int & Iterable[object]) | Iterable[highs_var | int]`
[error] invalid-argument-type - :1162:40 - Argument to function `__new__` is incorrect: Expected `Iterable[str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc]`, found `(highs_var & Iterable[object]) | (int & Iterable[object]) | Iterable[highs_var | int]`

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

tests/test_downloadermiddleware_httpcompression.py

[error] unresolved-attribute - :419:16 - Object of type `Response` has no attribute `encoding`

tests/test_downloadermiddleware_retry.py

[warning] possibly-missing-attribute - :37:16 - Attribute `priority` may be missing on object of type `Unknown | Request | Response`

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

setuptools/_distutils/command/install.py

[error] invalid-argument-type - :719:42 - Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `map[str]`

setuptools/_distutils/extension.py

[error] invalid-argument-type - :123:37 - Argument to function `__new__` is incorrect: Expected `(str | bytes, /) -> str | bytes`, found `Overload[(path: str) -> str, (path: bytes) -> bytes, (path: PathLike[AnyStr@fspath]) -> AnyStr@fspath]`
[error] invalid-argument-type - :123:48 - Argument to function `__new__` is incorrect: Expected `Iterable[str | bytes]`, found `Iterable[str | PathLike[str]] & ~str`

setuptools/_distutils/version.py

[error] invalid-argument-type - :173:41 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Unknown | tuple[int, ...]`

setuptools/_vendor/autocommand/autoparse.py

[error] unresolved-attribute - :306 -
Old: Unresolved attribute `func` on type `_Wrapped[(...), Unknown, (argv=None), Unknown]`.
New: Unresolved attribute `func` on type `_Wrapped[(...), Unknown, (...), Unknown]`.
[error] unresolved-attribute - :307 -
Old: Unresolved attribute `parser` on type `_Wrapped[(...), Unknown, (argv=None), Unknown]`.
New: Unresolved attribute `parser` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

setuptools/_vendor/more_itertools/recipes.py

[error] invalid-argument-type - :833:34 - Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `repeat[list[Unknown]]`
[error] invalid-argument-type - :1005:18 - Argument to function `__new__` is incorrect: Expected `(int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], /) -> int | float | complex | ... omitted 3 union elements`, found `Overload[(base: int, exp: int, mod: int) -> int, (base: int, exp: Literal[0], mod: None = None) -> Literal[1], (base: int, exp: Literal[1, 2, 3, 4, 5, ... omitted 20 literals], mod: None = None) -> int, (base: int, exp: Literal[-1, -2, -3, -4, -5, ... omitted 15 literals], mod: None = None) -> int | float, (base: int, exp: int, mod: None = None) -> Any, (base: Literal[1, 2, 3, 4, 5, ... omitted 20 literals], exp: int | float, mod: None = None) -> int | float, (base: Literal[-1, -2, -3, -4, -5, ... omitted 15 literals], exp: int | float, mod: None = None) -> int | float | complex, (base: int | float, exp: int, mod: None = None) -> int | float, (base: int | float, exp: int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], mod: None = None) -> Any, (base: int | float | complex, exp: int | float | complex | _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], mod: None = None) -> int | float | complex, (base: _SupportsPow2[_E_contra@pow, _T_co@pow], exp: _E_contra@pow, mod: None = None) -> _T_co@pow, (base: _SupportsPow3NoneOnly[_E_contra@pow, _T_co@pow], exp: _E_contra@pow, mod: None = None) -> _T_co@pow, (base: _SupportsPow3[_E_contra@pow, _M_contra@pow, _T_co@pow], exp: _E_contra@pow, mod: _M_contra@pow) -> _T_co@pow, (base: _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], exp: int | float, mod: None = None) -> Any, (base: _SupportsPow2[Any, Any] | _SupportsPow3[Any, Any, Any], exp: int | float | complex, mod: None = None) -> int | float | complex]`

setuptools/_vendor/typeguard/_importhook.py

[error] invalid-return-type - :87:16 - Return type does not match returned value: expected `CodeType`, found `CodeType | AST | Any`

setuptools/_vendor/typing_extensions.py

[error] unresolved-attribute - :2844 -
Old: Unresolved attribute `__deprecated__` on type `_Wrapped[(...), Unknown, (cls, *args, **kwargs), Unknown]`.
New: Unresolved attribute `__deprecated__` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

setuptools/command/dist_info.py

[error] invalid-argument-type - :102:34 - Argument is incorrect: Expected `str`, found `Unknown | None | str`

setuptools/command/editable_wheel.py

[error] invalid-argument-type - :174:31 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Generator[Path, None, None]`
[error] invalid-argument-type - :420:19 - Argument to function `__new__` is incorrect: Expected `(str | bytes, /) -> str | bytes`, found `Overload[(path: str) -> str, (path: bytes) -> bytes, (path: PathLike[AnyStr@fspath]) -> AnyStr@fspath]`
[error] invalid-argument-type - :420:30 - Argument to function `__new__` is incorrect: Expected `Iterable[str | bytes]`, found `Unknown | list[Path]`

setuptools/config/_apply_pyprojecttoml.py

[error] invalid-argument-type - :124 -
Old: Argument to function `_set_config` is incorrect: Expected `str`, found `(Unknown & ~(() -> object)) | (partial[Unknown] & ~(() -> object))`
New: Argument to function `_set_config` is incorrect: Expected `str`, found `(Unknown & ~(() -> object)) | (partial[None] & ~(() -> object))`

setuptools/config/expand.py

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

setuptools/discovery.py

[error] invalid-argument-type - :514:33 - Argument to function `remove_stubs` is incorrect: Expected `list[str]`, found `list[Sized]`
[error] invalid-return-type - :541:12 - Return type does not match returned value: expected `list[str]`, found `list[Sized]`
[error] invalid-assignment - :557:16 - Object of type `list[Sized]` is not assignable to `list[str]`

setuptools/dist.py

[error] invalid-argument-type - :400:48 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Iterator[Requirement]`
[error] invalid-argument-type - :404:31 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Iterator[Requirement]`

setuptools/tests/test_core_metadata.py

[error] invalid-argument-type - :559 -
Old: Argument to bound method `flatten` is incorrect: Expected `EmailMessage`, found `Message[str, str]`
New: Argument to bound method `flatten` is incorrect: Expected `EmailMessage`, found `Message[object, Never]`

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

sockeye/test_utils.py

[error] invalid-argument-type - :147 -
Old: Argument to function `contextmanager` is incorrect: Expected `(prefix: str, train_line_count: int, train_line_count_empty: int, train_max_length: int, dev_line_count: int, dev_max_length: int, test_line_count: int, test_line_count_empty: int, test_max_length: int, sort_target: bool = Literal[False], seed_train: int = Literal[13], seed_dev: int = Literal[13], source_text_prefix_token: str = Literal[""], with_n_source_factors: int = Literal[0], with_n_target_factors: int = Literal[0]) -> Iterator[Unknown]`, found `def tmp_digits_dataset(prefix: str, train_line_count: int, train_line_count_empty: int, train_max_length: int, dev_line_count: int, dev_max_length: int, test_line_count: int, test_line_count_empty: int, test_max_length: int, sort_target: bool = Literal[False], seed_train: int = Literal[13], seed_dev: int = Literal[13], source_text_prefix_token: str = Literal[""], with_n_source_factors: int = Literal[0], with_n_target_factors: int = Literal[0]) -> dict[str, Any]`
New: Argument to function `contextmanager` is incorrect: Expected `(...) -> Iterator[Unknown]`, found `def tmp_digits_dataset(prefix: str, train_line_count: int, train_line_count_empty: int, train_max_length: int, dev_line_count: int, dev_max_length: int, test_line_count: int, test_line_count_empty: int, test_max_length: int, sort_target: bool = Literal[False], seed_train: int = Literal[13], seed_dev: int = Literal[13], source_text_prefix_token: str = Literal[""], with_n_source_factors: int = Literal[0], with_n_target_factors: int = Literal[0]) -> dict[str, Any]`

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

lib/spack/spack/binary_distribution.py

[error] invalid-argument-type - :2044:38 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `Sized`

lib/spack/spack/relocate.py

[error] invalid-argument-type - :61:46 - Argument to function `escape` is incorrect: Argument type `Sized` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] invalid-argument-type - :71:59 - Argument to function `escape` is incorrect: Argument type `Sized` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] invalid-argument-type - :78:56 - Argument to function `escape` is incorrect: Argument type `Sized` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`

lib/spack/spack/verify_libraries.py

[error] no-matching-overload - :155:29 - No overload of function `join` matches arguments
[error] invalid-argument-type - :164:46 - Argument to function `candidate_matches` is incorrect: Expected `bytes`, found `bytes | Unknown | str | PathLike[str] | PathLike[bytes]`
[error] invalid-assignment - :165:17 - Invalid subscript assignment with key of type `bytes | Unknown | str | PathLike[str] | PathLike[bytes]` and value of type `bytes | Unknown | str | PathLike[str] | PathLike[bytes]` on object of type `dict[bytes, bytes]`
[error] invalid-argument-type - :170:57 - Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]`
[error] invalid-argument-type - :170:69 - Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]`

lib/spack/spack/detection/common.py

[error] no-matching-overload - :363:25 - No overload of function `__new__` matches arguments
[error] no-matching-overload - :377:20 - No overload of function `__new__` matches arguments

lib/spack/spack/llnl/util/filesystem.py

[error] invalid-argument-type - :1668:35 - Argument to function `exists` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `Unknown | Sized`
[error] no-matching-overload - :1672:24 - No overload of function `basename` matches arguments
[error] invalid-argument-type - :1674:25 - Argument to function `move` is incorrect: Expected `str | PathLike[str]`, found `Unknown | Sized`

lib/spack/spack/spec_parser.py

[error] invalid-argument-type - :501:21 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Spec]`, found `Iterator[Spec | None]`

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

[error] invalid-return-type - :1494:20 - Return type does not match returned value: expected `list[tuple[int, int]]`, found `list[tuple[int, ...] | Unknown]`

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

sphinx/ext/apidoc/_generate.py

[error] unsupported-operator - :43:21 - Operator `+` is not supported between objects of type `Literal["__init__"]` and `Sized | @Todo(StarredExpression)`

sphinx/util/_serialise.py

[error] no-matching-overload - :49:16 - No overload of function `sorted` matches arguments

sphinx/util/matching.py

[error] no-matching-overload - :112:17 - No overload of function `__new__` matches arguments

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

starlette/endpoints.py

[error] call-non-callable - :42:15 - Object of type `CoroutineType[Any, Any, Response]` is not callable

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

static_frame/core/batch.py

[error] invalid-return-type - :774:16 - Return type does not match returned value: expected `InterGetItemLocCompound[Batch]`, found `InterGetItemLocCompound[Batch | Bottom[Series[Any, Any]]]`
[error] invalid-return-type - :778:16 - Return type does not match returned value: expected `InterGetItemILocCompound[Batch]`, found `InterGetItemILocCompound[Batch | Bottom[Series[Any, Any]]]`
[error] invalid-return-type - :782:16 - Return type does not match returned value: expected `InterfaceGetItemBLoc[Batch]`, found `InterfaceGetItemBLoc[Batch | Bottom[Series[Any, Any]]]`

static_frame/core/bus.py

[error] invalid-return-type - :671:16 - Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Bus[Any] | TypeBlocks | Batch | ... omitted 7 union elements, object_]`
[error] invalid-return-type - :675:16 - Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Bus[Any] | TypeBlocks | Batch | ... omitted 7 union elements, generic[object]]`

static_frame/core/container.py

[warning] unused-ignore-comment - :584:48 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :585:58 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :607:48 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :608:58 - Unused blanket `type: ignore` directive

static_frame/core/frame.py

[warning] unused-ignore-comment - :9615:22 - Unused blanket `type: ignore` directive

static_frame/core/index.py

[error] invalid-return-type - :763:16 - Return type does not match returned value: expected `InterfaceString[ndarray[Any, Any]]`, found `InterfaceString[ndarray[Any, Any] | Bottom[Series[Any, Any]]]`
[error] invalid-return-type - :781:16 - Return type does not match returned value: expected `InterfaceDatetime[ndarray[Any, Any]]`, found `InterfaceDatetime[ndarray[Any, Any] | Bottom[Series[Any, Any]]]`
[error] invalid-return-type - :801:16 - Return type does not match returned value: expected `InterfaceRe[ndarray[Any, Any]]`, found `InterfaceRe[ndarray[Any, Any] | Bottom[Series[Any, Any]]]`

static_frame/core/index_hierarchy.py

[error] invalid-argument-type - :1707:26 - Argument to function `__new__` is incorrect: Expected `(SupportsIndex | slice[Any, Any, Any], /) -> Index[Any] | list[Index[Any]]`, found `Overload[(i: SupportsIndex, /) -> Index[Any], (s: slice[Any, Any, Any], /) -> list[Index[Any]]]`

static_frame/core/index_hierarchy_set_utils.py

[error] invalid-return-type - :244:16 - Return type does not match returned value: expected `TIH@index_hierarchy_intersection`, found `IndexHierarchy`
[error] invalid-return-type - :288:20 - Return type does not match returned value: expected `TIH@index_hierarchy_intersection`, found `IndexHierarchy`
[error] invalid-return-type - :352:16 - Return type does not match returned value: expected `TIH@index_hierarchy_difference`, found `IndexHierarchy`
[error] invalid-return-type - :396:20 - Return type does not match returned value: expected `TIH@index_hierarchy_difference`, found `IndexHierarchy`

static_frame/core/node_fill_value.py

[error] invalid-return-type - :534:16 - Return type does not match returned value: expected `InterGetItemLocReduces[Batch, Any]`, found `InterGetItemLocReduces[Batch | Bottom[Series[Any, Any]], Any]`

static_frame/core/series.py

[error] invalid-return-type - :772:16 - Return type does not match returned value: expected `InterGetItemILocReduces[Series[Any, Any], TVDtype@Series]`, found `InterGetItemILocReduces[Series[Any, Any] | TypeBlocks | Batch | ... omitted 6 union elements, generic[object]]`
[error] invalid-return-type - :4072:16 - Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[SeriesHE[Any, Any] | TypeBlocks | Batch | ... omitted 7 union elements, generic[object]]`
[warning] unused-ignore-comment - :4065:59 - Unused blanket `type: ignore` directive

static_frame/core/type_blocks.py

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

static_frame/core/yarn.py

[error] invalid-return-type - :418:16 - Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Yarn[Any] | Top[Index[Any]] | TypeBlocks | ... omitted 7 union elements, generic[object]]`
[warning] unused-ignore-comment - :414:59 - Unused blanket `type: ignore` directive

static_frame/profile/__main__.py

[error] invalid-assignment - :2135:9 - Object of type `dict[str, FunctionMetaData | None]` is not assignable to attribute `meta` of type `dict[str, FunctionMetaData] | None`

static_frame/test/unit/test_display.py

[warning] unused-ignore-comment - :72:28 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :74:48 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :88:39 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :89:38 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_util.py

[error] invalid-argument-type - :2723:47 - Argument to function `ufunc_dtype_to_dtype` is incorrect: Expected `(...) -> ndarray[Any, Any]`, found `partial[floating[Any] | Any]`

static_frame/test/unit/test_www.py

[error] invalid-argument-type - :118:43 - Argument to bound method `__init__` is incorrect: Expected `Path`, found `str | PathLike[Any]`
[error] invalid-argument-type - :142:42 - Argument to bound method `__init__` is incorrect: Expected `Path`, found `str | PathLike[Any]`

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

strawberry/utils/locate_definition.py

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

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

sympy/multipledispatch/conflict.py

[error] non-subscriptable - :39:13 - Cannot subscript object of type `Sized` with no `__getitem__` method

sympy/simplify/cse_main.py

[error] not-iterable - :299:23 - Object of type `Unknown | Sized` may not be iterable
[error] unsupported-operator - :305:16 - Operator `in` is not supported between objects of type `Unknown` and `Unknown | Sized`

sympy/simplify/sqrtdenest.py

[warning] possibly-missing-attribute - :430:25 - Attribute `subs` may be missing on object of type `Basic | int | float | complex | Any`

sympy/solvers/polysys.py

[error] not-iterable - :835:28 - Object of type `Sized` is not iterable
[error] not-iterable - :849:28 - Object of type `Sized` is not iterable

sympy/stats/tests/test_finite_rv.py

[error] unsupported-operator - :361:32 - Operator `*` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :362:20 - Operator `>` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[1]`
[error] unsupported-operator - :363:46 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :363:52 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :363:62 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :363:70 - Operator `-` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[1]`
[error] unsupported-operator - :365:20 - Operator `>` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[error] unsupported-operator - :365:30 - Operator `<` is not supported between objects of type `Literal[0]` and `Basic | int | float | complex | Any`
[error] unsupported-operator - :365:34 - Operator `<` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :365:44 - Operator `<` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :366:57 - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | int | float | complex | Any`
[error] unsupported-operator - :366:67 - Operator `-` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[1]`
[error] unsupported-operator - :366:79 - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | int | float | complex | Any`
[error] unsupported-operator - :367:33 - Operator `*` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :367:38 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :367:46 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :367:55 - Operator `-` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`

sympy/strategies/branch/traverse.py

[error] call-non-callable - :18:12 - Object of type `None` is not callable
[error] call-non-callable - :21:20 - Object of type `None` is not callable
[error] call-non-callable - :22:41 - Object of type `None` is not callable
[error] no-matching-overload - :24:23 - No overload of class `type` matches arguments
[error] call-non-callable - :24:23 - Object of type `None` is not callable

sympy/strategies/traverse.py

[error] call-non-callable - :31:12 - Object of type `None` is not callable
[error] call-non-callable - :34:30 - Object of type `None` is not callable
[error] no-matching-overload - :35:20 - No overload of class `type` matches arguments
[error] call-non-callable - :35:20 - Object of type `None` is not callable
[error] call-non-callable - :35:24 - Object of type `None` is not callable

sympy/algebras/quaternion.py

[error] invalid-assignment - :132:22 - Object of type `Basic | int | float | complex | Any` is not assignable to `Expr | int | float | complex`
[error] invalid-assignment - :132:22 - Object of type `Basic | int | float | complex | Any` is not assignable to `Expr | int | float | complex`
[error] invalid-assignment - :132:22 - Object of type `Basic | int | float | complex | Any` is not assignable to `Expr | int | float | complex`
[error] invalid-assignment - :132:22 - Object of type `Basic | int | float | complex | Any` is not assignable to `Expr | int | float | complex`
[warning] possibly-missing-attribute - :134:16 - Attribute `is_commutative` may be missing on object of type `Unknown | Expr | int | float | complex`

sympy/assumptions/tests/test_query.py

[error] unresolved-attribute - :2323:38 - Object of type `Buffer` has no attribute `arg`
[error] unresolved-attribute - :2323:56 - Object of type `Buffer` has no attribute `is_Not`

sympy/combinatorics/perm_groups.py

[error] unresolved-attribute - :4536:22 - Object of type `Sized` has no attribute `union`

sympy/core/expr.py

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

sympy/core/tests/test_match.py

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

sympy/functions/combinatorial/factorials.py

[error] unsupported-operator - :967:13 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :968:29 - Attribute `is_nonnegative` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :968:47 - Attribute `is_integer` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :969:12 - Attribute `is_zero` may be missing on object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :972:13 - Operator `-` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[1]`
[warning] possibly-missing-attribute - :975:12 - Attribute `is_integer` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :976:16 - Attribute `is_negative` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :978:18 - Attribute `is_number` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :984:14 - Attribute `is_number` may be missing on object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :986:26 - Operator `+` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[1]`
[error] unsupported-operator - :986:40 - Operator `+` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[1]`
[error] unsupported-operator - :986:53 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] invalid-argument-type - :228 -
Old: Argument to function `__new__` is incorrect: Expected `(Basic | Unknown, /) -> Unknown`, found `<class 'int'>`
New: Argument to function `__new__` is incorrect: Expected `(str | Buffer | SupportsInt | ... omitted 4 union elements, /) -> int`, found `<class 'int'>`
[error] invalid-argument-type - :995 -
Old: Argument to function `__new__` is incorrect: Expected `(Basic, /) -> Unknown`, found `<class 'int'>`
New: Argument to function `__new__` is incorrect: Expected `(str | Buffer | SupportsInt | ... omitted 3 union elements, /) -> int`, found `<class 'int'>`

sympy/functions/special/beta_functions.py

[error] invalid-argument-type - :269 -
Old: Argument to function `__new__` is incorrect: Expected `(Basic, /) -> Unknown`, found `<class 'conjugate'>`
New: Argument to function `__new__` is incorrect: Expected `(Basic, /) -> Basic`, found `<class 'conjugate'>`
[error] invalid-argument-type - :385 -
Old: Argument to function `__new__` is incorrect: Expected `(Basic, /) -> Unknown`, found `<class 'conjugate'>`
New: Argument to function `__new__` is incorrect: Expected `(Basic, /) -> Basic`, found `<class 'conjugate'>`

sympy/geometry/polygon.py

[warning] possibly-missing-attribute - :1489:12 - Attribute `is_Number` may be missing on object of type `Basic | int | float | complex | Any`
[error] invalid-argument-type - :1490:20 - Argument to function `as_int` is incorrect: Expected `SupportsIndex`, found `Basic | int | float | complex | Any`
[error] unsupported-operator - :1491:16 - Operator `<` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[3]`
[warning] possibly-missing-attribute - :1498:40 - Attribute `is_number` may be missing on object of type `Basic | int | float | complex | Any`

sympy/integrals/manualintegrate.py

[error] invalid-argument-type - :2178:13 - Argument to function `do_one` is incorrect: Expected `(Unknown | tuple[Expr, Symbol], /) -> Unknown | tuple[Expr, Symbol]`, found `(IntegralInfo, /) -> IntegralInfo`

sympy/matrices/matrixbase.py

[error] invalid-assignment - :1116:54 - Object of type `defaultdict[Unknown, int]` is not assignable to `dict[tuple[int, int], Expr | int | float | complex]`

sympy/parsing/mathematica.py

[error] invalid-argument-type - :692:38 - Argument to function `__new__` is incorrect: Expected `Iterable[Never]`, found `Unknown | list[Unknown | str]`

sympy/physics/optics/gaussopt.py

[error] unsupported-operator - :263:56 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :298:54 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :298:69 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :707:12 - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[warning] possibly-missing-attribute - :756:8 - Attribute `is_infinite` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :756:25 - Attribute `is_infinite` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :757:21 - Attribute `is_infinite` may be missing on object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :759:16 - Operator `*` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :759:21 - Operator `+` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :790:34 - Unary operator `-` is not supported for object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :837:30 - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[error] unsupported-operator - :837:41 - Operator `-` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :837:54 - Operator `/` is not supported between objects of type `Literal[1]` and `Basic | int | float | complex | Any`
[error] unsupported-operator - :838:22 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :838:37 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :839:31 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :839:46 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :887:9 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`

sympy/physics/quantum/cg.py

[error] invalid-argument-type - :83:34 - Argument to function `__new__` is incorrect: Expected `Basic`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - :258:34 - Argument to function `__new__` is incorrect: Expected `Basic`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - :347:34 - Argument to function `__new__` is incorrect: Expected `Basic`, found `Basic | int | float | complex | Any`

sympy/polys/densebasic.py

[error] invalid-argument-type - :2009:64 - Argument to function `dup_apply_pairs` is incorrect: Expected `Domain[RingElement]`, found `Domain[Er@dmp_apply_pairs]`

sympy/polys/polytools.py

[warning] possibly-missing-attribute - :5962:12 - Attribute `is_algebraic` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :5962:31 - Attribute `is_irrational` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :5962:51 - Attribute `is_algebraic` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :5962:70 - Attribute `is_irrational` may be missing on object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :5963:20 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :6092:12 - Attribute `is_algebraic` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :6092:31 - Attribute `is_irrational` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :6092:51 - Attribute `is_algebraic` may be missing on object of type `Basic | int | float | complex | Any`
[warning] possibly-missing-attribute - :6092:70 - Attribute `is_irrational` may be missing on object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - :6093:20 - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`

sympy/printing/codeprinter.py

[error] not-iterable - :182:32 - Object of type `Buffer` is not iterable

sympy/printing/latex.py

[error] invalid-argument-type - :2997:35 - Argument to bound method `endswith` is incorrect: Expected `str | tuple[str, ...]`, found `Sized`
[error] invalid-argument-type - :2998:24 - Method `__getitem__` of type `bound method dict[str, (str, /) -> str].__getitem__(key: str, /) -> (str, /) -> str` cannot be called with key of type `Sized` on object of type `dict[str, (str, /) -> str]`

sympy/series/formal.py

[error] invalid-argument-type - :987:34 - Argument to function `__new__` is incorrect: Expected `Basic`, found `Basic | int | float | complex | Any`

sympy/series/fourier.py

[error] invalid-argument-type - :146:34 - Argument to function `__new__` is incorrect: Expected `Basic`, found `Basic | int | float | complex | Any`

sympy/sets/sets.py

[warning] possibly-missing-attribute - :2172:28 - Attribute `args` may be missing on object of type `Unknown | Sized`

sympy/solvers/ode/ode.py

[error] unresolved-attribute - :2406:22 - Object of type `Basic` has no attribute `as_independent`
[warning] possibly-missing-attribute - :2406:22 - Attribute `as_independent` may be missing on object of type `Basic | Unknown`

sympy/testing/runtests.py

[error] invalid-argument-type - :1577:81 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `(Unknown & ~AlwaysFalsy) | tuple[Literal[3], Literal[5]]`

sympy/utilities/_compilation/runners.py

[error] invalid-argument-type - :128 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None`
New: Argument to function `__new__` is incorrect: Expected `(str | Buffer, /) -> Match[str] | None | Match[bytes]`, found `Overload[(string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None, (string: Buffer, pos: int = Literal[0], endpos: int = int) -> Match[bytes] | None, (string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None]`
[error] invalid-argument-type - :128:42 - Argument to function `__new__` is incorrect: Expected `Iterable[str | Buffer]`, found `Unknown | None`
[error] invalid-argument-type - :130 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None`
New: Argument to function `__new__` is incorrect: Expected `(str | Buffer, /) -> Match[str] | None | Match[bytes]`, found `Overload[(string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None, (string: Buffer, pos: int = Literal[0], endpos: int = int) -> Match[bytes] | None, (string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None]`
[error] invalid-argument-type - :130:43 - Argument to function `__new__` is incorrect: Expected `Iterable[str | Buffer]`, found `Unknown | None`
[error] invalid-argument-type - :135 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None`
New: Argument to function `__new__` is incorrect: Expected `(str | Buffer, /) -> Match[str] | None | Match[bytes]`, found `Overload[(string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None, (string: Buffer, pos: int = Literal[0], endpos: int = int) -> Match[bytes] | None, (string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None]`
[error] invalid-argument-type - :135:42 - Argument to function `__new__` is incorrect: Expected `Iterable[str | Buffer]`, found `Unknown | None`
[error] invalid-argument-type - :138 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None`
New: Argument to function `__new__` is incorrect: Expected `(str | Buffer, /) -> Match[str] | None | Match[bytes]`, found `Overload[(string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None, (string: Buffer, pos: int = Literal[0], endpos: int = int) -> Match[bytes] | None, (string: str, pos: int = Literal[0], endpos: int = int) -> Match[str] | None]`
[error] invalid-argument-type - :138:45 - Argument to function `__new__` is incorrect: Expected `Iterable[str | Buffer]`, found `Unknown | None`

sympy/utilities/codegen.py

[error] not-iterable - :973:32 - Object of type `Buffer` is not iterable
[error] not-iterable - :1013:32 - Object of type `Buffer` is not iterable
[error] not-iterable - :1230:27 - Object of type `Buffer` is not iterable
[error] not-iterable - :1475:27 - Object of type `Buffer` is not iterable
[error] not-iterable - :1693:27 - Object of type `Buffer` is not iterable
[error] not-iterable - :1933:32 - Object of type `Buffer` is not iterable

sympy/utilities/memoization.py

[error] unresolved-attribute - :36 -
Old: Unresolved attribute `cache_length` on type `_Wrapped[(...), Unknown, (n), Unknown]`.
New: Unresolved attribute `cache_length` on type `_Wrapped[(...), Unknown, (...), Unknown]`.
[error] unresolved-attribute - :37 -
Old: Unresolved attribute `fetch_item` on type `_Wrapped[(...), Unknown, (n), Unknown]`.
New: Unresolved attribute `fetch_item` on type `_Wrapped[(...), Unknown, (...), Unknown]`.

sympy/utilities/tests/test_codegen.py

[error] invalid-argument-type - :54:33 - 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 `Idx` on object of type `str`
[error] invalid-argument-type - :54:39 - 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 `Idx` on object of type `str`
[warning] possibly-missing-attribute - :55:52 - Attribute `label` may be missing on object of type `Unknown | str`
[warning] possibly-missing-attribute - :55:61 - Attribute `label` may be missing on object of type `Unknown | str`

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

tornado/gen.py

[error] invalid-argument-type - :239:45 - Argument to bound method `run` is incorrect: Expected `Overload[(i: SupportsNext[_T@next], /) -> Unknown, (i: SupportsNext[_T@next], default: _VT@next, /) -> Unknown]`, found `(Generator[Any, Any, _T@coroutine] & Generator[object, None, None]) | (_T@coroutine & Generator[object, None, None])`
[error] invalid-argument-type - :255:46 - Argument to bound method `__init__` is incorrect: Expected `Generator[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown], Any, Unknown]`, found `(Generator[Any, Any, _T@coroutine] & Generator[object, None, None]) | (_T@coroutine & Generator[object, None, None])`
[error] invalid-argument-type - :255:62 - Argument to bound method `__init__` is incorrect: Expected `None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]`, found `_T@next | _T@next | _VT@next`
[error] invalid-argument-type - :532:47 - Argument to function `__new__` is incorrect: Expected `Iterable[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]]`, found `dict_values[object, object] | (Sequence[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]] & ~Top[dict[Unknown, Unknown]]) | (Mapping[Any, None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]] & ~Top[dict[Unknown, Unknown]])`

tornado/test/simple_httpclient_test.py

[error] invalid-argument-type - :536:27 - Argument to function `__new__` is incorrect: Expected `(str | bytes | None | Unknown, /) -> str | bytes | None | Unknown`, found `Overload[(value: str) -> str, (value: bytes) -> str, (value: None) -> None]`
[error] invalid-argument-type - :557:27 - Argument to function `__new__` is incorrect: Expected `(str | bytes | None | Unknown, /) -> str | bytes | None | Unknown`, found `Overload[(value: str) -> str, (value: bytes) -> str, (value: None) -> None]`

tornado/wsgi.py

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

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

src/trio/testing/_memory_streams.py

[error] invalid-return-type - :455:12 - Return type does not match returned value: expected `tuple[StapledStream[MemorySendStream, MemoryReceiveStream], StapledStream[MemorySendStream, MemoryReceiveStream]]`, found `tuple[StapledStream[SendStream, ReceiveStream], StapledStream[SendStream, ReceiveStream]]`

src/trio/_channel.py

[error] invalid-return-type - :610 -
Old: Return type does not match returned value: expected `(**P@as_safe_channel) -> AbstractAsyncContextManager[ReceiveChannel[T@as_safe_channel], bool | None]`, found `(self, *args: P@as_safe_channel.args, **kwargs: P@as_safe_channel.kwargs) -> _AsyncGeneratorContextManager[Unknown, None]`
New: Return type does not match returned value: expected `(**P@as_safe_channel) -> AbstractAsyncContextManager[ReceiveChannel[T@as_safe_channel], bool | None]`, found `(self, *args: P@as_safe_channel.args, **kwargs: P@as_safe_channel.kwargs) -> _AsyncGeneratorContextManager[RecvChanWrapper[T@as_safe_channel], None]`

src/trio/_core/_run.py

[warning] unused-ignore-comment - :1991:75 - Unused blanket `type: ignore` directive

src/trio/_tests/test_threads.py

[error] invalid-argument-type - :88:44 - Argument to function `check_case` is incorrect: Expected `(...) -> Literal[2] | Awaitable[Literal[2]]`, found `def f1(record: list[tuple[str, Thread | type[BaseException]]]) -> int`

src/trio/_tests/type_tests/path.py

[error] type-assertion-failure - :66 -
Old: Type `stat_result` does not match asserted type `Unknown`
New: Type `stat_result` does not match asserted type `Unknown | stat_result`
[error] type-assertion-failure - :67 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :68 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :73 -
Old: Type `str` does not match asserted type `Unknown`
New: Type `str` does not match asserted type `Unknown | str`
[error] type-assertion-failure - :74 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :75 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :79 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :80 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :81 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :82 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :83 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :84 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :88 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :89 -
Old: Type `stat_result` does not match asserted type `Unknown`
New: Type `stat_result` does not match asserted type `Unknown | stat_result`
[error] type-assertion-failure - :90 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :93 -
Old: Type `str` does not match asserted type `Unknown`
New: Type `str` does not match asserted type `Unknown | str`
[error] type-assertion-failure - :94 -
Old: Type `bytes` does not match asserted type `Unknown`
New: Type `bytes` does not match asserted type `Unknown | bytes`
[error] type-assertion-failure - :95 -
Old: Type `str` does not match asserted type `Unknown`
New: Type `str` does not match asserted type `Unknown | str`
[error] type-assertion-failure - :104 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :105 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `Unknown | bool`
[error] type-assertion-failure - :106 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :107 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :108 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :109 -
Old: Type `None` does not match asserted type `Unknown`
New: Type `None` does not match asserted type `Unknown | None`
[error] type-assertion-failure - :110 -
Old: Type `int` does not match asserted type `Unknown`
New: Type `int` does not match asserted type `Unknown | int`
[error] type-assertion-failure - :111 -
Old: Type `int` does not match asserted type `Unknown`
New: Type `int` does not match asserted type `Unknown | int`

src/trio/_tests/type_tests/raisesgroup.py

[error] type-assertion-failure - :215 -
Old: Type `ExceptionGroup[ExceptionGroup[ExceptionGroup[ValueError]]]` does not match asserted type `ExceptionGroup[ExceptionGroup[ExcT_2@__init__]]`
New: Type `ExceptionGroup[ExceptionGroup[ExceptionGroup[ValueError]]]` does not match asserted type `ExceptionGroup[ExceptionGroup[ExceptionGroup[Unknown]]]`

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

references/depth/stereo/transforms.py

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

test/test_datasets.py

[error] invalid-argument-type - :873:17 - Method `__getitem__` of type `bound method VisionDataset.__getitem__(index: int) -> Any` cannot be called with key of type `slice[None, Literal[2], None]` on object of type `VisionDataset`

torchvision/utils.py

[error] invalid-assignment - :763:14 - Object of type `list[tuple[int, int, int] | tuple[int, int, int, int] | Unknown]` is not assignable to `None | str | tuple[int, int, int] | list[str | tuple[int, int, int]]`

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

src/websockets/cli.py

[error] unresolved-attribute - :119:43 - Object of type `BaseProtocol` has no attribute `messages`

src/websockets/asyncio/client.py

[error] invalid-return-type - :471:16 - Return type does not match returned value: expected `ClientConnection`, found `BaseProtocol`
[error] unresolved-attribute - :799:15 - Object of type `BaseProtocol` has no attribute `response`

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

src/werkzeug/_reloader.py

[error] not-iterable - :149:22 - Object of type `Sized` is not iterable

src/werkzeug/routing/rules.py

[error] invalid-argument-type - :510:43 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `Mapping[str, Any] & ~AlwaysFalsy`

tests/test_datastructures.py

[error] invalid-argument-type - :582:41 - Argument to bound method `get` is incorrect: Expected `(Unknown, /) -> Literal[-1]`, found `<class 'int'>`
[error] invalid-argument-type - :583:41 - Argument to bound method `get` is incorrect: Expected `(Unknown, /) -> Literal[-1]`, found `<class 'int'>`

tests/test_wrappers.py

[error] invalid-assignment - :729:5 - Invalid assignment to data descriptor attribute `content_length` on type `Response` with custom `__set__` method

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

xarray/coding/cftime_offsets.py

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

xarray/core/dataarray.py

[error] invalid-return-type - :5737:16 - Return type does not match returned value: expected `T_Xarray@map_blocks`, found `T_Xarray@map_blocks | DataArray | Dataset`

xarray/core/dataset.py

[error] invalid-return-type - :8875:16 - Return type does not match returned value: expected `T_Xarray@map_blocks`, found `T_Xarray@map_blocks | DataArray | Dataset`

xarray/core/formatting.py

[error] invalid-argument-type - :351:39 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `(Any & ~AlwaysFalsy) | (tuple[Hashable, ...] & ~AlwaysFalsy)`

xarray/tests/test_backends_file_manager.py

[error] unresolved-attribute - :173:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :174:5 - Object of type `Closable` has no attribute `flush`
[error] unresolved-attribute - :176:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :177:5 - Object of type `Closable` has no attribute `flush`
[error] unresolved-attribute - :179:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :198:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :199:5 - Object of type `Closable` has no attribute `flush`
[error] unresolved-attribute - :200:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :201:5 - Object of type `Closable` has no attribute `flush`
[error] unresolved-attribute - :202:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :203:5 - Object of type `Closable` has no attribute `flush`
[error] unresolved-attribute - :214:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :215:5 - Object of type `Closable` has no attribute `flush`
[error] unresolved-attribute - :234:12 - Object of type `Closable` has no attribute `read`
[error] unresolved-attribute - :250:20 - Object of type `Closable` has no attribute `read`
[error] unresolved-attribute - :271:5 - Object of type `Closable` has no attribute `write`
[error] unresolved-attribute - :272:5 - Object of type `Closable` has no attribute `flush`
[error] unresolved-attribute - :287:5 - Object of type `Closable` has no attribute `write`

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

zerver/management/commands/send_to_email_mirror.py

[error] invalid-return-type - :135:24 - Return type does not match returned value: expected `EmailMessage`, found `Message[object, Never]`

zerver/tests/test_parallel.py

[error] invalid-argument-type - :135:21 - Argument is incorrect: Expected `ParallelRecordType@run_parallel_queue`, found `Literal[100]`
[error] invalid-argument-type - :143:21 - Argument is incorrect: Expected `ParallelRecordType@run_parallel_queue`, found `Literal[101]`
[error] invalid-argument-type - :144:21 - Argument is incorrect: Expected `ParallelRecordType@run_parallel_queue`, found `Literal[102]`

analytics/lib/counts.py

[error] invalid-assignment - :559:52 - Object of type `defaultdict[Unknown, float]` is not assignable to `dict[tuple[int, int], int | float]`

zerver/lib/export.py

[error] invalid-argument-type - :2294:65 - Argument to function `iterate_attachments` is incorrect: Expected `(str, /) -> Any`, found `(ParallelRecordType@run_parallel_queue, /) -> None`

zerver/lib/markdown/__init__.py

[error] invalid-return-type - :367:12 - Return type does not match returned value: expected `list[str]`, found `list[Sized]`
[error] non-subscriptable - :1081:24 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :1085:13 - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-iterable - :1105:27 - Object of type `None` is not iterable
[error] invalid-argument-type - :1147:50 - Argument to bound method `handle_video_inlining` is incorrect: Expected `ResultWithFamily[tuple[str, str | None]]`, found `ResultWithFamily[tuple[str, str | None] | None]`
[error] invalid-argument-type - :1169:56 - Argument to bound method `handle_youtube_url_inlining` is incorrect: Expected `ResultWithFamily[tuple[str, str | None]]`, found `ResultWithFamily[tuple[str, str | None] | None]`
[error] invalid-argument-type - :1157 -
Old: Argument to bound method `handle_image_inlining` is incorrect: Expected `ResultWithFamily[tuple[str, str | None]]`, found `ResultWithFamily[Unknown] | ResultWithFamily[tuple[str, str]]`
New: Argument to bound method `handle_image_inlining` is incorrect: Expected `ResultWithFamily[tuple[str, str | None]]`, found `ResultWithFamily[tuple[str, str | None] | None] | ResultWithFamily[tuple[str, str]]`

zerver/lib/markdown/nested_code_blocks.py

[error] invalid-argument-type - :30:58 - Argument to bound method `get_nested_code_blocks` is incorrect: Expected `list[ResultWithFamily[tuple[str, str | None]]]`, found `list[ResultWithFamily[tuple[str, str | None] | None]]`

zerver/lib/message.py

[error] invalid-argument-type - :297:9 - Argument to function `generic_bulk_cached_fetch` is incorrect: Expected `(int | Unknown | dict[str, Any], /) -> str`, found `def to_dict_cache_key_id(message_id: int) -> str`
[error] invalid-argument-type - :298:9 - Argument to function `generic_bulk_cached_fetch` is incorrect: Expected `(list[int | Unknown | dict[str, Any]], /) -> Iterable[dict[str, Any] | Unknown]`, found `def ids_to_dict(needed_ids: list[int]) -> list[dict[str, Any]]`

zerver/lib/parallel.py

[error] invalid-argument-type - :63:20 - Argument is incorrect: Expected `ParallelRecordType@run_parallel_queue`, found `ParallelRecordType@run_parallel`

zerver/lib/send_email.py

[error] invalid-argument-type - :656:37 - Argument to function `get_header` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - :677:49 - Argument to function `get_header` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - :691:38 - Argument to function `get_header` is incorrect: Expected `str | None`, found `object`

zerver/lib/user_topics.py

[error] invalid-argument-type - :265:68 - Argument to function `__new__` is incorrect: Expected `Iterable[RecipientTopicDict]`, found `QuerySet[Unknown, dict[str, Any]] & ~AlwaysFalsy`
[error] invalid-argument-type - :303:34 - Argument to function `__new__` is incorrect: Expected `Iterable[RecipientTopicDict]`, found `QuerySet[Unknown, dict[str, Any]] & ~AlwaysFalsy`

zerver/lib/users.py

[error] unresolved-attribute - :1020:17 - Object of type `UserProfile` has no attribute `realm_id`
[warning] possibly-missing-attribute - :1020:17 - Attribute `realm_id` may be missing on object of type `UserProfile | Unknown`

zerver/models/custom_profile_fields.py

[error] invalid-argument-type - :46:48 - Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `list[int | Unknown] & ~AlwaysFalsy`

zerver/tests/test_email_mirror.py

[error] invalid-assignment - :1844:9 - Invalid subscript assignment with key of type `Literal["To"]` and value of type `str` on object of type `Message[object, Never]`
[error] invalid-argument-type - :1845:25 - Argument to function `process_message` is incorrect: Expected `EmailMessage`, found `Message[object, Never]`
[error] invalid-assignment - :1870:9 - Invalid subscript assignment with key of type `Literal["To"]` and value of type `str` on object of type `Message[object, Never]`
[error] invalid-argument-type - :1871:25 - Argument to function `process_message` is incorrect: Expected `EmailMessage`, found `Message[object, Never]`

zerver/tests/test_external.py

[error] unresolved-attribute - :260:13 - Unresolved attribute `return_value` on type `CallableMixin`.

zerver/views/report.py

[error] invalid-argument-type - :14 -
Old: Argument is incorrect: Expected `TypeVar`, found `(...) -> Unknown`
New: Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`

zerver/views/user_groups.py

[error] unresolved-attribute - :446:16 - Object of type `NamedUserGroup` has no attribute `id`
[error] unresolved-attribute - :449:34 - Object of type `NamedUserGroup` has no attribute `id`
[error] unresolved-attribute - :454:13 - Object of type `NamedUserGroup` has no attribute `id`
[error] unresolved-attribute - :485:16 - Object of type `NamedUserGroup` has no attribute `id`
[error] unresolved-attribute - :488:34 - Object of type `NamedUserGroup` has no attribute `id`

zerver/views/video_calls.py

[error] invalid-argument-type - :353 -
Old: Argument is incorrect: Expected `TypeVar`, found `(...) -> Unknown`
New: Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`

zerver/worker/email_mirror.py

[error] invalid-argument-type - :30:26 - Argument to function `process_message` is incorrect: Expected `EmailMessage`, found `Message[object, Never]`

zilencer/lib/push_notifications.py

[warning] possibly-missing-attribute - :56:15 - Attribute `apns` may be missing on object of type `APNsContext | None`