Ecosystem report

Old: main (merge base) c5b4ee68 New: 22544/merge feb1f928
Lint Rule Removed Added Changed
Total 94 5 27
invalid-argument-type 89 0 14
invalid-return-type 0 5 6
invalid-assignment 5 0 1
invalid-await 0 0 6
Project Removed Added Changed
Total 94 5 27
prefect 30 0 16
asynq 23 0 8
mypy 9 0 0
zulip 8 0 0
hydpy 5 0 0
static-frame 0 4 1
trio 5 0 0
async-utils 4 0 0
dulwich 2 0 2
discord.py 3 0 0
pwndbg 3 0 0
anyio 1 0 0
core 0 1 0
tornado 1 0 0

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

src/anyio/_backends/_asyncio.py

[error] invalid-argument-type - :2542:13 - Argument to bound method `run` is incorrect: Expected `Coroutine[Any, Any, _T@run_coroutine_threadsafe]`, found `CoroutineType[Any, Any, T_Retval@run_async_from_thread]`

async-utils (https://github.com/mikeshardmind/async-utils)

src/async_utils/gen_transform.py

[error] invalid-argument-type - :109:36 - Argument to function `to_thread` is incorrect: Expected `Queue[Y@_consumer]`, found `Queue[Y@_sync_to_async_gen]`
[error] invalid-argument-type - :109:54 - Argument to function `to_thread` is incorrect: Expected `(**P@_consumer) -> Generator[Y@_consumer, None, None]`, found `(**P@_sync_to_async_gen) -> Generator[Y@_sync_to_async_gen, None, None]`
[error] invalid-argument-type - :109:66 - Argument to function `to_thread` is incorrect: Expected `P@_consumer.args`, found `P@_sync_to_async_gen.args`
[error] invalid-argument-type - :109:69 - Argument to function `to_thread` is incorrect: Expected `P@_consumer.kwargs`, found `P@_sync_to_async_gen.kwargs`

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

asynq/tests/test_tools.py

[error] invalid-argument-type - :72:39 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@afilter]`, found `list[Unknown | None | int]`
[error] invalid-argument-type - :74:34 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@afilter]`, found `list[Unknown | None | int]`
[error] invalid-argument-type - :82:53 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@afilterfalse]`, found `list[Unknown | None | int]`
[error] invalid-argument-type - :90:53 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@asift]`, found `list[Unknown | None | int]`
[error] invalid-argument-type - :95:45 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amap]`, found `list[Unknown | None]`
[error] invalid-argument-type - :96:44 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amap]`, found `list[Unknown | int]`
[error] invalid-argument-type - :98:58 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amap]`, found `list[Unknown | None | str]`
[error] invalid-argument-type - :103:31 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@asorted]`, found `list[Unknown | None]`
[error] invalid-argument-type - :104:37 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@asorted]`, found `list[Unknown | bool | None]`
[error] invalid-argument-type - :105:31 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@asorted]`, found `list[Unknown | int]`
[error] invalid-argument-type - :110:23 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `list[Unknown | int | None]`
[error] invalid-argument-type - :111:23 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `GeneratorType[Literal[1] | None, None, None]`
[error] invalid-argument-type - :113:31 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `list[Unknown | list[Unknown | int]]`
[error] invalid-argument-type - :127:26 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amin]`, found `list[Unknown | int | None]`
[error] invalid-argument-type - :128:26 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amin]`, found `GeneratorType[Literal[1] | None, None, None]`
[error] invalid-argument-type - :130:25 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amin]`, found `list[Unknown | list[Unknown | int]]`
[error] invalid-argument-type - :109 -
Old: Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `Literal[1]`
New: Argument to bound method `__call__` is incorrect: Expected `Iterable[Unknown]`, found `Literal[1]`
[error] invalid-argument-type - :112:31 - Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `list[Unknown | int]`
[error] invalid-argument-type - :115 -
Old: Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `Literal[1]`
New: Argument to bound method `__call__` is incorrect: Expected `Iterable[Unknown]`, found `Literal[1]`
[error] invalid-argument-type - :126 -
Old: Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amin]`, found `Literal[1]`
New: Argument to bound method `__call__` is incorrect: Expected `Iterable[Unknown]`, found `Literal[1]`
[error] invalid-argument-type - :129 -
Old: Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amin]`, found `list[Unknown | int]`
New: Argument to bound method `__call__` is incorrect: Expected `((int, /) -> Any) | None`, found `list[Unknown | int]`
[error] invalid-argument-type - :129:30 - Argument to bound method `__call__` is incorrect: Expected `((_T@amin, /) -> Any) | None`, found `list[Unknown | int]`
[error] invalid-argument-type - :132 -
Old: Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amin]`, found `Literal[1]`
New: Argument to bound method `__call__` is incorrect: Expected `Iterable[Unknown]`, found `Literal[1]`
[error] invalid-argument-type - :132 -
Old: Argument to bound method `__call__` is incorrect: Expected `((_T@amin, /) -> Any) | None`, found `Literal[2]`
New: Argument to bound method `__call__` is incorrect: Expected `((Unknown, /) -> Any) | None`, found `Literal[2]`

