Ecosystem report

Old: main (merge base) 267af002 New: 25240/merge 8ffd193f
Lint Rule Removed Added Changed
Total 242 234 73
invalid-argument-type 64 129 35
unused-type-ignore-comment 83 0 0
not-subscriptable 52 1 0
unresolved-attribute 16 17 18
no-matching-overload 14 13 0
unused-ignore-comment 0 24 0
invalid-return-type 2 12 7
invalid-assignment 3 13 1
unsupported-operator 1 10 1
invalid-yield 0 7 4
type-assertion-failure 4 2 0
invalid-type-form 0 3 1
possibly-missing-attribute 0 0 4
invalid-generic-class 0 2 0
possibly-unresolved-reference 2 0 0
empty-body 0 0 1
invalid-method-override 0 1 0
not-iterable 0 0 1
unbound-type-variable 1 0 0
Project Removed Added Changed
Total 242 234 73
static-frame 95 104 44
core 54 25 10
trio 7 30 7
scipy-stubs 2 34 0
egglog-python 7 24 1
xarray 31 0 0
koda-validate 12 0 3
prefect 4 4 4
pwndbg 8 0 0
anyio 0 6 1
pylint 6 0 0
scrapy 4 1 1
pandas 4 1 0
setuptools 1 2 1
pip 2 0 0
rich 2 0 0
starlette 1 1 0
django-modern-rest 0 0 1
docstring-adder 0 1 0
operator 1 0 0

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

src/anyio/_core/_fileio.py

[error] invalid-argument-type - Argument to `Path.__init__` is incorrect: Expected `str | PathLike[str]`, found `(_T@next & ~None) | (_T@next & ~None) | (_VT@next & ~None)`

src/anyio/to_interpreter.py

[error] invalid-return-type - Return type does not match returned value: expected `T_Retval@run_sync`, found `T_Retval@call`

src/anyio/_backends/_asyncio.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[Any]` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `(*PosArgsT@_spawn) -> Awaitable[Any]` has no attribute `__qualname__`

src/anyio/_core/_tempfile.py

[error] invalid-argument-type - Argument to function `run_sync` is incorrect: Expected `(AnyStr@mkstemp | None | str | bytes, AnyStr@mkstemp | None | str | bytes, AnyStr@mkstemp | None | str | ... omitted 3 union elements, bool, /) -> tuple[int, str] | tuple[int, bytes]`, found `Overload[(suffix: str | None = None, prefix: str | None = None, dir: str | PathLike[str] | None = None, text: bool = False) -> tuple[int, str], (suffix: bytes | None = None, prefix: bytes | None = None, dir: bytes | PathLike[bytes] | None = None, text: bool = False) -> tuple[int, bytes]]`
[error] invalid-argument-type - Argument to function `run_sync` is incorrect: Expected `(AnyStr@mkdtemp | None | str | bytes, AnyStr@mkdtemp | None | str | bytes, AnyStr@mkdtemp | None | str | ... omitted 3 union elements, /) -> str | bytes`, found `Overload[(suffix: str | None = None, prefix: str | None = None, dir: str | PathLike[str] | None = None) -> str, (suffix: bytes | None = None, prefix: bytes | None = None, dir: bytes | PathLike[bytes] | None = None) -> bytes]`

src/anyio/from_thread.py

[error] invalid-argument-type - Argument to function `run_sync` is incorrect: Expected `(bound method Self@_spawn_task_from_thread._call_func[*PosArgsT, T_Retval](func: (*PosArgsT) -> Awaitable[T_Retval] | T_Retval, args: tuple[*PosArgsT], kwargs: dict[str, Any], future: Future[T_Retval]) -> CoroutineType[Any, Any, None], (*PosArgsT@_spawn_task_from_thread) -> Awaitable[T_Retval@_spawn_task_from_thread] | T_Retval@_spawn_task_from_thread, tuple[*PosArgsT@_spawn_task_from_thread], dict[str, Any], Future[T_Retval@_spawn_task_from_thread], /) -> Unknown`, found `partial[(func: () -> Awaitable[Any], *, name: object = None) -> None]`
[error] no-matching-overload - No overload of bound method `BlockingPortal.start_task_soon` matches arguments

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

homeassistant/helpers/ratelimit.py

[error] invalid-argument-type - Argument to bound method `AbstractEventLoop.call_later` is incorrect: Expected `(tuple[*_Ts@async_schedule_action], /) -> object`, found `(*_Ts@async_schedule_action) -> None`

homeassistant/util/logging.py

[error] invalid-argument-type - Argument to function `log_exception` is incorrect: Expected `(tuple[*_Ts@_async_wrapper], /) -> Any`, found `(*_Ts@_async_wrapper) -> Any`
[error] invalid-argument-type - Argument to function `log_exception` is incorrect: Expected `(tuple[*_Ts@_sync_wrapper], /) -> Any`, found `(*_Ts@_sync_wrapper) -> Any`
[error] invalid-argument-type - Argument to function `log_exception` is incorrect: Expected `(tuple[*_Ts@_callback_wrapper], /) -> Any`, found `(*_Ts@_callback_wrapper) -> Any`
[error] invalid-return-type - Return type does not match returned value: expected `((*_Ts@catch_log_exception) -> None) | ((*_Ts@catch_log_exception) -> Coroutine[Any, Any, None])`, found `_Wrapped[(*_Ts@catch_log_exception), Coroutine[Any, Any, None], (), CoroutineType[Any, Any, None]]`
[error] invalid-return-type - Return type does not match returned value: expected `((*_Ts@catch_log_exception) -> None) | ((*_Ts@catch_log_exception) -> Coroutine[Any, Any, None])`, found `_Wrapped[(*_Ts@catch_log_exception), Any, (), None]`
[error] invalid-return-type - Return type does not match returned value: expected `((*_Ts@catch_log_exception) -> None) | ((*_Ts@catch_log_exception) -> Coroutine[Any, Any, None])`, found `_Wrapped[(*_Ts@catch_log_exception), Any, (), None]`
[error] invalid-argument-type - Argument to function `log_exception` is incorrect: Expected `(tuple[*_Ts@catch_log_coro_exception], /) -> Any`, found `(*_Ts@catch_log_coro_exception) -> Any`

homeassistant/components/cast/const.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/device_tracker/const.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/ffmpeg/const.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/homekit/const.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`

homeassistant/components/mqtt/discovery.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`

homeassistant/components/persistent_notification/__init__.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/const.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/helpers/discovery.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`

homeassistant/util/signal_type.py

[error] not-subscriptable - Cannot subscript non-generic type `<class '_SignalTypeBase'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class '_SignalTypeBase'>`

homeassistant/components/backblaze_b2/backup.py

[error] invalid-yield - Yield type `(_T@next & ~None) | (_T@next & ~None) | (_VT@next & ~None)` does not match annotated yield type `bytes`

homeassistant/components/backup/manager.py

[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(int | None, /) -> str`, found `(bound method TextIOWrapper[_WrappedBuffer].read(size: int | None = -1, /) -> str) | (bound method BinaryIO.read(n: int = -1, /) -> bytes) | (bound method IO[Any].read(n: int = -1, /) -> Any)`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(bytes | str, /) -> int`, found `(bound method TextIOWrapper[_WrappedBuffer].write(s: str, /) -> int) | (Overload[(s: Buffer, /) -> int, (s: bytes, /) -> int]) | (Overload[(s: Buffer, /) -> int, (s: Any, /) -> int])`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(int | None, /) -> str`, found `(bound method TextIOWrapper[_WrappedBuffer].read(size: int | None = -1, /) -> str) | (bound method BinaryIO.read(n: int = -1, /) -> bytes) | (bound method IO[Any].read(n: int = -1, /) -> Any)`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(bytes | str, /) -> int`, found `(bound method TextIOWrapper[_WrappedBuffer].write(s: str, /) -> int) | (Overload[(s: Buffer, /) -> int, (s: bytes, /) -> int]) | (Overload[(s: Buffer, /) -> int, (s: Any, /) -> int])`
[error] invalid-yield - Yield type `(str & ~AlwaysFalsy) | (bytes & ~AlwaysFalsy) | (Any & ~AlwaysFalsy)` does not match annotated yield type `bytes`
[error] invalid-yield - Yield type `str & ~AlwaysFalsy` does not match annotated yield type `bytes`
[error] invalid-yield - Yield type `(str & ~AlwaysFalsy) | (bytes & ~AlwaysFalsy) | (Any & ~AlwaysFalsy)` does not match annotated yield type `bytes`
[error] invalid-yield - Yield type `str & ~AlwaysFalsy` does not match annotated yield type `bytes`

homeassistant/components/bthome/__init__.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/cloud/__init__.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/cloud/const.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/icloud/config_flow.py

[error] invalid-argument-type - Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Any]`, found `Any | None | bool | list[Any] | dict[Any, Any]`
[error] invalid-argument-type - Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Any]`, found `Any | None | bool | ... omitted 3 union elements`
[error] not-subscriptable - Cannot subscript object of type `_T@getattr` with no `__getitem__` method

