You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The percentage of diagnostics emitted that were expected errors decreased from 87.10% to 87.00%. The percentage of expected errors that received a diagnostic held steady at 77.81%.
Summary
How are test cases classified?
Each test case represents one expected error annotation or a group of annotations sharing a tag. Counts are per test case, not per diagnostic — multiple diagnostics on the same line count as one. Required annotations (E) are true positives when ty flags the expected location and false negatives when it does not. Optional annotations (E?) are true positives when flagged but true negatives (not false negatives) when not. Tagged annotations (E[tag]) require ty to flag exactly one of the tagged lines; tagged multi-annotations (E[tag+]) allow any number up to the tag count. Flagging unexpected locations counts as a false positive.
Changes were detected when running on open source projects
anyio (https://github.com/agronholm/anyio)
+ src/anyio/functools.py:139:13: error[no-matching-overload] No overload of bound method `pop` matches arguments+ src/anyio/functools.py:167:27: error[invalid-argument-type] Method `__getitem__` of type `bound method WeakKeyDictionary[AsyncLRUCacheWrapper[(...), Any], OrderedDict[Hashable, tuple[_InitialMissingType, Lock, int | float | None] | tuple[Any, None, int | float | None]]].__getitem__(key: AsyncLRUCacheWrapper[(...), Any]) -> OrderedDict[Hashable, tuple[_InitialMissingType, Lock, int | float | None] | tuple[Any, None, int | float | None]]` cannot be called with key of type `Self@__call__` on object of type `WeakKeyDictionary[AsyncLRUCacheWrapper[(...), Any], OrderedDict[Hashable, tuple[_InitialMissingType, Lock, int | float | None] | tuple[Any, None, int | float | None]]]`+ src/anyio/functools.py:169:27: error[invalid-assignment] Invalid subscript assignment with key of type `Self@__call__` and value of type `OrderedDict[Unknown, Unknown]` on object of type `WeakKeyDictionary[AsyncLRUCacheWrapper[(...), Any], OrderedDict[Hashable, tuple[_InitialMissingType, Lock, int | float | None] | tuple[Any, None, int | float | None]]]`+ src/anyio/functools.py:226:37: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `AsyncLRUCacheWrapper[(...), Unknown]`, found `Self@__get__`+ src/anyio/functools.py:254:20: error[invalid-return-type] Return type does not match returned value: expected `AsyncLRUCacheWrapper[P@__call__, T@_LRUCacheWrapper] | _lru_cache_wrapper[T@_LRUCacheWrapper]`, found `AsyncLRUCacheWrapper[(...), Unknown]`- Found 94 diagnostics+ Found 99 diagnostics
starlette (https://github.com/encode/starlette)
+ tests/middleware/test_base.py:247:33: error[missing-argument] No argument provided for required parameter 1 of bound method `__init__`- Found 197 diagnostics+ Found 198 diagnostics
Expression (https://github.com/cognitedata/Expression)
- expression/core/fn.py:39:23: warning[redundant-cast] Value is already of type `TailCall[_P@tailrec]`- expression/core/fn.py:58:23: warning[redundant-cast] Value is already of type `TailCall[_P@tailrec_async]`+ expression/core/fn.py:44:16: error[invalid-return-type] Return type does not match returned value: expected `_TResult@tailrec`, found `(_TResult@tailrec & ~TailCall[Top[(...)]]) | (TailCall[_P@tailrec] & ~TailCall[Top[(...)]])`+ expression/core/fn.py:62:16: error[invalid-return-type] Return type does not match returned value: expected `_TResult@tailrec_async`, found `(_TResult@tailrec_async & ~TailCall[Top[(...)]]) | (TailCall[_P@tailrec_async] & ~TailCall[Top[(...)]])`
pyproject-metadata (https://github.com/pypa/pyproject-metadata)
+ pyproject_metadata/_dispatch.py:73:12: error[invalid-return-type] Return type does not match returned value: expected `KeyDispatcher[P@keydispatch, R@keydispatch]`, found `KeyDispatcher[(...), R@keydispatch]`- Found 10 diagnostics+ Found 11 diagnostics
discord.py (https://github.com/Rapptz/discord.py)
+ discord/app_commands/commands.py:748:16: error[invalid-return-type] Return type does not match returned value: expected `Command[Unknown, (...), Unknown]`, found `Self@_copy_with`+ discord/app_commands/commands.py:756:24: error[no-matching-overload] No overload of bound method `__init__` matches arguments+ discord/app_commands/commands.py:757:31: error[no-matching-overload] No overload of bound method `__init__` matches arguments+ discord/app_commands/commands.py:773:77: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any]`, found `Self@get_translated_payload`+ discord/app_commands/commands.py:847:52: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any] | ContextMenu | Group`, found `Self@_transform_arguments`+ discord/app_commands/commands.py:873:38: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any] | ContextMenu`, found `Self@_do_call`+ discord/app_commands/commands.py:877:38: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any] | ContextMenu`, found `Self@_do_call`+ discord/app_commands/commands.py:899:48: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any] | ContextMenu | Group`, found `Self@_invoke_autocomplete`+ discord/app_commands/commands.py:902:44: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any] | ContextMenu | Group`, found `Self@_invoke_autocomplete`+ discord/app_commands/commands.py:944:30: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any]`, found `Self@parameters`+ discord/app_commands/commands.py:965:38: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any]`, found `Self@get_parameter`+ discord/app_commands/commands.py:2014:20: error[invalid-return-type] Return type does not match returned value: expected `Command[GroupT@decorator, P@decorator, T@decorator]`, found `Command[Unknown, (...), Unknown]`+ discord/app_commands/commands.py:2065:16: error[invalid-return-type] Return type does not match returned value: expected `Command[GroupT@decorator, P@decorator, T@decorator]`, found `Command[GroupT@decorator, (...), T@decorator]`+ discord/app_commands/tree.py:932:20: error[invalid-return-type] Return type does not match returned value: expected `Command[Group, P@decorator, T@decorator]`, found `Command[Unknown, (...), Unknown]`- discord/ext/commands/core.py:1063:71: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive+ discord/ext/commands/core.py:958:9: error[invalid-assignment] Object of type `Self@prepare` is not assignable to attribute `command` of type `Command[Any, (...), Any] | None`+ discord/ext/commands/core.py:1067:9: error[invalid-assignment] Object of type `Self@reinvoke` is not assignable to attribute `command` of type `Command[Any, (...), Any] | None`+ discord/ext/commands/core.py:1304:9: error[invalid-assignment] Object of type `Self@can_run` is not assignable to attribute `command` of type `Command[Any, (...), Any] | None`- discord/ext/commands/core.py:1673:75: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive+ discord/ext/commands/core.py:1691:13: error[invalid-assignment] Object of type `Self@reinvoke` is not assignable to attribute `command` of type `Command[Any, (...), Any] | None`+ discord/ext/commands/hybrid.py:348:9: error[invalid-method-override] Invalid override of method `_copy_with`: Definition is incompatible with `Command._copy_with`+ discord/ext/commands/hybrid.py:376:65: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any] | ContextMenu | Group`, found `Self@_transform_arguments`+ discord/ext/commands/hybrid.py:387:65: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Command[Any, (...), Any] | ContextMenu | Group`, found `Self@_transform_arguments`+ discord/ext/commands/hybrid.py:534:30: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `HybridCommand[CogT@HybridCommand, (...), T@HybridCommand] | HybridGroup[CogT@HybridCommand, (...), T@HybridCommand]`, found `Self@__init__`+ discord/ext/commands/hybrid.py:700:44: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `HybridCommand[Unknown, (...), Unknown] | HybridGroup[Unknown, (...), Unknown]`, found `Self@__init__`- discord/ext/commands/hybrid.py:940:92: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive- discord/ext/commands/hybrid.py:973:90: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive- Found 558 diagnostics+ Found 577 diagnostics
prefect (https://github.com/PrefectHQ/prefect)
- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str`, found `str | bool | dict[str, int] | None`- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str | list[str] | None`, found `str | bool | dict[str, int] | None`- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool | dict[str, int] | None`- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `bool | None`, found `str | bool | dict[str, int] | None`- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `str | list[str] | None`, found `str | bool | dict[str, int] | None`- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, str] | list[str] | None`, found `str | bool | dict[str, int] | None`- src/integrations/prefect-docker/tests/test_containers.py:27:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str | bool | dict[str, int] | None`- src/integrations/prefect-docker/tests/test_containers.py:42:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`+ src/integrations/prefect-docker/tests/test_containers.py:26:31: error[invalid-await] `object` is not awaitable- src/integrations/prefect-docker/tests/test_containers.py:55:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`- src/integrations/prefect-docker/tests/test_containers.py:68:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`- src/integrations/prefect-docker/tests/test_containers.py:81:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`+ src/integrations/prefect-docker/tests/test_containers.py:41:26: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-docker/tests/test_containers.py:54:31: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-docker/tests/test_containers.py:67:31: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-docker/tests/test_containers.py:80:31: error[invalid-await] `object` is not awaitable- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `str`, found `str | bool`+ src/integrations/prefect-docker/tests/test_images.py:16:23: error[invalid-await] `object` is not awaitable- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `DockerHost | None`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `DockerRegistryCredentials | None`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:16:44: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:29:47: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str`+ src/integrations/prefect-docker/tests/test_images.py:28:27: error[invalid-await] `object` is not awaitable- src/integrations/prefect-docker/tests/test_images.py:29:47: error[invalid-argument-type] Argument is incorrect: Expected `DockerRegistryCredentials | None`, found `str`- src/integrations/prefect-docker/tests/test_images.py:29:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`- src/integrations/prefect-docker/tests/test_images.py:31:16: error[unresolved-attribute] Attribute `id` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`- src/integrations/prefect-docker/tests/test_images.py:51:17: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str`+ src/integrations/prefect-docker/tests/test_images.py:48:27: error[invalid-await] `object` is not awaitable- src/integrations/prefect-docker/tests/test_images.py:51:17: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`- src/integrations/prefect-docker/tests/test_images.py:53:16: error[unresolved-attribute] Attribute `id` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `str`, found `str | bool`+ src/integrations/prefect-docker/tests/test_images.py:63:28: error[invalid-await] `object` is not awaitable- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `str | None`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `bool`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `DockerRegistryCredentials | None`, found `str | bool`- src/integrations/prefect-docker/tests/test_images.py:64:47: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str | bool`- src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py:428:17: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `str`+ src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py:425:33: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:20:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `None`- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:29:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `None`- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:38:13: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `None`- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:57:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:103:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:16:15: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:149:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:195:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:240:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:24:15: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:33:15: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:286:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:46:11: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:98:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_custom_objects.py:344:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:144:11: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:190:11: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:236:11: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:274:11: error[invalid-await] `object` is not awaitable+ src/integrations/prefect-kubernetes/tests/test_custom_objects.py:332:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_deployments.py:18:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_deployments.py:16:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_deployments.py:38:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_deployments.py:34:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_deployments.py:70:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_deployments.py:68:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_deployments.py:92:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_deployments.py:88:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_deployments.py:113:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_deployments.py:110:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_deployments.py:141:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_deployments.py:137:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_jobs.py:36:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_jobs.py:34:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_jobs.py:52:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_jobs.py:50:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_jobs.py:68:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_jobs.py:66:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_jobs.py:87:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_jobs.py:84:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_jobs.py:107:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_jobs.py:104:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_jobs.py:131:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_jobs.py:127:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_jobs.py:159:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_jobs.py:156:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_pods.py:29:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_pods.py:27:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_pods.py:46:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_pods.py:42:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_pods.py:78:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_pods.py:76:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_pods.py:96:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_pods.py:92:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_pods.py:115:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_pods.py:112:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_pods.py:137:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_pods.py:133:11: error[invalid-await] `object` is not awaitable- src/integrations/prefect-kubernetes/tests/test_pods.py:167:9: error[invalid-argument-type] Argument is incorrect: Expected `dict[str, Any]`, found `Literal["test"]`+ src/integrations/prefect-kubernetes/tests/test_pods.py:163:11: error[invalid-await] `object` is not awaitable+ src/prefect/_internal/compatibility/async_dispatch.py:76:36: error[invalid-argument-type] Argument to function `_is_acceptable_callable` is incorrect: Expected `((...) -> Unknown) | classmethod[type[Any], (...), Unknown]`, found `((**P@async_dispatch) -> Coroutine[Any, Any, R@async_dispatch]) | classmethod[type[Any], P@async_dispatch, Coroutine[Any, Any, R@async_dispatch]]`+ src/prefect/_internal/compatibility/async_dispatch.py:94:20: error[call-non-callable] Object of type `classmethod[type[Any], P@async_dispatch, Coroutine[Any, Any, R@async_dispatch]]` is not callable- src/prefect/cache_policies.py:311:25: error[unresolved-attribute] Attribute `__code__` is not defined on `(...) -> Any` in union `Unknown | ((...) -> Any)`+ src/prefect/cache_policies.py:311:25: error[unresolved-attribute] Attribute `__code__` is not defined on `((...) -> Any) & ((*args: object, **kwargs: object) -> object)` in union `Unknown | (((...) -> Any) & ((*args: object, **kwargs: object) -> object))`+ src/prefect/deployments/runner.py:1246:49: error[invalid-argument-type] Argument to function `_set_defaults_from_flow` is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@load_flow_from_entrypoint, Any]`+ src/prefect/flow_engine.py:494:25: error[invalid-argument-type] Argument is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@FlowRunEngine, R@FlowRunEngine] | Flow[P@FlowRunEngine, Coroutine[Any, Any, R@FlowRunEngine]]`+ src/prefect/flow_engine.py:722:13: error[invalid-argument-type] Argument to bound method `create_flow_run` is incorrect: Expected `Flow[(...), Unknown]`, found `Flow[P@FlowRunEngine, R@FlowRunEngine] | Flow[P@FlowRunEngine, Coroutine[Any, Any, R@FlowRunEngine]]`+ src/prefect/flow_engine.py:797:40: error[invalid-argument-type] Argument to function `should_log_prints` is incorrect: Expected `Flow[(...), Any] | Task[(...), Any]`, found `Flow[P@FlowRunEngine, R@FlowRunEngine] | Flow[P@FlowRunEngine, Coroutine[Any, Any, R@FlowRunEngine]]`+ src/prefect/flow_engine.py:808:21: error[invalid-argument-type] Argument is incorrect: Expected `Flow[(...), Any] | None`, found `Flow[P@FlowRunEngine, R@FlowRunEngine] | Flow[P@FlowRunEngine, Coroutine[Any, Any, R@FlowRunEngine]]`+ src/prefect/flow_engine.py:814:25: error[invalid-argument-type] Argument is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@FlowRunEngine, R@FlowRunEngine] | Flow[P@FlowRunEngine, Coroutine[Any, Any, R@FlowRunEngine]]`+ src/prefect/flow_engine.py:841:41: error[invalid-argument-type] Argument to function `flow_run_logger` is incorrect: Expected `Flow[(...), Any] | None`, found `Flow[P@FlowRunEngine, R@FlowRunEngine] | Flow[P@FlowRunEngine, Coroutine[Any, Any, R@FlowRunEngine]]`+ src/prefect/flow_engine.py:847:21: error[invalid-argument-type] Argument to function `resolve_custom_flow_run_name` is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@FlowRunEngine, R@FlowRunEngine] | Flow[P@FlowRunEngine, Coroutine[Any, Any, R@FlowRunEngine]]`+ src/prefect/flow_engine.py:985:47: error[invalid-argument-type] Argument is incorrect: Expected `FlowRunEngine[(...), Any]`, found `Self@run_context`- src/prefect/flow_engine.py:1004:32: error[invalid-await] `Unknown | R@FlowRunEngine | Coroutine[Any, Any, R@FlowRunEngine]` is not awaitable+ src/prefect/flow_engine.py:1098:25: error[invalid-argument-type] Argument is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@AsyncFlowRunEngine, R@AsyncFlowRunEngine] | Flow[P@AsyncFlowRunEngine, Coroutine[Any, Any, R@AsyncFlowRunEngine]]`+ src/prefect/flow_engine.py:1323:13: error[invalid-argument-type] Argument to bound method `create_flow_run` is incorrect: Expected `Flow[(...), Unknown]`, found `Flow[P@AsyncFlowRunEngine, R@AsyncFlowRunEngine] | Flow[P@AsyncFlowRunEngine, Coroutine[Any, Any, R@AsyncFlowRunEngine]]`+ src/prefect/flow_engine.py:1398:40: error[invalid-argument-type] Argument to function `should_log_prints` is incorrect: Expected `Flow[(...), Any] | Task[(...), Any]`, found `Flow[P@AsyncFlowRunEngine, R@AsyncFlowRunEngine] | Flow[P@AsyncFlowRunEngine, Coroutine[Any, Any, R@AsyncFlowRunEngine]]`+ src/prefect/flow_engine.py:1409:21: error[invalid-argument-type] Argument is incorrect: Expected `Flow[(...), Any] | None`, found `Flow[P@AsyncFlowRunEngine, R@AsyncFlowRunEngine] | Flow[P@AsyncFlowRunEngine, Coroutine[Any, Any, R@AsyncFlowRunEngine]]`+ src/prefect/flow_engine.py:1415:25: error[invalid-argument-type] Argument is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@AsyncFlowRunEngine, R@AsyncFlowRunEngine] | Flow[P@AsyncFlowRunEngine, Coroutine[Any, Any, R@AsyncFlowRunEngine]]`+ src/prefect/flow_engine.py:1441:41: error[invalid-argument-type] Argument to function `flow_run_logger` is incorrect: Expected `Flow[(...), Any] | None`, found `Flow[P@AsyncFlowRunEngine, R@AsyncFlowRunEngine] | Flow[P@AsyncFlowRunEngine, Coroutine[Any, Any, R@AsyncFlowRunEngine]]`+ src/prefect/flow_engine.py:1448:21: error[invalid-argument-type] Argument to function `resolve_custom_flow_run_name` is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@AsyncFlowRunEngine, R@AsyncFlowRunEngine] | Flow[P@AsyncFlowRunEngine, Coroutine[Any, Any, R@AsyncFlowRunEngine]]`+ src/prefect/flow_engine.py:1592:54: error[invalid-argument-type] Argument is incorrect: Expected `AsyncFlowRunEngine[(...), Any]`, found `Self@run_context`- src/prefect/flow_engine.py:1610:24: error[invalid-await] `Unknown | R@AsyncFlowRunEngine | Coroutine[Any, Any, R@AsyncFlowRunEngine]` is not awaitable+ src/prefect/flow_engine.py:1688:23: error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known+ src/prefect/flow_engine.py:1729:23: error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known- src/prefect/flows.py:286:34: error[unresolved-attribute] Object of type `(**P@Flow) -> R@Flow` has no attribute `__name__`- src/prefect/flows.py:404:68: error[unresolved-attribute] Object of type `(**P@Flow) -> R@Flow` has no attribute `__name__`+ src/prefect/flows.py:286:34: error[unresolved-attribute] Attribute `__name__` is not defined on `(**P@Flow) -> R@Flow` in union `((**P@Flow) -> R@Flow) | (classmethod[Any, P@Flow, R@Flow] & Top[(...) -> object] & ~Top[classmethod[Unknown, Top[(...)], object]])`+ src/prefect/flows.py:404:68: error[unresolved-attribute] Attribute `__name__` is not defined on `(**P@Flow) -> R@Flow` in union `((**P@Flow) -> R@Flow) | (classmethod[Any, P@Flow, R@Flow] & Top[(...) -> object] & ~Top[classmethod[Unknown, Top[(...)], object]])`+ src/prefect/flows.py:583:16: error[invalid-return-type] Return type does not match returned value: expected `Flow[P@Flow, R@Flow]`, found `Flow[(...), Unknown]`+ src/prefect/flows.py:829:17: error[invalid-argument-type] Argument to bound method `from_flow` is incorrect: Expected `Flow[(...), Any]`, found `Self@ato_deployment`+ src/prefect/flows.py:974:17: error[invalid-argument-type] Argument to bound method `from_flow` is incorrect: Expected `Flow[(...), Any]`, found `Self@to_deployment`+ src/prefect/flows.py:1120:13: error[invalid-argument-type] Argument is incorrect: Expected `Flow[(...), Any]`, found `Self@serve`+ src/prefect/flows.py:1851:13: error[invalid-argument-type] Argument to function `run_flow` is incorrect: Expected `Flow[(...), Unknown]`, found `Self@__call__`+ src/prefect/flows.py:1888:21: error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known+ src/prefect/flows.py:1946:38: error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known+ src/prefect/flows.py:1948:21: error[call-top-callable] Object of type `Top[(...) -> object]` is not safe to call; its signature is not known+ src/prefect/flows.py:2587:17: error[invalid-argument-type] Argument to bound method `create_flow_run` is incorrect: Expected `Flow[(...), Unknown]`, found `InfrastructureBoundFlow[(...), R@InfrastructureBoundFlow] | Self@submit_to_work_pool`+ src/prefect/flows.py:2597:49: error[invalid-argument-type] Argument to function `create_bundle_for_flow_run` is incorrect: Expected `Flow[(...), Any]`, found `InfrastructureBoundFlow[(...), R@InfrastructureBoundFlow] | Self@submit_to_work_pool`+ src/prefect/flows.py:2671:16: error[invalid-return-type] Return type does not match returned value: expected `InfrastructureBoundFlow[P@InfrastructureBoundFlow, R@InfrastructureBoundFlow]`, found `InfrastructureBoundFlow[(...), Unknown]`+ src/prefect/flows.py:2794:44: error[invalid-assignment] Object of type `Flow[(...), Any] | None` is not assignable to `Flow[P@load_flow_from_entrypoint, Any] | None`+ src/prefect/flows.py:2829:16: error[invalid-return-type] Return type does not match returned value: expected `Flow[P@load_function_and_convert_to_flow, Any]`, found `Flow[(...), Any]`+ src/prefect/flows.py:3057:16: error[invalid-return-type] Return type does not match returned value: expected `Flow[(...), Any]`, found `Flow[P@load_flow_from_entrypoint, Any]`+ src/prefect/flows.py:3123:12: error[invalid-return-type] Return type does not match returned value: expected `Flow[(...), Any]`, found `Flow[P@load_flow_from_entrypoint, Any] | Flow[P@load_function_and_convert_to_flow, Any]`+ src/prefect/flows.py:3158:12: error[invalid-return-type] Return type does not match returned value: expected `Flow[P@load_placeholder_flow, Any]`, found `Flow[(...), Any]`+ src/prefect/flows.py:3185:20: error[invalid-return-type] Return type does not match returned value: expected `Flow[P@safe_load_flow_from_entrypoint, Any] | None`, found `Flow[(...), Any] | None`+ src/prefect/flows.py:3202:24: error[invalid-return-type] Return type does not match returned value: expected `Flow[P@safe_load_flow_from_entrypoint, Any] | None`, found `Flow[(...), Any] | None`+ src/prefect/server/database/dependencies.py:289:16: error[invalid-return-type] Return type does not match returned value: expected `Self@__get__ | _DBInjectorMethod[T@DBInjector, P@DBInjector, R@DBInjector]`, found `_DBInjectorMethod[T@DBInjector, (...), R@DBInjector]`+ src/prefect/task_engine.py:329:17: error[invalid-argument-type] Argument to function `resolve_custom_task_run_name` is incorrect: Expected `Task[(...), Any]`, found `Task[P@BaseTaskRunEngine, R@BaseTaskRunEngine] | Task[P@BaseTaskRunEngine, Coroutine[Any, Any, R@BaseTaskRunEngine]]`+ src/prefect/task_engine.py:499:31: error[invalid-argument-type] Argument is incorrect: Expected `Task[(...), Any]`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`+ src/prefect/task_engine.py:762:48: error[invalid-argument-type] Argument to function `should_log_prints` is incorrect: Expected `Flow[(...), Any] | Task[(...), Any]`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`+ src/prefect/task_engine.py:773:21: error[invalid-argument-type] Argument is incorrect: Expected `Task[(...), Any]`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`+ src/prefect/task_engine.py:778:25: error[invalid-argument-type] Argument is incorrect: Expected `Task[(...), Unknown]`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`+ src/prefect/task_engine.py:787:41: error[invalid-argument-type] Argument to function `task_run_logger` is incorrect: Expected `Task[(...), Any] | None`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`+ src/prefect/task_engine.py:801:17: error[invalid-argument-type] Argument to bound method `from_task_and_inputs` is incorrect: Expected `Task[(...), Any]`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`+ src/prefect/task_engine.py:831:29: error[invalid-argument-type] Argument to function `_create_task_run_locally` is incorrect: Expected `Task[(...), Any]`, found `Task[P@SyncTaskRunEngine, R@SyncTaskRunEngine] | Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]]`+ src/prefect/task_engine.py:1109:31: error[invalid-argument-type] Argument is incorrect: Expected `Task[(...), Any]`, found `Task[P@AsyncTaskRunEngine, R@AsyncTaskRunEngine] | Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]]`+ src/prefect/task_engine.py:1391:48: error[invalid-argument-type] Argument to function `should_log_prints` is incorrect: Expected `Flow[(...), Any] | Task[(...), Any]`, found `Task[P@AsyncTaskRunEngine, R@AsyncTaskRunEngine] | Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]]`+ src/prefect/task_engine.py:1402:21: error[invalid-argument-type] Argument is incorrect: Expected `Task[(...), Any]`, found `Task[P@AsyncTaskRunEngine, R@AsyncTaskRunEngine] | Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]]`+ src/prefect/task_engine.py:1406:76: error[invalid-argument-type] Argument to bound method `aupdate_for_task` is incorrect: Expected `Task[(...), Unknown]`, found `Task[P@AsyncTaskRunEngine, R@AsyncTaskRunEngine] | Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]]`+ src/prefect/task_engine.py:1414:41: error[invalid-argument-type] Argument to function `task_run_logger` is incorrect: Expected `Task[(...), Any] | None`, found `Task[P@AsyncTaskRunEngine, R@AsyncTaskRunEngine] | Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]]`+ src/prefect/task_engine.py:1428:17: error[invalid-argument-type] Argument to bound method `from_task_and_inputs` is incorrect: Expected `Task[(...), Any]`, found `Task[P@AsyncTaskRunEngine, R@AsyncTaskRunEngine] | Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]]`- src/prefect/task_engine.py:1642:28: error[invalid-await] `Unknown | R@AsyncTaskRunEngine | Coroutine[Any, Any, R@AsyncTaskRunEngine]` is not awaitable- src/prefect/task_engine.py:1750:47: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Unknown | R@run_generator_task_sync`+ src/prefect/task_engine.py:1750:47: error[invalid-argument-type] Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `object`- src/prefect/task_engine.py:1763:25: error[unresolved-attribute] Attribute `throw` is not defined on `R@run_generator_task_sync` in union `Unknown | R@run_generator_task_sync`- src/prefect/task_engine.py:1809:48: error[unresolved-attribute] Attribute `__anext__` is not defined on `R@run_generator_task_async` in union `Unknown | R@run_generator_task_async`+ src/prefect/task_engine.py:1763:25: error[unresolved-attribute] Object of type `object` has no attribute `throw`+ src/prefect/task_engine.py:1809:48: error[unresolved-attribute] Object of type `object` has no attribute `__anext__`- src/prefect/task_engine.py:1821:29: error[unresolved-attribute] Attribute `throw` is not defined on `R@run_generator_task_async` in union `Unknown | R@run_generator_task_async`+ src/prefect/task_engine.py:1821:29: error[unresolved-attribute] Object of type `object` has no attribute `throw`+ src/prefect/task_worker.py:109:21: error[invalid-argument-type] Argument to bound method `append` is incorrect: Expected `Task[(...), Any]`, found `Task[P@__init__, R@__init__]`+ src/prefect/task_worker.py:112:35: error[invalid-argument-type] Argument to bound method `append` is incorrect: Expected `Task[(...), Any]`, found `Task[P@__init__, R@__init__]`- src/prefect/tasks.py:185:9: error[unresolved-attribute] Attribute `__code__` is not defined on `(...) -> Any` in union `Unknown | ((...) -> Any)`+ src/prefect/tasks.py:185:9: error[unresolved-attribute] Attribute `__code__` is not defined on `((...) -> Any) & ((*args: object, **kwargs: object) -> object)` in union `Unknown | (((...) -> Any) & ((*args: object, **kwargs: object) -> object))`+ src/prefect/tasks.py:785:16: error[invalid-return-type] Return type does not match returned value: expected `Task[P@Task, R@Task]`, found `Task[(...), Unknown]`- src/prefect/tasks.py:795:13: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `(() -> str) | TaskRunNameCallbackWithParameters | str | None`, found `(() -> str) | TaskRunNameCallbackWithParameters | str | ... omitted 3 union elements`+ src/prefect/tasks.py:795:13: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `(() -> str) | TaskRunNameCallbackWithParameters | str | None`, found `((() -> str) & ~<class 'NotSet'>) | TaskRunNameCallbackWithParameters | str | ... omitted 4 union elements`+ src/prefect/tasks.py:900:47: error[invalid-argument-type] Argument to function `dynamic_key_for_task_run` is incorrect: Expected `Task[(...), Any]`, found `Self@create_run`+ src/prefect/tasks.py:923:36: error[invalid-argument-type] Argument to bound method `aupdate_for_task` is incorrect: Expected `Task[(...), Unknown]`, found `Self@create_run`+ src/prefect/tasks.py:955:17: error[invalid-argument-type] Argument to bound method `create_task_run` is incorrect: Expected `Task[(...), Unknown]`, found `Self@create_run`+ src/prefect/tasks.py:1005:47: error[invalid-argument-type] Argument to function `dynamic_key_for_task_run` is incorrect: Expected `Task[(...), Any]`, found `Self@create_local_run`+ src/prefect/tasks.py:1028:36: error[invalid-argument-type] Argument to bound method `aupdate_for_task` is incorrect: Expected `Task[(...), Unknown]`, found `Self@create_local_run`+ src/prefect/tasks.py:1824:22: error[invalid-argument-type] Argument to function `aserve` is incorrect: Expected `Task[(...), Unknown]`, found `Self@aserve`+ src/prefect/tasks.py:1848:15: error[invalid-argument-type] Argument is incorrect: Expected `Task[(...), Unknown]`, found `Self@serve`+ src/prefect/tasks.py:2246:16: error[invalid-return-type] Return type does not match returned value: expected `MaterializingTask[P@MaterializingTask, R@MaterializingTask]`, found `MaterializingTask[(...), Unknown]`- src/prefect/utilities/_engine.py:64:13: error[invalid-argument-type] Argument to bound method `is_callback_with_parameters` is incorrect: Expected `(...) -> str`, found `(Unknown & Top[(...) -> object]) | (str & Top[(...) -> object]) | (() -> str) | TaskRunNameCallbackWithParameters`+ src/prefect/utilities/_engine.py:64:13: error[invalid-argument-type] Argument to bound method `is_callback_with_parameters` is incorrect: Expected `(...) -> str`, found `(Unknown & Top[(...) -> object]) | (str & Top[(...) -> object]) | ((() -> str) & ((*args: object, **kwargs: object) -> object)) | (TaskRunNameCallbackWithParameters & ((*args: object, **kwargs: object) -> object))`- src/prefect/utilities/_engine.py:66:48: error[unknown-argument] Argument `parameters` does not match any known parameter- src/prefect/utilities/_engine.py:69:29: error[missing-argument] No argument provided for required parameter `parameters` of bound method `__call__`+ src/prefect/utilities/_engine.py:85:12: error[invalid-return-type] Return type does not match returned value: expected `str`, found `object`- Found 5849 diagnostics+ Found 5888 diagnostics
scikit-build-core (https://github.com/scikit-build/scikit-build-core)
+ src/scikit_build_core/_vendor/pyproject_metadata/_dispatch.py:73:12: error[invalid-return-type] Return type does not match returned value: expected `KeyDispatcher[P@keydispatch, R@keydispatch]`, found `KeyDispatcher[(...), R@keydispatch]`+ src/scikit_build_core/build/wheel.py:99:20: error[no-matching-overload] No overload of bound method `__init__` matches arguments- Found 61 diagnostics+ Found 63 diagnostics
streamlit (https://github.com/streamlit/streamlit)
+ lib/streamlit/runtime/caching/cache_utils.py:266:57: error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `CachedFunc[(...), Unknown]`, found `Self@__get__`- Found 14 diagnostics+ Found 15 diagnostics
core (https://github.com/home-assistant/core)
+ homeassistant/components/rflink/__init__.py:270:56: error[invalid-argument-type] Argument to function `async_call_later` is incorrect: Expected `HassJob[(datetime, /), Coroutine[Any, Any, None] | None] | ((datetime, /) -> Coroutine[Any, Any, None] | None)`, found `HassJob[(_: Exception | None = None), None]`- Found 12105 diagnostics+ Found 12106 diagnostics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes astral-sh/ty#1728
Bivariance is confusing, not useful, and not in the spec. Fall back to covariant when we would otherwise infer bivariance.
Test Plan
Adjusted existing test expectations.