asynq/tests/test_typing.py

[error] invalid-argument-type - :41:43 - Argument to bound method `asyncio` is incorrect: Expected `_T@generic`, found `str`
[error] invalid-argument-type - :54:16 - Argument to bound method `__call__` is incorrect: Expected `((...) -> _T@async_call) | ((...) -> FutureBase[_T@async_call])`, found `def f(x: int) -> str`
[error] invalid-argument-type - :56:20 - Argument to bound method `__call__` is incorrect: Expected `((...) -> _T@async_call) | ((...) -> FutureBase[_T@async_call])`, found `def f(x: int) -> str`
[error] invalid-argument-type - :61 -
Old: Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `Literal[1]`
New: Argument to bound method `__call__` is incorrect: Expected `Iterable[Sized]`, found `Literal[1]`
[error] invalid-argument-type - :61:32 - Argument to bound method `__call__` is incorrect: Expected `((_T@amax, /) -> Any) | None`, found `def len(obj: Sized, /) -> int`
[error] invalid-argument-type - :62 -
Old: Argument to bound method `__call__` is incorrect: Expected `Iterable[_T@amax]`, found `list[Unknown | int]`
New: Argument to bound method `__call__` is incorrect: Expected `((Unknown | int | Sized, /) -> Any) | None`, found `def len(obj: Sized, /) -> int`
[error] invalid-argument-type - :62:34 - Argument to bound method `__call__` is incorrect: Expected `((_T@amax, /) -> Any) | None`, found `def len(obj: Sized, /) -> int`

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

homeassistant/util/variance.py

[error] invalid-return-type - :47:12 - Return type does not match returned value: expected `(**_P@ignore_variance) -> _R@ignore_variance`, found `_Wrapped[_P@ignore_variance, int | _R@ignore_variance | float | datetime, _P@ignore_variance, _R@ignore_variance | int | float | datetime]`

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

discord/ext/commands/core.py

[error] invalid-argument-type - :683:35 - Argument is incorrect: Expected `Context[BotT@cog_command_error]`, found `Context[BotT@dispatch_error]`
[error] invalid-argument-type - :1314:63 - Argument to function `maybe_coroutine` is incorrect: Expected `Context[BotT@cog_check]`, found `Context[BotT@can_run]`

discord/ext/commands/hybrid.py

[error] invalid-argument-type - :430:45 - Argument to function `maybe_coroutine` is incorrect: Expected `Interaction[ClientT@interaction_check]`, found `Interaction[Client]`

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

dulwich/porcelain/__init__.py