homeassistant/components/knx/telegrams.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/media_player/__init__.py

[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(...) -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `() -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(...) -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `() -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(...) -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `() -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(...) -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `() -> Unknown`, found `object`

homeassistant/components/mqtt/client.py

[error] no-matching-overload - No overload of function `catch_log_exception` matches arguments

homeassistant/components/netgear/config_flow.py

[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(Any | str, Any | str | None, Unknown | bool | str | None, Unknown | int | None, Unknown | bool, /) -> Unknown`, found `def get_api(password: str, host: str | None = None, username: str | None = None, port: int | None = None, ssl: bool = False) -> Unknown`

homeassistant/components/onewire/onewirehub.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/components/panasonic_viera/__init__.py

[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(tuple[*_Ts@_handle_errors], /) -> _R@_handle_errors`, found `(*_Ts@_handle_errors) -> _R@_handle_errors`

homeassistant/components/rfxtrx/entity.py

[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(Any, tuple[*_Ts@_async_send], /) -> None`, found `(Unknown, /, *_Ts@_async_send) -> None`

homeassistant/config_entries.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

homeassistant/core.py

[error] invalid-argument-type - Argument to bound method `AbstractEventLoop.call_soon_threadsafe` is incorrect: Expected `(tuple[*_Ts@add_job], /) -> object`, found `((*_Ts@add_job) -> Any) & ~Coroutine[object, Never, object]`
[error] invalid-argument-type - Argument to bound method `AbstractEventLoop.run_in_executor` is incorrect: Expected `(tuple[*_Ts@async_add_executor_job], /) -> _T@async_add_executor_job`, found `(*_Ts@async_add_executor_job) -> _T@async_add_executor_job`
[error] invalid-argument-type - Argument to bound method `AbstractEventLoop.run_in_executor` is incorrect: Expected `(tuple[*_Ts@async_add_import_executor_job], /) -> _T@async_add_import_executor_job`, found `(*_Ts@async_add_import_executor_job) -> _T@async_add_import_executor_job`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_create_task` is incorrect: Expected `Coroutine[Any, Any, _R@async_add_job]`, found `(((...) -> Coroutine[Any, Any, _R@async_add_job] | _R@async_add_job) & Coroutine[object, Never, object]) | Coroutine[Any, Any, _R@async_add_job]`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_create_task` is incorrect: Expected `Coroutine[Any, Any, _R@async_add_job]`, found `(((*_Ts@async_add_job) -> Coroutine[Any, Any, _R@async_add_job] | _R@async_add_job) & Coroutine[object, Never, object]) | Coroutine[Any, Any, _R@async_add_job]`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_create_task` is incorrect: Expected `Coroutine[Any, Any, _R@async_run_job]`, found `(((...) -> Coroutine[Any, Any, _R@async_run_job] | _R@async_run_job) & Coroutine[object, Never, object]) | Coroutine[Any, Any, _R@async_run_job]`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_create_task` is incorrect: Expected `Coroutine[Any, Any, _R@async_run_job]`, found `(((*_Ts@async_run_job) -> Coroutine[Any, Any, _R@async_run_job] | _R@async_run_job) & Coroutine[object, Never, object]) | Coroutine[Any, Any, _R@async_run_job]`

homeassistant/helpers/dispatcher.py

[error] invalid-argument-type - Argument to function `run_callback_threadsafe` is incorrect: Expected `(HomeAssistant, SignalType[*tuple[*_Ts@dispatcher_connect]] | str, ((*_Ts@dispatcher_connect) -> None) | ((*_Ts@async_dispatcher_connect) -> Any) | ((...) -> Any), /) -> (() -> None)`, found `Overload[[*_Ts](hass: HomeAssistant, signal: SignalType[*tuple[*_Ts]], target: (*_Ts) -> Any) -> (() -> None), (hass: HomeAssistant, signal: str, target: (...) -> Any) -> (() -> None)]`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `TypeAliasType`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `TypeAliasType`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `TypeAliasType`

homeassistant/helpers/entity.py

[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(...) -> Unknown`, found `object`
[error] invalid-argument-type - Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `() -> Unknown`, found `object`

homeassistant/helpers/script.py

[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`

homeassistant/util/signal_type.pyi

[error] no-matching-overload - No overload of function `async_dispatcher_connect` matches arguments
[error] no-matching-overload - No overload of function `async_dispatcher_connect` matches arguments
[error] no-matching-overload - No overload of function `async_dispatcher_send` matches arguments
[error] not-subscriptable - Cannot subscript non-generic type `<class '_SignalTypeBase'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class '_SignalTypeBase'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] type-assertion-failure - Type `SignalType[]` does not match asserted type `Unknown`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
[error] type-assertion-failure - Type `SignalTypeFormat[]` does not match asserted type `Unknown`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
[error] not-subscriptable - Cannot subscript non-generic type `<class 'SignalType'>`

django-modern-rest (https://github.com/wemake-services/django-modern-rest)

dmr/problem_details.py

[error] invalid-type-form - Tuple literals are not allowed in this context in a type expression
[error] invalid-type-form - Tuple literals are not allowed in this context in a type expression: Did you mean `tuple[ProblemDetailsModel, tuple[Unknown, ...]]`?

docstring-adder (https://github.com/astral-sh/docstring-adder)

add_docstrings.py

[error] unused-ignore-comment - Unused `ty: ignore` directive

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

python/egglog/builtins.py

[error] no-matching-overload - No overload of function `get_literal_value` matches arguments
[error] invalid-type-form - Function calls are not allowed in type expressions
[error] invalid-type-form - Function calls are not allowed in type expressions
[error] invalid-type-form - Function calls are not allowed in type expressions
[error] no-matching-overload - No overload of function `get_callable_args` matches arguments
[error] no-matching-overload - No overload of function `get_callable_args` matches arguments
[error] no-matching-overload - No overload of function `get_callable_args` matches arguments
[error] invalid-return-type - Return type does not match returned value: expected `[T'return](...) -> T'return`, found `str`
[error] empty-body - Function always implicitly returns `None`, which is not assignable to return type `T@__call__`
[error] empty-body - Function always implicitly returns `None`, which is not assignable to return type `T@UnstableFn`

python/egglog/deconstruct.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[*TS@get_callable_args] | None`, found `tuple[object, ...]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[*TS@get_callable_args] | None`, found `tuple[object, ...]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[*TS@get_callable_args] | None`, found `tuple[object, ...]`

python/egglog/egraph.py

[error] invalid-argument-type - Argument to bound method `Thunk.fn` is incorrect: Expected `(*args: Unknown) -> Unknown`, found `def _generate_class_decls(namespace: dict[str, Any], frame: FrameType, builtin: bool, egg_sort: str | None, cls_ident: Ident, ruleset: Ruleset | None, runtime_cls: RuntimeClass) -> Declarations`
[error] invalid-argument-type - Argument to bound method `Thunk.fn` is incorrect: Expected `(*args: Unknown) -> Unknown`, found `bound method Self@__call__.create_decls(fn: (...) -> Unknown) -> tuple[Declarations, FunctionRef | ConstantRef | MethodRef | ... omitted 5 union elements]`
[error] invalid-argument-type - Argument to bound method `Thunk.fn` is incorrect: Expected `(*args: Unknown) -> Unknown`, found `def _add_default_rewrite_function(decls: Declarations, ref: FunctionRef | MethodRef | PropertyRef | ClassMethodRef | InitRef, fn: (...) -> Unknown, args: Iterable[TypedExprDecl], ruleset: Ruleset | None, subsume: bool, res_type: TypeVarRef | TypeRefWithVars, mutates_first_arg: bool) -> None`
[error] invalid-argument-type - Argument to bound method `Thunk.fn` is incorrect: Expected `(*args: Unknown) -> Unknown`, found `def _relation_decls(ident: Ident, tps: tuple[type, ...], egg_fn: str | None) -> Declarations`
[error] invalid-argument-type - Argument to bound method `Thunk.fn` is incorrect: Expected `(*args: Unknown) -> Unknown`, found `def _constant_thunk(name: str, tp: type, egg_name: str | None, default_replacement: object, ruleset: Ruleset | None) -> tuple[Declarations, TypedExprDecl]`
[error] invalid-argument-type - Argument to bound method `Thunk.fn` is incorrect: Expected `(*args: Unknown) -> Unknown`, found `def _rewrite_or_rule_generator(gen: (...) -> Iterable[RewriteOrRule], frame: FrameType) -> Iterable[RewriteOrRule]`

python/egglog/thunk.py

[error] unbound-type-variable - Type variable `T` is not bound to any outer generic context
[error] invalid-return-type - Function can implicitly return `None`, which is not assignable to return type `T@__call__`
[error] invalid-argument-type - Argument is incorrect: Expected `(...) -> TypeVar`, found `(...) -> T@fn`
[error] invalid-return-type - Return type does not match returned value: expected `Thunk[T@Thunk, *tuple[*TS@Thunk]]`, found `Self@fn`

python/tests/test_unstable_fn.py

[error] invalid-argument-type - Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
[error] invalid-argument-type - Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
[error] invalid-argument-type - Argument to `UnstableFn.__init__` is incorrect: Expected `(UnstableFn[Math, Math | i64 | int | String | str], UnstableFn[Math, Math | i64 | int | String | str], Math, /) -> Math`, found `def composed_math(f: UnstableFn[Math, Math], g: UnstableFn[Math, Math], x: Math) -> Math`
[error] invalid-argument-type - Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[T@UnstableFn, TS@UnstableFn]`
[error] invalid-argument-type - Argument to function `composed_i64_math` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
[error] invalid-argument-type - Argument to function `composed_i64_math` is incorrect: Expected `UnstableFn[i64, i64]`, found `UnstableFn[i64, i64 | int]`
[error] invalid-argument-type - Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `def square(x: Math | i64 | int | String | str) -> Math`
[error] invalid-argument-type - Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
[error] invalid-argument-type - Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `partial[(other: Math | i64 | int | String | str) -> Math]`
[error] invalid-argument-type - Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`

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

koda_validate/generic.py

[error] invalid-argument-type - Argument to bound method `bytes.strip` is incorrect: Expected `bytes`, found `StrOrBytes@NotBlank`
[error] no-matching-overload - No overload of bound method `str.strip` matches arguments
[error] invalid-argument-type - Argument to bound method `bytes.startswith` is incorrect: Expected `bytes`, found `StrOrBytes@StartsWith`
[error] invalid-argument-type - Argument to bound method `str.startswith` is incorrect: Expected `str`, found `StrOrBytes@StartsWith`
[error] invalid-argument-type - Argument to bound method `bytes.endswith` is incorrect: Expected `bytes`, found `StrOrBytes@EndsWith`
[error] invalid-argument-type - Argument to bound method `str.endswith` is incorrect: Expected `str`, found `StrOrBytes@EndsWith`
[error] invalid-return-type - Return type does not match returned value: expected `StrOrBytes@Strip`, found `Unknown | bytes`
[error] invalid-return-type - Return type does not match returned value: expected `StrOrBytes@Strip`, found `str | bytes`
[error] invalid-argument-type - Argument to bound method `bytes.strip` is incorrect: Expected `bytes`, found `StrOrBytes@Strip`
[error] no-matching-overload - No overload of bound method `str.strip` matches arguments
[error] invalid-return-type - Return type does not match returned value: expected `StrOrBytes@UpperCase`, found `Unknown | bytes`
[error] invalid-return-type - Return type does not match returned value: expected `StrOrBytes@UpperCase`, found `str | bytes`
[error] invalid-argument-type - Argument to bound method `bytes.upper` is incorrect: Expected `bytes`, found `StrOrBytes@UpperCase`
[error] no-matching-overload - No overload of bound method `str.upper` matches arguments
[error] invalid-return-type - Return type does not match returned value: expected `StrOrBytes@LowerCase`, found `Unknown | bytes`
[error] invalid-return-type - Return type does not match returned value: expected `StrOrBytes@LowerCase`, found `str | bytes`
[error] invalid-argument-type - Argument to bound method `bytes.lower` is incorrect: Expected `bytes`, found `StrOrBytes@LowerCase`
[error] no-matching-overload - No overload of bound method `str.lower` matches arguments

operator (https://github.com/canonical/operator)

ops/pebble.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method AnyStr@ExecError.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str) | (Overload[(key: SupportsIndex, /) -> int, (key: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> bytes])` cannot be called with key of type `slice[None, int, None]` on object of type `AnyStr@ExecError`

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

pandas/core/algorithms.py

[error] no-matching-overload - No overload of bound method `ExtensionArray.astype` matches arguments
[error] invalid-return-type - Return type does not match returned value: expected `ArrayLikeT@_reconstruct_data`, found `ndarray[tuple[Any, ...], dtype[Any]] | Unknown`

pandas/core/dtypes/cast.py

[error] invalid-argument-type - Argument to bound method `Index.astype` is incorrect: Expected `Index`, found `NumpyIndexT@maybe_upcast_numeric_to_64bit`
[error] invalid-argument-type - Argument to bound method `Index.astype` is incorrect: Expected `Index`, found `NumpyIndexT@maybe_upcast_numeric_to_64bit`
[error] invalid-argument-type - Argument to bound method `Index.astype` is incorrect: Expected `Index`, found `NumpyIndexT@maybe_upcast_numeric_to_64bit`

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

src/pip/_vendor/rich/progress.py

[error] invalid-argument-type - Argument to bound method `BinaryIO.__enter__` is incorrect: Expected `BinaryIO`, found `_I@_ReadContext`
[error] invalid-argument-type - Argument to bound method `TextIO.__enter__` is incorrect: Expected `TextIO`, found `_I@_ReadContext`

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

src/prefect/utilities/templating/__init__.py

[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@apply_values | Unknown`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@apply_values`
[error] no-matching-overload - No overload of bound method `str.replace` matches arguments
[error] invalid-assignment - Object of type `str` is not assignable to `T@apply_values`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@apply_values | Unknown`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@apply_values`
[error] no-matching-overload - No overload of bound method `str.replace` matches arguments
[error] invalid-assignment - Object of type `str` is not assignable to `T@apply_values`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@resolve_variables | Unknown`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@resolve_variables`
[error] no-matching-overload - No overload of bound method `str.replace` matches arguments
[error] invalid-assignment - Object of type `str` is not assignable to `T@resolve_variables`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@resolve_variables | Unknown`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@resolve_variables`
[error] no-matching-overload - No overload of bound method `str.replace` matches arguments
[error] invalid-assignment - Object of type `str` is not assignable to `T@resolve_variables`

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

pwndbg/aglib/heap/ptmalloc.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["num_slots"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["counts"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["entries"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["tcache_small_bins"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["tcache_bins"]` on object of type `TheValue@GlibcMemoryAllocator`
[error] invalid-argument-type - Argument to bound method `Type.keys` is incorrect: Expected `Type`, found `TheType@GlibcMemoryAllocator`
[error] invalid-argument-type - Argument to bound method `Type.keys` is incorrect: Expected `Type`, found `TheType@GlibcMemoryAllocator`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method TheValue@GlibcMemoryAllocator.__getitem__(idx: int | str) -> Value) | (bound method TheValue@GlibcMemoryAllocator.__getitem__(key: str) -> Value)` cannot be called with key of type `Literal["tcache_count"]` on object of type `TheValue@GlibcMemoryAllocator`

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

pylint/checkers/unicode.py

[error] invalid-argument-type - Argument to bound method `bytes.endswith` is incorrect: Expected `bytes`, found `_StrLike@_map_positions_to_result`
[error] invalid-argument-type - Argument to bound method `str.endswith` is incorrect: Expected `str`, found `_StrLike@_map_positions_to_result`
[error] invalid-argument-type - Argument to bound method `bytes.find` is incorrect: Expected `bytes`, found `_StrLike@_map_positions_to_result`
[error] invalid-argument-type - Argument to bound method `str.find` is incorrect: Expected `str`, found `_StrLike@_map_positions_to_result`
[error] invalid-argument-type - Argument to bound method `bytes.find` is incorrect: Expected `bytes`, found `_StrLike@_map_positions_to_result`
[error] invalid-argument-type - Argument to bound method `str.find` is incorrect: Expected `str`, found `_StrLike@_map_positions_to_result`

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

rich/progress.py

[error] invalid-argument-type - Argument to bound method `BinaryIO.__enter__` is incorrect: Expected `BinaryIO`, found `_I@_ReadContext`
[error] invalid-argument-type - Argument to bound method `TextIO.__enter__` is incorrect: Expected `TextIO`, found `_I@_ReadContext`

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

scipy-stubs/integrate/_ivp/ivp.pyi

[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive

scipy-stubs/integrate/_ode.pyi

[error] invalid-method-override - Invalid override of method `set_integrator`: Definition is incompatible with `ode.set_integrator`

scipy-stubs/integrate/_odepack_py.pyi

[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive

scipy-stubs/optimize/_lbfgsb_py.pyi

[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive
[error] unused-ignore-comment - Unused `ty: ignore` directive

scipy-stubs/stats/_morestats.pyi

[error] invalid-generic-class - Variance of type variable `_NDT_co` is incompatible with base class `BaseBunch`

scipy-stubs/stats/_stats_py.pyi

[error] invalid-generic-class - Variance of type variable `_FloatOrArrayT_co` is incompatible with base class `BaseBunch`

tests/integrate/test_ode.pyi

[error] type-assertion-failure - Type `ode[Any, int | float]` does not match asserted type `ode[complex128, int | float]`
[error] invalid-argument-type - Argument to `ode.__init__` is incorrect: Expected `(int | float, Unknown, /, *args: tuple[Any, ...]) -> int | float | complex | ToComplex1D`, found `def f(t: int | float, y: ndarray[tuple[Any, ...], dtype[complex128]], arg1: int | float) -> list[complex128]`
[error] invalid-argument-type - Argument to `ode.__init__` is incorrect: Expected `((int | float, Unknown, /, *args: tuple[Any, ...]) -> int | float | complex | ToComplex2D) | None`, found `def jac(t: int | float, y: ndarray[tuple[Any, ...], dtype[complex128]], arg1: int | float) -> list[list[complex128 | int]]`
[error] type-assertion-failure - Type `complex_ode[_Ts@complex_ode]` does not match asserted type `complex_ode[int | float]`
[error] invalid-argument-type - Argument to bound method `ode.set_f_params` is incorrect: Expected `_Ts@complex_ode`, found `float`
[error] invalid-argument-type - Argument to bound method `ode.set_jac_params` is incorrect: Expected `_Ts@complex_ode`, found `float`
[error] type-assertion-failure - Type `@Todo` does not match asserted type `int | float`
[error] type-assertion-failure - Type `@Todo` does not match asserted type `int | float`

tests/optimize/test_fmin_l_bfgs_b.pyi

[error] no-matching-overload - No overload of function `fmin_l_bfgs_b` matches arguments
[error] no-matching-overload - No overload of function `fmin_l_bfgs_b` matches arguments

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

scrapy/http/headers.py

[error] invalid-argument-type - Argument to bound method `bytes.title` is incorrect: Expected `bytes`, found `AnyStr@normkey`
[error] no-matching-overload - No overload of bound method `str.title` matches arguments

scrapy/utils/asyncio.py

[error] invalid-argument-type - Argument to bound method `AbstractEventLoop.call_later` is incorrect: Expected `(tuple[*_Ts@call_later], /) -> object`, found `(*_Ts@call_later) -> object`

scrapy/utils/datatypes.py

[error] invalid-return-type - Return type does not match returned value: expected `AnyStr@normkey`, found `Unknown | bytes`
[error] invalid-return-type - Return type does not match returned value: expected `AnyStr@normkey`, found `str | bytes`
[error] invalid-argument-type - Argument to bound method `bytes.lower` is incorrect: Expected `bytes`, found `AnyStr@normkey`
[error] no-matching-overload - No overload of bound method `str.lower` matches arguments

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

setuptools/_distutils/command/install_egg_info.py

[error] invalid-argument-type - Argument to bound method `Command.execute` is incorrect: Expected `tuple[str | bytes | PathLike[str] | PathLike[bytes], int, bool]`, found `tuple[None | Unknown]`

setuptools/_distutils/command/sdist.py

[error] invalid-argument-type - Argument to bound method `Command.execute` is incorrect: Expected `(str | bytes | PathLike[str] | PathLike[bytes] | None, Iterable[str], /) -> object`, found `def write_file(filename: str | bytes | PathLike[str] | PathLike[bytes], contents: Iterable[str]) -> None`

setuptools/_distutils/util.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method AnyStr@change_root.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str) | (Overload[(key: SupportsIndex, /) -> int, (key: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> bytes])` cannot be called with key of type `slice[Literal[1], None, None]` on object of type `AnyStr@change_root`
[error] unresolved-attribute - Object of type `(...) -> object` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(*_Ts@execute) -> object` has no attribute `__name__`

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

lib/spack/spack/vendor/markupsafe/__init__.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Any` and value of type `Markup` on object of type `_ListOrDict@_escape_argspec`

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

starlette/concurrency.py

[error] invalid-yield - Yield type `T@_next` does not match annotated yield type `T@iterate_in_threadpool`

tests/test_requests.py

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

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

static_frame/test/typing/test_index_hierarchy.py

[error] invalid-argument-type - Argument to function `proc1` is incorrect: Expected `IndexHierarchy[*tuple[Index[signedinteger[_64Bit]], ...]]`, found `IndexHierarchy[Index[signedinteger[_64Bit]], Index[signedinteger[_64Bit]]]`
[error] invalid-argument-type - Argument to function `proc1` is incorrect: Expected `IndexHierarchy[*tuple[Index[signedinteger[_64Bit]], ...]]`, found `IndexHierarchy[Index[signedinteger[_64Bit]], Index[signedinteger[_64Bit]], Index[signedinteger[_64Bit]]]`

static_frame/core/archive_npy.py

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

static_frame/core/container_util.py

[error] invalid-argument-type - Argument to bound method `IndexBase.values_at_depth` is incorrect: Expected `int | list[int]`, found `int | (list[int] & Top[integer[Any]]) | (ndarray[Any, dtype[signedinteger[_64Bit]]] & Top[integer[Any]])`

static_frame/core/frame.py

[error] invalid-argument-type - Argument to `Frame.__init__` is incorrect: Expected `Iterable[Iterable[Any]] | Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `Self@from_xlsx`, found `Frame[Any, Any, *tuple[Any, ...]]`
[error] invalid-return-type - Return type does not match returned value: expected `Self@from_sqlite`, found `Frame[Any, Any, *tuple[Any, ...]]`
[error] invalid-yield - Yield type `tuple[Hashable, TypeBlocks | ndarray[Any, Any]]` does not match annotated yield type `tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]]`
[error] invalid-assignment - Object of type `list[ndarray[Any, Any] | Any | Series[Any, Any]]` is not assignable to `list[ndarray[Any, Any]] | None`
[error] unresolved-attribute - Attribute `_blocks` is not defined on `Series[Any, Any]` in union `Series[Any, Any] | Frame[Any, Any, *tuple[Any, ...]]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] possibly-unresolved-reference - Name `labels_insert` used when possibly not defined
[warning] possibly-unresolved-reference - Name `blocks_insert` used when possibly not defined
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] invalid-assignment - Object of type `list[ndarray[Any, Any] | ndarray[tuple[Any, ...], Any] | Any | Series[Any, Any]]` is not assignable to `list[ndarray[Any, Any]] | None`