[error] invalid-return-type - :652 -
Old: Return type does not match returned value: expected `AbstractContextManager[T@open_repo | Repo, bool | None]`, found `_GeneratorContextManager[T@_noop_context_manager, None, None]`
New: Return type does not match returned value: expected `AbstractContextManager[T@open_repo | Repo, bool | None]`, found `_GeneratorContextManager[(str & BaseRepo) | (PathLike[str] & BaseRepo) | T@open_repo, None, None]`
[error] invalid-argument-type - :652:38 - Argument is incorrect: Expected `T@_noop_context_manager`, found `(str & BaseRepo) | (PathLike[str] & BaseRepo) | T@open_repo`
[error] invalid-return-type - :706 -
Old: Return type does not match returned value: expected `AbstractContextManager[T@open_repo_closing | Repo, bool | None]`, found `_GeneratorContextManager[T@_noop_context_manager, None, None]`
New: Return type does not match returned value: expected `AbstractContextManager[T@open_repo_closing | Repo, bool | None]`, found `_GeneratorContextManager[(str & BaseRepo) | (bytes & BaseRepo) | (PathLike[str] & BaseRepo) | T@open_repo_closing, None, None]`
[error] invalid-argument-type - :706:38 - Argument is incorrect: Expected `T@_noop_context_manager`, found `(str & BaseRepo) | (bytes & BaseRepo) | (PathLike[str] & BaseRepo) | T@open_repo_closing`

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

hydpy/core/hydpytools.py

[error] invalid-assignment - :2631:13 - Object of type `tuple[_Node@topological_sort, ...]` is not assignable to attribute `_deviceorder` of type `tuple[Node | Element, ...] | None`

hydpy/core/selectiontools.py

[error] invalid-argument-type - :829:25 - Argument to bound method `add` is incorrect: Expected `_Node@ancestors`, found `Node | Element`
[error] invalid-argument-type - :981:25 - Argument to bound method `add` is incorrect: Expected `_Node@descendants`, found `Node | Element`

hydpy/core/threadingtools.py

[error] invalid-argument-type - :247:66 - Argument to bound method `__call__` is incorrect: Expected `_Node@dfs_successors | None`, found `Element`
[error] invalid-argument-type - :259:70 - Argument to bound method `__call__` is incorrect: Expected `_Node@dfs_successors | None`, found `Node`

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

mypy/subtypes.py

[error] invalid-argument-type - :187:26 - Argument is incorrect: Expected `list[tuple[T@pop_on_exit, T@pop_on_exit]]`, found `list[tuple[Type, Type]]`
[error] invalid-argument-type - :187:71 - Argument is incorrect: Expected `T@pop_on_exit`, found `Type`
[error] invalid-argument-type - :187:77 - Argument is incorrect: Expected `T@pop_on_exit`, found `Type`
[error] invalid-argument-type - :226:26 - Argument is incorrect: Expected `list[tuple[T@pop_on_exit, T@pop_on_exit]]`, found `list[tuple[Type, Type]]`
[error] invalid-argument-type - :226:70 - Argument is incorrect: Expected `T@pop_on_exit`, found `Type`
[error] invalid-argument-type - :226:76 - Argument is incorrect: Expected `T@pop_on_exit`, found `Type`
[error] invalid-argument-type - :1212:22 - Argument is incorrect: Expected `list[tuple[T@pop_on_exit, T@pop_on_exit]]`, found `Unknown | list[tuple[Instance, Instance]]`
[error] invalid-argument-type - :1212:32 - Argument is incorrect: Expected `T@pop_on_exit`, found `Instance`
[error] invalid-argument-type - :1212:38 - Argument is incorrect: Expected `T@pop_on_exit`, found `Instance`

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

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

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

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

[error] invalid-assignment - :94:28 - Object of type `T@resolve_block_document_references | dict[str, Any]` is not assignable to `dict[str, Any]`
[error] invalid-argument-type - :96:21 - Argument is incorrect: Expected `T@resolve_block_document_references`, found `dict[str, Any] | @Todo`
[error] invalid-assignment - :99:28 - Object of type `T@resolve_variables | dict[str, Any]` is not assignable to `dict[str, Any]`
[error] invalid-argument-type - :99:63 - Argument is incorrect: Expected `T@resolve_variables`, found `dict[str, Any]`

src/prefect/_internal/concurrency/calls.py

[error] invalid-argument-type - :341:41 - Argument to bound method `run` is incorrect: Expected `Generator[Any, None, _T@create_task] | Coroutine[Any, Any, _T@create_task]`, found `CoroutineType[Any, Any, None]`
[error] invalid-argument-type - :355:41 - Argument to bound method `run` is incorrect: Expected `Coroutine[Any, Any, _T@run]`, found `CoroutineType[Any, Any, None]`

src/prefect/automations.py

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

src/prefect/cli/deploy/_core.py

[error] invalid-assignment - :86:21 - Object of type `T@resolve_block_document_references | dict[str, Any]` is not assignable to `dict[str, Any]`
[error] invalid-argument-type - :86:61 - Argument is incorrect: Expected `T@resolve_block_document_references`, found `dict[str, Any]`
[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]`

src/prefect/deployments/steps/core.py

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

src/prefect/task_engine.py

[error] invalid-argument-type - :777:25 - Argument is incorrect: Expected `Task[P@update_for_task, R@update_for_task]`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`
[error] invalid-argument-type - :1399:25 - Argument is incorrect: Expected `Task[P@update_for_task, R@update_for_task]`, found `Task[P@AsyncTaskRunEngine, R@AsyncTaskRunEngine] | Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]]`

src/prefect/task_runners.py

[error] invalid-argument-type - :398:17 - Argument to bound method `submit` is incorrect: Expected `(**_P@run) -> _T@run`, found `def run[_T](main: Coroutine[Any, Any, _T], *, debug: bool | None = None) -> _T`
[error] invalid-argument-type - :399:17 - Argument to bound method `submit` is incorrect: Expected `_P@run.args`, found `CoroutineType[Any, Any, Unknown | State[Any] | None]`
[error] invalid-argument-type - :404:17 - Argument to bound method `submit` is incorrect: Expected `(**_P@run) -> _T@run`, found `def run_task_sync[**P, R](task: Task[P, R], task_run_id: UUID | None = None, task_run: TaskRun | None = None, parameters: dict[str, Any] | None = None, wait_for: PrefectFuture[Any] | Any | Iterable[PrefectFuture[Any] | Any] | None = None, return_type: Literal["state", "result"] = "result", dependencies: dict[str, set[RunInput]] | None = None, context: dict[str, Any] | None = None) -> R | State[Any] | None`
[error] invalid-argument-type - :803:13 - Argument to bound method `submit` is incorrect: Expected `Task[P@_resolve_futures_and_submit, R@_resolve_futures_and_submit | CoroutineType[Any, Any, R@_resolve_futures_and_submit]]`, found `Task[P@submit, R@submit | CoroutineType[Any, Any, R@submit]]`

src/prefect/task_worker.py

[error] invalid-argument-type - :387:17 - Argument to bound method `submit` is incorrect: Expected `(**_P@run) -> _T@run`, found `def run_task_sync[**P, R](task: Task[P, R], task_run_id: UUID | None = None, task_run: TaskRun | None = None, parameters: dict[str, Any] | None = None, wait_for: PrefectFuture[Any] | Any | Iterable[PrefectFuture[Any] | Any] | None = None, return_type: Literal["state", "result"] = "result", dependencies: dict[str, set[RunInput]] | None = None, context: dict[str, Any] | None = None) -> R | State[Any] | None`
[error] invalid-argument-type - :389:17 - Argument to bound method `submit` is incorrect: Expected `_P@run.kwargs`, found `UUID`
[error] invalid-argument-type - :390:17 - Argument to bound method `submit` is incorrect: Expected `_P@run.kwargs`, found `TaskRun`
[error] invalid-argument-type - :391:17 - Argument to bound method `submit` is incorrect: Expected `_P@run.kwargs`, found `dict[Unknown, Unknown] | Any`
[error] invalid-argument-type - :392:17 - Argument to bound method `submit` is incorrect: Expected `_P@run.kwargs`, found `list[Unknown] | Any`
[error] invalid-argument-type - :393:17 - Argument to bound method `submit` is incorrect: Expected `_P@run.kwargs`, found `Literal["state"]`
[error] invalid-argument-type - :394:17 - Argument to bound method `submit` is incorrect: Expected `_P@run.kwargs`, found `None | Any`
[error] invalid-argument-type - :595:13 - Argument to function `create_call` is incorrect: Expected `Task[P@aserve, R@aserve]`, found `Task[P@serve, R@serve]`