static_frame/core/index.py

[error] invalid-argument-type - Argument to `IterNode.__init__` is incorrect: Argument type `Self@iter_label` does not satisfy constraints (`Frame[Any, Any, *tuple[Any, ...]]`, `Series[Any, Any]`, `Bus[Any]`, `Quilt`, `Yarn[Any]`) of type variable `TContainerAny`

static_frame/core/index_hierarchy.py

[error] invalid-argument-type - Argument to `IterNode.__init__` is incorrect: Argument type `Self@iter_label` does not satisfy constraints (`Frame[Any, Any, *tuple[Any, ...]]`, `Series[Any, Any]`, `Bus[Any]`, `Quilt`, `Yarn[Any]`) of type variable `TContainerAny`
[error] invalid-argument-type - Argument to `IndexHierarchy.__init__` is incorrect: Expected `IndexHierarchy[*tuple[Any, ...]] | list[Index[Any]]`, found `list[IndexBase]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] not-iterable - Object of type `ndarray[tuple[object, ...], dtype[object]] & ~int & ~Top[integer[Any]] & ~IndexHierarchy & ~Top[list[Unknown]]` is not iterable
[error] not-iterable - Object of type `ndarray[tuple[object, ...], dtype[object]] & ~int & ~Top[integer[Any]] & ~Top[IndexHierarchy[*tuple[Any, ...]]] & ~Top[list[Unknown]]` is not iterable

static_frame/core/interface.py

[error] invalid-return-type - Return type does not match returned value: expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Series[Any, Any]`

static_frame/core/join.py

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

static_frame/core/mfc_mapping.py

[error] invalid-yield - Yield type `tuple[Hashable, @Todo]` does not match annotated yield type `tuple[TVKeys@MFCMappingItemsView, @Todo]`
[error] invalid-yield - Yield type `tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]]]` does not match annotated yield type `tuple[TVKeys@MFCMappingItemsView, Frame[Any, Any, *tuple[Any, ...]]]`

static_frame/core/node_fill_value.py

[error] invalid-assignment - Object of type `TVContainer_co@InterfaceFillValue` is not assignable to `Series[Any, Any]`
[error] invalid-assignment - Object of type `TVContainer_co@InterfaceFillValue` is not assignable to `Frame`
[error] invalid-assignment - Object of type `TVContainer_co@InterfaceFillValue` is not assignable to `Frame[Any, Any, *tuple[Any, ...]]`

static_frame/core/node_iter.py

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

static_frame/core/pivot.py

[error] invalid-argument-type - Argument is incorrect: Expected `Iterable[Sequence[Hashable]]`, found `IndexBase`
[error] invalid-argument-type - Argument is incorrect: Expected `Iterable[Sequence[Hashable]]`, found `list[Hashable]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

static_frame/core/protocol_dfi.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Series[Any, Any], (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> Frame[Any, Any, *tuple[Any, ...]], (key: tuple[int | integer[Any], ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None]) -> Series[Any, Any], (key: tuple[ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None, int | integer[Any]]) -> Series[Any, Any], (key: tuple[ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None, ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None]) -> Frame[Any, Any, *tuple[Any, ...]], (key: tuple[int | integer[Any], int | integer[Any]]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> Frame[Any, Any, *tuple[Any, ...]], (key: int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements) -> Any]` cannot be called with key of type `tuple[slice[Any, Any, Any], Sequence[int] & Top[list[Unknown]]]` on object of type `InterGetItemILocCompoundReduces[Frame[Any, Any, *tuple[Any, ...]]]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

static_frame/core/quilt.py

[error] unresolved-attribute - Attribute `level_drop` is not defined on `None` in union `@Todo | IndexHierarchy | None`
[error] invalid-assignment - Object of type `@Todo | IndexHierarchy | None` is not assignable to attribute `_index` of type `IndexBase`
[error] unresolved-attribute - Attribute `level_drop` is not defined on `None` in union `@Todo | IndexHierarchy | None`
[error] invalid-assignment - Object of type `@Todo | IndexHierarchy | None` is not assignable to attribute `_columns` of type `IndexBase`
[error] unresolved-attribute - Attribute `columns` is not defined on `Series[Any, Any]` in union `Frame | Series[Any, Any]`
[error] unresolved-attribute - Attribute `columns` is not defined on `Series[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`

static_frame/core/reduce.py

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

static_frame/core/store.py

[error] unresolved-attribute - Object of type `IndexBase` has no attribute `dtypes`
[error] invalid-yield - Yield type `object` does not match annotated yield type `Frame[Any, Any, *tuple[Any, ...]]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[str]`, found `Sequence[Hashable]`
[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[str]`, found `range`

static_frame/core/store_config.py

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

static_frame/core/store_xlsx.py

[error] invalid-yield - Yield type `object` does not match annotated yield type `Frame[Any, Any, *tuple[Any, ...]]`

static_frame/core/store_zip.py

[error] invalid-yield - Yield type `object` does not match annotated yield type `Frame[Any, Any, *tuple[Any, ...]]`
[error] invalid-yield - Yield type `object` does not match annotated yield type `Frame[Any, Any, *tuple[Any, ...]]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

static_frame/core/yarn.py

[error] invalid-assignment - Object of type `Hashable` is not assignable to `int`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] invalid-return-type - Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Unknown, Frame]`
[error] invalid-return-type - Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Unknown, Frame[Any, Any, *tuple[Any, ...]]]`

static_frame/test/property/strategies.py

[error] invalid-argument-type - Argument to class `partial` is incorrect: Expected `type[Index[Any]]`, found `<class 'IndexHierarchy'>`
[error] invalid-argument-type - Argument to class `partial` is incorrect: Expected `type[Index[Any]]`, found `<class 'IndexHierarchy'>`
[error] invalid-argument-type - Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy`, found `bound method type[Index[Any]].from_labels(labels: Iterable[Hashable], /, *, name: Hashable = None) -> Index[Any]`
[error] invalid-argument-type - Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy[*tuple[Any, ...]]`, found `bound method type[Index[Any]].from_labels(labels: Iterable[Hashable], /, *, name: Hashable = None) -> Index[Any]`
[error] unresolved-attribute - Unresolved attribute `__name__` on type `partial[(*, min_rows: int = 1, max_rows: int = 12, min_columns: int = 1, max_columns: int = 12, cls: type[Frame] = ..., dtype_group: DTGroup = DTGroup.NUMERIC, index_cls: type[Index[Any]] = ..., index_dtype_group: DTGroup | None = DTGroup.DATE, columns_cls: type[Index[Any]] = ..., columns_dtype_group: DTGroup | None = DTGroup.STRING) -> Unknown]`
[error] unresolved-attribute - Unresolved attribute `__name__` on type `partial[(*, min_rows: int = 1, max_rows: int = 12, min_columns: int = 1, max_columns: int = 12, cls: type[Frame[Any, Any, *tuple[Any, ...]]] = ..., dtype_group: DTGroup = DTGroup.NUMERIC, index_cls: type[Index[Any]] = ..., index_dtype_group: DTGroup | None = DTGroup.DATE, columns_cls: type[Index[Any]] = ..., columns_dtype_group: DTGroup | None = DTGroup.STRING) -> Unknown]`
[error] unresolved-attribute - Unresolved attribute `__name__` on type `partial[(*, min_rows: int = 1, max_rows: int = 12, min_columns: int = 1, max_columns: int = 12, cls: type[Frame] = ..., dtype_group: DTGroup = DTGroup.ALL, index_cls: type[Index[Any]] = ..., index_dtype_group: DTGroup | None = None, columns_cls: type[Index[Any]] = ..., columns_dtype_group: DTGroup | None = None) -> Unknown]`
[error] unresolved-attribute - Unresolved attribute `__name__` on type `partial[(*, min_rows: int = 1, max_rows: int = 12, min_columns: int = 1, max_columns: int = 12, cls: type[Frame[Any, Any, *tuple[Any, ...]]] = ..., dtype_group: DTGroup = DTGroup.ALL, index_cls: type[Index[Any]] = ..., index_dtype_group: DTGroup | None = None, columns_cls: type[Index[Any]] = ..., columns_dtype_group: DTGroup | None = None) -> Unknown]`

static_frame/test/property/test_archive_npy.py

[error] invalid-argument-type - Argument to bound method `NPYConverter.to_npy` is incorrect: Expected `ndarray[Any, Any]`, found `Frame[Any, Any, *tuple[Any, ...]]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertAlmostEqualArray` is incorrect: Expected `ndarray[Any, Any]`, found `Frame[Any, Any, *tuple[Any, ...]]`
[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `flat`
[error] invalid-argument-type - Argument to bound method `TestCase.assertAlmostEqualArray` is incorrect: Expected `ndarray[Any, Any]`, found `Frame[Any, Any, *tuple[Any, ...]]`
[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `flat`

static_frame/test/property/test_strategies.py

[error] invalid-argument-type - Argument to function `get_frame` is incorrect: Expected `type[Index[Any]]`, found `<class 'IndexHierarchy'>`
[error] invalid-argument-type - Argument to function `get_frame` is incorrect: Expected `type[Index[Any]]`, found `<class 'IndexHierarchy'>`

static_frame/test/typing/test_frame.py

[error] invalid-assignment - Object of type `Series[Any, Any]` is not assignable to `Frame[Any, Any, *tuple[Any, ...]]`
[error] invalid-assignment - Object of type `Series[Any, Any]` is not assignable to `Frame[Any, Any, *tuple[Any, ...]]`
[error] invalid-assignment - Object of type `Series[Any, Any]` is not assignable to `Frame[Any, Any, *tuple[Any, ...]]`
[error] invalid-assignment - Object of type `Frame[IndexDate, Index[str_], signedinteger[_64Bit], numpy.bool[builtins.bool]]` is not assignable to `Frame[IndexDate, Index[str_], *tuple[*tuple[signedinteger[_64Bit], ...], numpy.bool[builtins.bool]]]`
[error] invalid-assignment - Object of type `Frame[IndexDate, Index[str_], signedinteger[_64Bit], signedinteger[_64Bit], signedinteger[_64Bit], numpy.bool[builtins.bool]]` is not assignable to `Frame[IndexDate, Index[str_], *tuple[*tuple[signedinteger[_64Bit], ...], numpy.bool[builtins.bool]]]`

static_frame/test/unit/test_archive_npy.py

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

static_frame/test/unit/test_batch.py

[error] invalid-argument-type - Argument to bound method `Batch.from_frames` is incorrect: Expected `Iterable[Frame[Any, Any, *tuple[Any, ...]]]`, found `GeneratorType[Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any], None, None]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertEqualFrames` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertEqualFrames` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertEqualFrames` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertEqualFrames` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertEqualFrames` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertEqualFrames` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `Frame`, found `Series[Any, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Series[Any, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `Frame`, found `Series[Any, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Series[Any, Any]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Series[Any, Any]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegate[Series[Any, Any]]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegateReducible[Frame[Any, Any, *tuple[Any, ...]]]`

static_frame/test/unit/test_bus.py

[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `status`
[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `status`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `Series[Any, Any]` on object of type `IndexBase`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `Series[Any, Any]` on object of type `IndexBase`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `Series[Any, Any]` on object of type `IndexBase`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `Series[Any, Any]` on object of type `IndexBase`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `Series[Any, Any]` on object of type `IndexBase`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `Series[Any, Any]` on object of type `IndexBase`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `Series[Any, Any]` on object of type `IndexBase`
[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `status`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`

static_frame/test/unit/test_container_util.py

[error] no-matching-overload - No overload of function `matmul` matches arguments
[error] no-matching-overload - No overload of function `matmul` matches arguments
[error] no-matching-overload - No overload of function `matmul` matches arguments
[error] no-matching-overload - No overload of function `matmul` matches arguments
[error] no-matching-overload - No overload of function `matmul` matches arguments
[error] invalid-argument-type - Argument to function `container_to_exporter_attr` is incorrect: Expected `type[Frame[Any, Any, *tuple[Any, ...]]]`, found `<class 'Series'>`
[error] unresolved-attribute - Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
[error] unresolved-attribute - Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
[error] unresolved-attribute - Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
[error] unresolved-attribute - Object of type `generic[Any]` has no attribute `to_pairs`
[error] unresolved-attribute - Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
[error] unresolved-attribute - Object of type `generic[Any]` has no attribute `to_pairs`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
[error] unresolved-attribute - Object of type `ndarray[Any, Any]` has no attribute `to_pairs`

static_frame/test/unit/test_frame.py

[error] invalid-argument-type - Argument to bound method `FrameGO.extend_items` is incorrect: Expected `Iterable[tuple[Hashable, Series[Any, Any]]]`, found `_odict_items[str, ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] invalid-argument-type - Argument to bound method `FrameGO.extend` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`, found `Literal["a"]`
[error] invalid-argument-type - Argument to bound method `Frame._insert` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`, found `Literal["a"]`
[error] invalid-argument-type - Argument to bound method `IndexHierarchy.from_labels` is incorrect: Expected `Iterable[Sequence[Hashable]]`, found `IndexBase`
[error] invalid-argument-type - Argument to bound method `Frame.get` is incorrect: Expected `Series[Any, Any] | None`, found `Literal[-1]`
[error] invalid-argument-type - Argument to bound method `InterfaceFrameAsType.__call__` is incorrect: Expected `str | dtype[Any] | type | None`, found `dict[str | int, <class 'bool'>]`
[error] invalid-argument-type - Argument to bound method `Frame.clip` is incorrect: Expected `int | float | Series[Any, Any] | Frame[Any, Any, *tuple[Any, ...]] | None`, found `tuple[Literal[3], Literal[4]]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Attribute `equals` is not defined on `signedinteger[_64Bit]` in union `signedinteger[_64Bit] | Frame`
[error] unresolved-attribute - Attribute `equals` is not defined on `signedinteger[_64Bit]` in union `signedinteger[_64Bit] | Frame`
[error] unresolved-attribute - Object of type `float64` has no attribute `equals`
[error] unresolved-attribute - Attribute `equals` is not defined on `signedinteger[_64Bit]` in union `signedinteger[_64Bit] | Frame`
[error] unresolved-attribute - Attribute `equals` is not defined on `signedinteger[_64Bit]` in union `signedinteger[_64Bit] | Frame`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] invalid-argument-type - Argument to `Frame.__init__` is incorrect: Expected `Iterable[Iterable[Any]] | Frame | Series[Any, Any]`, found `None`
[error] invalid-argument-type - Argument to `Frame.__init__` is incorrect: Expected `Iterable[Iterable[Any]] | Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`, found `None`