src/prefect/tasks.py

[error] invalid-argument-type - :922:35 - Argument is incorrect: Expected `Task[P@update_for_task, R@update_for_task]`, found `Self@create_run`
[error] invalid-argument-type - :1027:35 - Argument is incorrect: Expected `Task[P@update_for_task, R@update_for_task]`, found `Self@create_local_run`
[error] invalid-argument-type - :1822:21 - Argument is incorrect: Expected `Task[P@aserve, R@aserve]`, found `Self@serve`

src/prefect/utilities/templating.py

[error] invalid-argument-type - :318 -
Old: Argument is incorrect: Expected `T@resolve_block_document_references`, found `object`
New: Argument is incorrect: Argument type `object` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`
[error] invalid-assignment - :320 -
Old: 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]`
New: Invalid subscript assignment with key of type `object` and value of type `Unknown | 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 | T@resolve_block_document_references | dict[str, Any]]`
New: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[Unknown | dict[str, Any]]`
[error] invalid-argument-type - :325 -
Old: Argument is incorrect: Expected `T@resolve_block_document_references`, found `object`
New: Argument is incorrect: Argument type `object` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`
[error] invalid-return-type - :437 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown | T@resolve_variables]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown]`
[error] invalid-argument-type - :438 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `object`
New: Argument is incorrect: Argument type `object` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`
[error] invalid-return-type - :442 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `list[Unknown | T@resolve_variables]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `list[Unknown]`
[error] invalid-argument-type - :442 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `object`
New: Argument is incorrect: Argument type `object` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`

src/prefect/workers/base.py

[error] invalid-argument-type - :234:20 - Argument expression after ** must be a mapping type: Found `T@resolve_variables`
[error] invalid-argument-type - :232 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`
New: Argument is incorrect: Argument type `str | dict[str, Any]` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`

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

pwndbg/dbg_mod/gdb/__init__.py

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

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

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] | IndexHierarchy | TypeBlocks | ... omitted 6 union elements, object_]`
[error] invalid-return-type - :675 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Self@iloc | Bus[Any], object_ | Self@iloc]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Bus[Any] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, object_ | Self@iloc]`

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] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, TVDtype@Series]`
[error] invalid-return-type - :4072:16 - Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | IndexHierarchy | TypeBlocks | ... omitted 8 union elements, TVDtype@SeriesHE]`

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] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, object_]`

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

tornado/gen.py

[error] invalid-argument-type - :239:39 - Argument to bound method `run` is incorrect: Expected `SupportsNext[_T@next]`, found `(Generator[Any, Any, _T@coroutine] & Generator[object, None, None]) | (_T@coroutine & Generator[object, None, None])`

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

src/trio/_core/_tests/test_run.py

[error] invalid-argument-type - :2444:27 - Argument is incorrect: Expected `T@async_yield`, found `object`
[error] invalid-argument-type - :2502:27 - Argument is incorrect: Expected `T@async_yield`, found `Literal[1]`
[error] invalid-argument-type - :2503:27 - Argument is incorrect: Expected `T@async_yield`, found `Literal[2]`

src/trio/_tests/test_highlevel_open_unix_stream.py

[error] invalid-argument-type - :28:25 - Argument is incorrect: Expected `CloseT@close_on_error`, found `CloseMe`
[error] invalid-argument-type - :33:29 - Argument is incorrect: Expected `CloseT@close_on_error`, found `CloseMe`

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

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

zerver/data_import/slack.py

[error] invalid-argument-type - :1794:13 - Argument to function `convert_slack_workspace_messages` is incorrect: Expected `(UploadFileRequest, /) -> None`, found `(ParallelRecordType@run_parallel_queue, /) -> None`

zerver/lib/export.py

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

zerver/lib/parallel.py

[error] invalid-argument-type - :54:9 - Argument is incorrect: Expected `(ParallelRecordType@run_parallel_queue, /) -> None`, found `(ParallelRecordType@run_parallel, /) -> None`
[error] invalid-argument-type - :63:20 - Argument is incorrect: Expected `ParallelRecordType@run_parallel_queue`, found `ParallelRecordType@run_parallel`