static_frame/test/unit/test_frame_he.py

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

static_frame/test/unit/test_frame_iter.py

[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `p` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `r` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `p` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `r` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] invalid-argument-type - Argument to bound method `IterNodeDepthLevelAxis.__call__` is incorrect: Expected `int | list[int]`, found `tuple[Literal[1], Literal[2]]`
[error] invalid-argument-type - Argument to bound method `IterNodeDepthLevelAxis.__call__` is incorrect: Expected `int | list[int]`, found `tuple[Literal[0], Literal[1]]`
[error] unresolved-attribute - Attribute `shape` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] invalid-argument-type - Argument to bound method `IterNodeGroupOtherReducible.__call__` is incorrect: Expected `Iterable[Any] | Index[Any] | Series[Any, Any]`, found `Frame[Any, Any, *tuple[Any, ...]]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | ndarray[Any, Any]`

static_frame/test/unit/test_frame_via_fill_value.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Attribute `columns` is not defined on `Series[Any, Any]` in union `@Todo | Series[Any, Any]`
[error] unresolved-attribute - Attribute `columns` is not defined on `Series[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`
[error] unresolved-attribute - Attribute `columns` is not defined on `Series[Any, Any]` in union `@Todo | Series[Any, Any]`
[error] unresolved-attribute - Attribute `columns` is not defined on `Series[Any, Any]` in union `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`

static_frame/test/unit/test_index.py

[error] invalid-argument-type - Argument to `Index.__init__` is incorrect: Expected `Iterable[Hashable]`, found `Frame[Any, Any, *tuple[Any, ...]]`

static_frame/test/unit/test_index_hierarchy.py

[error] invalid-argument-type - Argument to bound method `IndexHierarchy.from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `OrderedDict[str, OrderedDict[str, tuple[int, int]]]`
[error] invalid-argument-type - Argument to bound method `IndexHierarchy.from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `OrderedDict[str, OrderedDict[str, tuple[int] | tuple[int, int]]]`
[error] invalid-argument-type - Argument to bound method `IndexHierarchy.from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `OrderedDict[str, OrderedDict[str, tuple[int] | tuple[int, int]]]`
[error] invalid-argument-type - Argument to bound method `IndexHierarchy.from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `OrderedDict[str, OrderedDict[str, tuple[int] | tuple[int, int]]]`
[error] invalid-argument-type - Argument to bound method `IndexHierarchy.union` is incorrect: Expected `Iterable[Hashable]`, found `Frame[Any, Any, *tuple[Any, ...]]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `IndexHierarchy[*tuple[Any, ...]]` and `Literal[2]`
[error] unsupported-operator - Operator `@` is not supported between two objects of type `IndexHierarchy[*tuple[Any, ...]]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `IndexHierarchyGO[*tuple[Any, ...]]` and `Index[Any]`
[error] unsupported-operator - Operator `+` is not supported between two objects of type `IndexHierarchyGO[*tuple[Any, ...]]`
[error] unsupported-operator - Operator `@` is not supported between two objects of type `IndexHierarchy[*tuple[Any, ...]]`
[error] unresolved-attribute - Object of type `bool` has no attribute `tolist`
[error] unsupported-operator - Operator `+` is not supported between objects of type `IndexHierarchy[*tuple[Any, ...]]` and `Literal["_"]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Literal["_"]` and `IndexHierarchy[*tuple[Any, ...]]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `IndexHierarchy[*tuple[Any, ...]]` and `Literal[2]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `IndexHierarchyGO[*tuple[Any, ...]]` and `Literal[15]`
[error] unsupported-operator - Operator `*` is not supported between two objects of type `IndexHierarchyGO[*tuple[Any, ...]]`
[error] invalid-argument-type - Argument to bound method `InterfaceIndexHierarchyAsType.__call__` is incorrect: Expected `dtype[Any]`, found `<class 'str'>`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Object of type `str` has no attribute `tolist`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unsupported-operator - Operator `in` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[Any]]` and `IndexHierarchy`
[error] unsupported-operator - Operator `in` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[Any]]` and `IndexHierarchy[*tuple[Any, ...]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method InterfaceIndexHierarchyAsType[IndexHierarchy].__getitem__(key: int | list[int] | slice[Any, Any, Any] | ndarray[Any, dtype[signedinteger[_64Bit]]] | None) -> IndexHierarchyAsType` cannot be called with key of type `list[bool]` on object of type `InterfaceIndexHierarchyAsType[IndexHierarchy]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method InterfaceIndexHierarchyAsType[IndexHierarchy[*tuple[Any, ...]]].__getitem__(key: int | list[int] | slice[Any, Any, Any] | ndarray[Any, dtype[signedinteger[_64Bit]]] | None) -> IndexHierarchyAsType` cannot be called with key of type `list[bool]` on object of type `InterfaceIndexHierarchyAsType[IndexHierarchy[*tuple[Any, ...]]]`

static_frame/test/unit/test_interface.py

[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Iterable[tuple[Hashable, Any]]`

static_frame/test/unit/test_quilt.py

[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
[error] invalid-argument-type - Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`

static_frame/test/unit/test_series.py

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

static_frame/test/unit/test_store.py

[error] invalid-argument-type - Argument is incorrect: Expected `((Hashable, @Todo, /) -> @Todo) | None`, found `int`
[error] invalid-argument-type - Argument is incorrect: Expected `((Hashable, Frame[Any, Any, *tuple[Any, ...]], /) -> Frame[Any, Any, *tuple[Any, ...]]) | None`, found `int`
[error] invalid-argument-type - Argument is incorrect: Expected `((Hashable, @Todo, /) -> @Todo) | None`, found `int | ((x) -> Unknown)`
[error] invalid-argument-type - Argument is incorrect: Expected `((Hashable, Frame[Any, Any, *tuple[Any, ...]], /) -> Frame[Any, Any, *tuple[Any, ...]]) | None`, found `int | ((x) -> Unknown)`

static_frame/test/unit/test_store_config.py

[error] unresolved-attribute - Object of type `(...) -> Any` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((...) -> Any) | ((...) -> Frame[Any, Any, *tuple[Any, ...]])` has no attribute `__name__`

static_frame/test/unit/test_store_zip.py

[error] invalid-yield - Yield type `tuple[Hashable, Frame]` does not match annotated yield type `tuple[str, Frame]`
[error] invalid-yield - Yield type `tuple[Hashable, Frame[Any, Any, *tuple[Any, ...]]]` does not match annotated yield type `tuple[str, Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument is incorrect: Expected `((Hashable, @Todo, /) -> @Todo) | None`, found `int | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `((Hashable, Frame[Any, Any, *tuple[Any, ...]], /) -> Frame[Any, Any, *tuple[Any, ...]]) | None`, found `int | Unknown`

static_frame/test/unit/test_yarn.py

[error] invalid-argument-type - Argument to bound method `Yarn.from_concat` is incorrect: Expected `Iterable[Yarn[Any]]`, found `tuple[Frame[Any, Any, *tuple[Any, ...]], Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to bound method `Yarn.from_concat` is incorrect: Expected `Iterable[Yarn[Any]]`, found `tuple[Frame[Any, Any, *tuple[Any, ...]], Frame[Any, Any, *tuple[Any, ...]], Frame[Any, Any, *tuple[Any, ...]]]`
[error] invalid-argument-type - Argument to bound method `Yarn.from_concat` is incorrect: Expected `Iterable[Yarn[Any]]`, found `tuple[Frame[Any, Any, *tuple[Any, ...]], Frame[Any, Any, *tuple[Any, ...]], Frame[Any, Any, *tuple[Any, ...]]]`
[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `_values`
[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `_hierarchy`
[error] unresolved-attribute - Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `_hierarchy`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Attribute `size` is not defined on `tuple[Any, Any]` in union `@Todo | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `size` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`

steam.py (https://github.com/Gobot1234/steam.py)

steam/ext/commands/commands.py

flaky
(1/10)
[error] invalid-argument-type - Argument to bound method `GroupMixin.remove_all_commands` is incorrect: Argument type `Command[CogT@GroupMixin, (...), Any] & GroupMixin[object]` does not satisfy upper bound `GroupMixin[CogT@GroupMixin]` of type variable `Self`

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

tornado/platform/asyncio.py

[error] invalid-argument-type - Argument to bound method `AbstractEventLoop.call_soon_threadsafe` is incorrect: Expected `(list[int | _HasFileno] | (list[int] & ~AlwaysFalsy), list[int | _HasFileno] | list[Unknown], /) -> object`, found `bound method Self@_run_select._handle_select(rs: list[int | _HasFileno], ws: list[int | _HasFileno]) -> None`

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

src/trio/_core/_entry_queue.py

[error] invalid-argument-type - Argument to bound method `EntryQueue.run_sync_soon` is incorrect: Expected `(tuple[*PosArgsT@run_sync_soon], /) -> object`, found `(*PosArgsT@run_sync_soon) -> object`

src/trio/_core/_generated_run.py

[error] invalid-argument-type - Argument to bound method `Runner.spawn_system_task` is incorrect: Expected `(tuple[*PosArgT@spawn_system_task], /) -> Awaitable[object]`, found `(*PosArgT@spawn_system_task) -> Awaitable[object]`

src/trio/_tests/test_signals.py

[error] invalid-argument-type - Argument to function `to_thread_run_sync` is incorrect: Expected `(def naughty() -> CoroutineType[Any, Any, None], /) -> Unknown`, found `def run[*PosArgT, RetT](async_fn: (*PosArgT) -> Awaitable[RetT], *args: PosArgT, *, clock: Clock | None = None, instruments: Sequence[Instrument] = ..., restrict_keyboard_interrupt_to_checkpoints: bool = False, strict_exception_groups: bool = True) -> RetT`

src/trio/_core/_tests/type_tests/nursery_start.py

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

src/trio/_core/_run.py

[error] invalid-argument-type - Argument to bound method `Context.run` is incorrect: Expected `(tuple[*PosArgT@spawn_impl], /) -> Awaitable[object]`, found `(*PosArgT@spawn_impl) -> Awaitable[object]`

src/trio/_core/_tests/test_guest_mode.py

[error] invalid-argument-type - Argument to function `start_guest_run` is incorrect: Expected `(() -> object, /) -> object`, found `bound method AbstractEventLoop.call_soon_threadsafe[*_Ts](callback: (*_Ts) -> object, *args: _Ts, *, context: Context | None = None) -> Handle`

src/trio/_core/_tests/test_io.py

[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(def wait_readable(fd: int | _HasFileNo) -> CoroutineType[Any, Any, None], socket, /) -> Awaitable[object]`, found `def allow_OSError[**ArgsT](async_func: (**ArgsT) -> Awaitable[object], *args: ArgsT.args, **kwargs: ArgsT.kwargs) -> CoroutineType[Any, Any, None]`
[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(def wait_readable(fd: int | _HasFileNo) -> CoroutineType[Any, Any, None], socket, /) -> Awaitable[object]`, found `def allow_OSError[**ArgsT](async_func: (**ArgsT) -> Awaitable[object], *args: ArgsT.args, **kwargs: ArgsT.kwargs) -> CoroutineType[Any, Any, None]`
[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(def wait_readable(fd: int | _HasFileNo) -> CoroutineType[Any, Any, None], socket, /) -> Awaitable[object]`, found `def allow_OSError[**ArgsT](async_func: (**ArgsT) -> Awaitable[object], *args: ArgsT.args, **kwargs: ArgsT.kwargs) -> CoroutineType[Any, Any, None]`
[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(def wait_writable(fd: int | _HasFileNo) -> CoroutineType[Any, Any, None], socket, /) -> Awaitable[object]`, found `def allow_OSError[**ArgsT](async_func: (**ArgsT) -> Awaitable[object], *args: ArgsT.args, **kwargs: ArgsT.kwargs) -> CoroutineType[Any, Any, None]`
[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(def wait_readable(fd: int | _HasFileNo) -> CoroutineType[Any, Any, None], socket, /) -> Awaitable[object]`, found `def allow_OSError[**ArgsT](async_func: (**ArgsT) -> Awaitable[object], *args: ArgsT.args, **kwargs: ArgsT.kwargs) -> CoroutineType[Any, Any, None]`
[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(def wait_writable(fd: int | _HasFileNo) -> CoroutineType[Any, Any, None], socket, /) -> Awaitable[object]`, found `def allow_OSError[**ArgsT](async_func: (**ArgsT) -> Awaitable[object], *args: ArgsT.args, **kwargs: ArgsT.kwargs) -> CoroutineType[Any, Any, None]`

src/trio/_core/_tests/test_run.py

[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `() -> Awaitable[T@trivial]`, found `def trivial[T](x: T) -> CoroutineType[Any, Any, T]`

src/trio/_core/_tests/type_tests/run.py

[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `(list[str] | Sequence[int | float], /) -> Awaitable[list[int | float]]`, found `def sleep_sort(values: Sequence[int | float]) -> CoroutineType[Any, Any, list[int | float]]`
[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `() -> Awaitable[list[int | float]]`, found `def sleep_sort(values: Sequence[int | float]) -> CoroutineType[Any, Any, list[int | float]]`
[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `(Literal[7], Literal[8], /) -> Awaitable[int]`, found `def has_optional(arg: int | None = None) -> CoroutineType[Any, Any, int]`
[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `(Literal["hello"] | int | None, /) -> Awaitable[int]`, found `def has_optional(arg: int | None = None) -> CoroutineType[Any, Any, int]`
[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `(int | str, /) -> Awaitable[str | int]`, found `Overload[(arg: int) -> CoroutineType[Any, Any, str], (arg: str) -> CoroutineType[Any, Any, int]]`
[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `(str | int, /) -> Awaitable[str | int]`, found `Overload[(arg: int) -> CoroutineType[Any, Any, str], (arg: str) -> CoroutineType[Any, Any, int]]`

src/trio/_dtls.py

[error] invalid-argument-type - Argument to function `spawn_system_task` is incorrect: Expected `(ReferenceType[Self@_ensure_receive_loop] | ReferenceType[DTLSEndpoint], SocketType, /) -> Awaitable[object]`, found `def dtls_receive_loop(endpoint_ref: ReferenceType[DTLSEndpoint], sock: SocketType) -> CoroutineType[Any, Any, None]`

src/trio/_tests/test_ssl.py

[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(partial[(*, expect_fail: bool = ...) -> None], /) -> Awaitable[object]`, found `def to_thread_run_sync[*Ts, RetT](sync_fn: (*Ts) -> RetT, *args: Ts, *, thread_name: str | None = None, abandon_on_cancel: bool = False, limiter: CapacityLimiter | None = None) -> CoroutineType[Any, Any, RetT]`

src/trio/_tests/test_threads.py

[error] invalid-argument-type - Argument to function `to_thread_run_sync` is incorrect: Expected `(def sync_fn() -> None, /) -> Unknown`, found `def from_thread_run[*Ts, RetT](afn: (*Ts) -> Awaitable[RetT], *args: Ts, *, trio_token: TrioToken | None = None) -> RetT`
[error] invalid-argument-type - Argument to function `to_thread_run_sync` is incorrect: Expected `() -> Unknown`, found `partial[(int | float, /, *, trio_token: TrioToken | None = ...) -> None]`
[error] invalid-argument-type - Argument to function `to_thread_run_sync` is incorrect: Expected `(def current_task() -> Task, /) -> Unknown`, found `def from_thread_run_sync[*Ts, RetT](fn: (*Ts) -> RetT, *args: Ts, *, trio_token: TrioToken | None = None) -> RetT`
[error] invalid-argument-type - Argument to function `to_thread_run_sync` is incorrect: Expected `(def async_current_task() -> CoroutineType[Any, Any, Task], /) -> Unknown`, found `def from_thread_run[*Ts, RetT](afn: (*Ts) -> Awaitable[RetT], *args: Ts, *, trio_token: TrioToken | None = None) -> RetT`
[error] invalid-argument-type - Argument to function `from_thread_run` is incorrect: Expected `(def get_ident() -> int, /) -> Awaitable[Unknown]`, found `def to_thread_run_sync[*Ts, RetT](sync_fn: (*Ts) -> RetT, *args: Ts, *, thread_name: str | None = None, abandon_on_cancel: bool = False, limiter: CapacityLimiter | None = None) -> CoroutineType[Any, Any, RetT]`
[error] invalid-argument-type - Argument to function `to_thread_run_sync` is incorrect: Expected `(def async_time_bomb() -> CoroutineType[Any, Any, None], /) -> Unknown`, found `def from_thread_run[*Ts, RetT](afn: (*Ts) -> Awaitable[RetT], *args: Ts, *, trio_token: TrioToken | None = None) -> RetT`
[error] invalid-argument-type - Argument to function `to_thread_run_sync` is incorrect: Expected `(def sleep(seconds: int | float) -> CoroutineType[Any, Any, None], Literal[0], /) -> Unknown`, found `def from_thread_run[*Ts, RetT](afn: (*Ts) -> Awaitable[RetT], *args: Ts, *, trio_token: TrioToken | None = None) -> RetT`

src/trio/_tests/test_util.py

[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `CoroutineType[Any, Any, None]`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `() -> Awaitable[Unknown]`, found `CoroutineType[Any, Any, None]`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `Generator[Coroutine[None, None, None], None, None]`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `() -> Awaitable[Unknown]`, found `Generator[Coroutine[None, None, None], None, None]`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `Future[object]`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `() -> Awaitable[Unknown]`, found `Future[object]`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `Deferred`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `() -> Awaitable[Unknown]`, found `Deferred`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `() -> Deferred`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `() -> Awaitable[Unknown]`, found `() -> Deferred`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `def len(obj: Sized, /) -> int`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(Sized, /) -> Awaitable[Unknown]`, found `def len(obj: Sized, /) -> int`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `def async_gen(_: object) -> AsyncGenerator[None, None]`
[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(object, /) -> Awaitable[Unknown]`, found `def async_gen(_: object) -> AsyncGenerator[None, None]`

src/trio/_tests/test_wait_for_object.py

[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(*args: Unknown) -> Awaitable[object]`, found `def to_thread_run_sync[*Ts, RetT](sync_fn: (*Ts) -> RetT, *args: Ts, *, thread_name: str | None = None, abandon_on_cancel: bool = False, limiter: CapacityLimiter | None = None) -> CoroutineType[Any, Any, RetT]`
[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(*args: Unknown) -> Awaitable[object]`, found `def to_thread_run_sync[*Ts, RetT](sync_fn: (*Ts) -> RetT, *args: Ts, *, thread_name: str | None = None, abandon_on_cancel: bool = False, limiter: CapacityLimiter | None = None) -> CoroutineType[Any, Any, RetT]`
[error] invalid-argument-type - Argument to bound method `Nursery.start_soon` is incorrect: Expected `(*args: Unknown) -> Awaitable[object]`, found `def to_thread_run_sync[*Ts, RetT](sync_fn: (*Ts) -> RetT, *args: Ts, *, thread_name: str | None = None, abandon_on_cancel: bool = False, limiter: CapacityLimiter | None = None) -> CoroutineType[Any, Any, RetT]`

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

xarray/computation/rolling.py

[error] unsupported-operator - Operator `/=` is not supported between objects of type `T_Xarray@Rolling` and `Unknown`

xarray/core/coordinates.py

[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@assert_coordinate_consistent.__getitem__(key: Any) -> T_Xarray@assert_coordinate_consistent) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@assert_coordinate_consistent])` cannot be called with key of type `Unknown` on object of type `T_Xarray@assert_coordinate_consistent`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@assert_coordinate_consistent.__getitem__(key: Any) -> T_Xarray@assert_coordinate_consistent) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@assert_coordinate_consistent])` cannot be called with key of type `Unknown` on object of type `T_Xarray@assert_coordinate_consistent`

xarray/core/groupby.py

[error] invalid-argument-type - Argument to bound method `DataArray.transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.isel` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@GroupBy.__getitem__(key: Any) -> T_Xarray@GroupBy) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@GroupBy])` cannot be called with key of type `Unknown` on object of type `T_Xarray@GroupBy`
[error] invalid-argument-type - Method `__getitem__` of type `(bound method T_Xarray@GroupBy.__getitem__(key: Any) -> T_Xarray@GroupBy) | (Overload[(key: Hashable) -> DataArray, (key: Iterable[Hashable]) -> T_Xarray@GroupBy])` cannot be called with key of type `Unknown` on object of type `T_Xarray@GroupBy`
[error] invalid-argument-type - Argument to bound method `DataArray.drop_vars` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.drop_vars` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.transpose` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`

xarray/core/resample.py

[error] invalid-argument-type - Argument to bound method `DataArray.rename` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.rename` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.drop_vars` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.reindex` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `DataArray.interp` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `Dataset.interp` is incorrect: Argument type `T_Xarray@Resample` does not satisfy upper bound `Dataset` of type variable `Self`