[ty] Support TypeVarTuple and Unpack#25240
Conversation
TypeVarTuple support
81058e6 to
c9b3969
Compare
Typing conformance results improved 🎉The percentage of diagnostics emitted that were expected errors increased from 94.36% to 96.92%. The percentage of expected errors that received a diagnostic increased from 88.82% to 90.87%. The number of fully passing files improved from 93/134 to 98/134. SummaryHow are test cases classified?Each test case represents one expected error annotation or a group of annotations sharing a tag. Counts are per test case, not per diagnostic — multiple diagnostics on the same line count as one. Required annotations (
Test file breakdown8 files altered
True positives added (22)22 diagnostics
False positives removed (29)29 diagnostics
True positives changed (4)4 diagnostics
False positives changed (2)2 diagnostics
False positives added (3)3 diagnostics
|
Memory usage reportSummary
Significant changesClick to expand detailed breakdownprefect
trio
sphinx
flake8
|
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
invalid-argument-type |
207 | 1 | 35 |
unused-type-ignore-comment |
0 | 83 | 0 |
not-subscriptable |
1 | 52 | 0 |
unresolved-attribute |
17 | 16 | 18 |
unused-ignore-comment |
23 | 0 | 0 |
invalid-return-type |
10 | 2 | 3 |
no-matching-overload |
12 | 3 | 0 |
invalid-assignment |
9 | 2 | 1 |
invalid-yield |
7 | 0 | 4 |
unsupported-operator |
10 | 0 | 1 |
type-assertion-failure |
2 | 4 | 0 |
invalid-type-form |
3 | 0 | 1 |
invalid-generic-class |
2 | 0 | 0 |
possibly-unresolved-reference |
0 | 2 | 0 |
empty-body |
0 | 0 | 1 |
invalid-method-override |
1 | 0 | 0 |
not-iterable |
0 | 0 | 1 |
unbound-type-variable |
0 | 1 | 0 |
| Total | 304 | 166 | 65 |
Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.
Showing a random sample of 284 of 535 changes. See the HTML report for the full diff.
Raw diff sample (284 of 535 changes)
anyio (https://github.com/agronholm/anyio)
+ src/anyio/_core/_fileio.py:277:30 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/_core/_tempfile.py:554:37 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]]`
core (https://github.com/home-assistant/core)
- homeassistant/components/cast/const.py:22:22 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/cast/const.py:25:29 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/device_tracker/const.py:66:31 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/ffmpeg/const.py:8:22 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/ffmpeg/const.py:9:25 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/homekit/const.py:15:25 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
- homeassistant/components/mqtt/discovery.py:75:22 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
- homeassistant/util/signal_type.py:10:24 error[not-subscriptable] Cannot subscript non-generic type `<class '_SignalTypeBase'>`
+ homeassistant/util/logging.py:235:16 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]`
+ homeassistant/components/backblaze_b2/backup.py:224:27 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:1975:46 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])`
+ homeassistant/components/backup/manager.py:2003:61 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)`
+ homeassistant/components/backup/manager.py:2065:50 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])`
- homeassistant/components/cloud/__init__.py:96:29 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/icloud/config_flow.py:216:36 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Any]`, found `Any | None | bool | list[Any] | dict[Any, Any]`
+ homeassistant/components/icloud/config_flow.py:216:36 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Any]`, found `Any | None | bool | ... omitted 3 union elements`
+ homeassistant/components/icloud/config_flow.py:226:32 error[not-subscriptable] Cannot subscript object of type `_T@getattr` with no `__getitem__` method
- homeassistant/components/knx/telegrams.py:26:22 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/knx/telegrams.py:27:40 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/components/media_player/__init__.py:1023:52 error[invalid-argument-type] Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(...) -> Unknown`, found `object`
+ homeassistant/components/media_player/__init__.py:1023:52 error[invalid-argument-type] Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `() -> Unknown`, found `object`
- homeassistant/components/media_player/__init__.py:1074:52 error[invalid-argument-type] Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `(...) -> Unknown`, found `object`
+ homeassistant/components/media_player/__init__.py:1074:52 error[invalid-argument-type] Argument to bound method `HomeAssistant.async_add_executor_job` is incorrect: Expected `() -> Unknown`, found `object`
+ homeassistant/components/mqtt/client.py:1006:28 error[no-matching-overload] No overload of function `catch_log_exception` matches arguments
+ homeassistant/components/netgear/config_flow.py:199:17 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:45:31 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:37:34 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:49:13 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:66:18 error[not-subscriptable] Cannot subscript non-generic type `TypeAliasType`
- homeassistant/helpers/dispatcher.py:67:13 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:87:34 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:101:13 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:110:18 error[not-subscriptable] Cannot subscript non-generic type `TypeAliasType`
- homeassistant/helpers/dispatcher.py:130:34 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:151:13 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:173:34 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:184:34 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:205:34 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/helpers/dispatcher.py:218:18 error[not-subscriptable] Cannot subscript non-generic type `TypeAliasType`
- homeassistant/helpers/script.py:157:29 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
- homeassistant/util/signal_type.pyi:24:30 error[not-subscriptable] Cannot subscript non-generic type `<class '_SignalTypeBase'>`
- homeassistant/util/signal_type.pyi:52:15 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/util/signal_type.pyi:53:27 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
- homeassistant/util/signal_type.pyi:61:20 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalTypeFormat'>`
- homeassistant/util/signal_type.pyi:63:5 error[type-assertion-failure] Type `SignalTypeFormat[]` does not match asserted type `Unknown`
- homeassistant/util/signal_type.pyi:64:27 error[not-subscriptable] Cannot subscript non-generic type `<class 'SignalType'>`
+ homeassistant/util/signal_type.pyi:55:5 error[no-matching-overload] No overload of function `async_dispatcher_connect` matches arguments
+ homeassistant/util/signal_type.pyi:65:5 error[no-matching-overload] No overload of function `async_dispatcher_connect` matches arguments
+ homeassistant/util/signal_type.pyi:67:5 error[no-matching-overload] No overload of function `async_dispatcher_send` matches arguments
django-modern-rest (https://github.com/wemake-services/django-modern-rest)
- dmr/problem_details.py:175:14 error[invalid-type-form] Tuple literals are not allowed in this context in a type expression
+ dmr/problem_details.py:175:14 error[invalid-type-form] Tuple literals are not allowed in this context in a type expression: Did you mean `tuple[ProblemDetailsModel, tuple[Unknown, ...]]`?
egglog-python (https://github.com/egraphs-good/egglog-python)
- python/egglog/thunk.py:41:21 error[unbound-type-variable] Type variable `T` is not bound to any outer generic context
- python/egglog/thunk.py:50:31 error[invalid-argument-type] Argument is incorrect: Expected `(...) -> TypeVar`, found `(...) -> T@fn`
- python/egglog/thunk.py:56:27 error[invalid-return-type] Function can implicitly return `None`, which is not assignable to return type `T@__call__`
- python/egglog/builtins.py:489:21 error[no-matching-overload] No overload of function `get_callable_args` matches arguments
+ python/egglog/builtins.py:1115:57 error[invalid-type-form] Function calls are not allowed in type expressions
+ python/egglog/builtins.py:1117:63 error[invalid-type-form] Function calls are not allowed in type expressions
+ python/egglog/builtins.py:1119:54 error[invalid-type-form] Function calls are not allowed in type expressions
- python/egglog/builtins.py:1111:39 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `T@__call__`
+ python/egglog/builtins.py:1111:39 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `T@UnstableFn`
+ python/egglog/deconstruct.py:158:24 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:537:54 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]`
+ python/egglog/egraph.py:680:9 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`
+ python/egglog/egraph.py:722:28 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`
+ python/egglog/egraph.py:1657:53 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/tests/test_unstable_fn.py:103:15 error[invalid-argument-type] Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
+ python/tests/test_unstable_fn.py:111:37 error[invalid-argument-type] Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
+ python/tests/test_unstable_fn.py:132:35 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`
+ python/tests/test_unstable_fn.py:134:15 error[invalid-argument-type] Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[T@UnstableFn, TS@UnstableFn]`
+ python/tests/test_unstable_fn.py:154:47 error[invalid-argument-type] Argument to function `composed_i64_math` is incorrect: Expected `UnstableFn[i64, i64]`, found `UnstableFn[i64, i64 | int]`
+ python/tests/test_unstable_fn.py:167:58 error[invalid-argument-type] Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
+ python/tests/test_unstable_fn.py:171:29 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]`
+ python/tests/test_unstable_fn.py:171:82 error[invalid-argument-type] Argument to bound method `MathList.map` is incorrect: Expected `UnstableFn[Math, Math]`, found `UnstableFn[Math, Math | i64 | int | String | str]`
scipy-stubs (https://github.com/scipy/scipy-stubs)
+ scipy-stubs/integrate/_odepack_py.pyi:36:56 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/integrate/_odepack_py.pyi:87:56 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/integrate/_odepack_py.pyi:91:62 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/integrate/_odepack_py.pyi:164:49 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/integrate/_odepack_py.pyi:194:55 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/integrate/_odepack_py.pyi:216:49 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/optimize/_lbfgsb_py.pyi:70:38 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/optimize/_lbfgsb_py.pyi:88:36 error[unused-ignore-comment] Unused `ty: ignore` directive
+ scipy-stubs/stats/_morestats.pyi:240:22 error[invalid-generic-class] Variance of type variable `_NDT_co` is incompatible with base class `BaseBunch`
- tests/integrate/test_ode.pyi:22:1 error[type-assertion-failure] Type `@Todo` does not match asserted type `int | float`
+ tests/integrate/test_ode.pyi:27:18 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]`
+ tests/integrate/test_ode.pyi:28:1 error[type-assertion-failure] Type `complex_ode[_Ts@complex_ode]` does not match asserted type `complex_ode[int | float]`
+ tests/integrate/test_ode.pyi:29:63 error[invalid-argument-type] Argument to bound method `ode.set_jac_params` is incorrect: Expected `_Ts@complex_ode`, found `float`
+ tests/optimize/test_fmin_l_bfgs_b.pyi:35:1 error[no-matching-overload] No overload of function `fmin_l_bfgs_b` matches arguments
setuptools (https://github.com/pypa/setuptools)
+ setuptools/_distutils/command/sdist.py:414:13 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`
starlette (https://github.com/encode/starlette)
- tests/test_requests.py:260:19 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ starlette/concurrency.py:57:19 error[invalid-yield] Yield type `T@_next` does not match annotated yield type `T@iterate_in_threadpool`
static-frame (https://github.com/static-frame/static-frame)
+ static_frame/core/node_transpose.py:97:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:113:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_transpose.py:128:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_transpose.py:128:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:160:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_transpose.py:176:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:184:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_transpose.py:184:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:192:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_transpose.py:200:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:216:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:224:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:240:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_transpose.py:249:16 error[invalid-argument-type] Argument to bound method `IndexHierarchy._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `IndexHierarchy[TVIndices@IndexHierarchy]` of type variable `Self`
+ static_frame/core/node_transpose.py:288:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceTranspose` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/test/typing/test_index_hierarchy.py:42:16 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:1362:56 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/core/container_util.py:1321:49 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:590:43 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:635:47 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:885:87 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:2678:55 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:2736:24 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:3674:48 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:4478:31 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:5003:28 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:5013:28 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:5018:24 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:6666:47 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:8334:60 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:9383:52 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/frame.py:10584:81 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/core/frame.py:3033:16 error[invalid-return-type] Return type does not match returned value: expected `Self@from_sqlite`, found `Frame[Any, Any, *tuple[Any, ...]]`
+ static_frame/core/frame.py:6049:24 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]]`
+ static_frame/core/frame.py:6668:38 error[invalid-assignment] Object of type `list[ndarray[Any, Any] | Any | Series[Any, Any]]` is not assignable to `list[ndarray[Any, Any]] | None`
+ static_frame/core/frame.py:10502:24 error[unresolved-attribute] Attribute `_blocks` is not defined on `Series[Any, Any]` in union `Series[Any, Any] | Frame[Any, Any, *tuple[Any, ...]]`
+ static_frame/core/frame.py:6702:38 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:603:13 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:1354:13 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/join.py:302:91 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/join.py:307:49 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/mfc_mapping.py:57:20 error[invalid-yield] Yield type `tuple[Hashable, @Todo]` does not match annotated yield type `tuple[TVKeys@MFCMappingItemsView, @Todo]`
+ static_frame/core/mfc_mapping.py:57:20 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:154:29 error[invalid-assignment] Object of type `TVContainer_co@InterfaceFillValue` is not assignable to `Series[Any, Any]`
+ static_frame/core/node_fill_value.py:277:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:277:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:301:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:301:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:309:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:309:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:317:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:317:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:325:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:341:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:349:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:357:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:365:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:373:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:373:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:381:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:389:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:389:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:413:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:422:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:430:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:438:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:438:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
+ static_frame/core/node_fill_value.py:462:16 error[invalid-argument-type] Argument to bound method `Frame._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Frame[TVIndex@Frame, TVColumns@Frame, TVDtypes@Frame]` of type variable `Self`
+ static_frame/core/node_fill_value.py:462:16 error[invalid-argument-type] Argument to bound method `Series._ufunc_binary_operator` is incorrect: Argument type `TVContainer_co@InterfaceFillValue` does not satisfy upper bound `Series[TVIndex@Series, TVDtype@Series]` of type variable `Self`
- static_frame/core/pivot.py:447:74 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/pivot.py:448:72 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/pivot.py:582:62 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/core/pivot.py:546:31 error[invalid-argument-type] Argument is incorrect: Expected `Iterable[Sequence[Hashable]]`, found `IndexBase`
+ static_frame/core/pivot.py:627:30 error[invalid-argument-type] Argument is incorrect: Expected `Iterable[Sequence[Hashable]]`, found `list[Hashable]`
- static_frame/core/protocol_dfi.py:317:37 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/protocol_dfi.py:323:73 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/quilt.py:542:37 error[unresolved-attribute] Attribute `level_drop` is not defined on `None` in union `@Todo | IndexHierarchy | None`
- static_frame/core/quilt.py:546:17 error[invalid-assignment] Object of type `@Todo | IndexHierarchy | None` is not assignable to attribute `_columns` of type `IndexBase`
- static_frame/core/reduce.py:232:25 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/reduce.py:524:83 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/store.py:154:63 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/store.py:180:41 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/core/store.py:247:51 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/core/store.py:182:26 error[unresolved-attribute] Object of type `IndexBase` has no attribute `dtypes`
+ static_frame/core/store.py:461:23 error[invalid-yield] Yield type `object` does not match annotated yield type `Frame[Any, Any, *tuple[Any, ...]]`
- static_frame/core/store_config.py:160:86 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/core/store_xlsx.py:400:23 error[invalid-yield] Yield type `object` does not match annotated yield type `Frame[Any, Any, *tuple[Any, ...]]`
- static_frame/core/store_zip.py:173:52 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/core/store_zip.py:612:27 error[invalid-yield] Yield type `object` does not match annotated yield type `Frame[Any, Any, *tuple[Any, ...]]`
- static_frame/core/yarn.py:492:37 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/core/yarn.py:195:17 error[invalid-assignment] Object of type `Hashable` is not assignable to `int`
- static_frame/test/property/strategies.py:1025:1 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]`
+ static_frame/test/property/strategies.py:1025:1 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:65:35 error[unresolved-attribute] Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `flat`
+ static_frame/test/property/test_archive_npy.py:74:49 error[invalid-argument-type] Argument to bound method `TestCase.assertAlmostEqualArray` is incorrect: Expected `ndarray[Any, Any]`, found `Frame[Any, Any, *tuple[Any, ...]]`
+ static_frame/test/typing/test_frame.py:96:21 error[invalid-assignment] Object of type `Series[Any, Any]` is not assignable to `Frame[Any, Any, *tuple[Any, ...]]`
+ static_frame/test/typing/test_frame.py:133:21 error[invalid-assignment] Object of type `Series[Any, Any]` is not assignable to `Frame[Any, Any, *tuple[Any, ...]]`
+ static_frame/test/typing/test_frame.py:290:21 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]]]`
+ static_frame/test/typing/test_frame.py:291:21 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:229:48 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_archive_npy.py:230:50 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/test/unit/test_batch.py:2206:43 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]`
+ static_frame/test/unit/test_batch.py:2229:43 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]`
- static_frame/test/unit/test_batch.py:48:12 error[invalid-return-type] Return type does not match returned value: expected `Frame`, found `Series[Any, Any]`
+ static_frame/test/unit/test_batch.py:48:12 error[invalid-return-type] Return type does not match returned value: expected `Frame[Any, Any, *tuple[Any, ...]]`, found `Series[Any, Any]`
- static_frame/test/unit/test_batch.py:256:20 error[invalid-argument-type] Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
+ static_frame/test/unit/test_batch.py:256:20 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_batch.py:2312:19 error[invalid-argument-type] Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegateReducible[@Todo]`
+ static_frame/test/unit/test_batch.py:2312:19 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:1274:17 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`
+ static_frame/test/unit/test_bus.py:1323:17 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`
+ static_frame/test/unit/test_bus.py:1363:22 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`
+ static_frame/test/unit/test_bus.py:2734:30 error[unresolved-attribute] Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `status`
- static_frame/test/unit/test_bus.py:2110:26 error[unresolved-attribute] Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
+ static_frame/test/unit/test_bus.py:2110:26 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_bus.py:2111:26 error[unresolved-attribute] Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
+ static_frame/test/unit/test_bus.py:2111:26 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_bus.py:2139:26 error[unresolved-attribute] Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
+ static_frame/test/unit/test_bus.py:2139:26 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:131:13 error[unresolved-attribute] Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
- static_frame/test/unit/test_container_util.py:137:13 error[unresolved-attribute] Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
- static_frame/test/unit/test_container_util.py:147:13 error[unresolved-attribute] Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
- static_frame/test/unit/test_container_util.py:163:26 error[unresolved-attribute] Object of type `generic[Any]` has no attribute `to_pairs`
- static_frame/test/unit/test_container_util.py:213:64 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_container_util.py:226:13 error[unresolved-attribute] Object of type `ndarray[Any, Any]` has no attribute `to_pairs`
+ static_frame/test/unit/test_container_util.py:128:26 error[no-matching-overload] No overload of function `matmul` matches arguments
+ static_frame/test/unit/test_container_util.py:134:26 error[no-matching-overload] No overload of function `matmul` matches arguments
+ static_frame/test/unit/test_container_util.py:207:26 error[no-matching-overload] No overload of function `matmul` matches arguments
+ static_frame/test/unit/test_container_util.py:214:26 error[no-matching-overload] No overload of function `matmul` matches arguments
+ static_frame/test/unit/test_container_util.py:933:40 error[invalid-argument-type] Argument to function `container_to_exporter_attr` is incorrect: Expected `type[Frame[Any, Any, *tuple[Any, ...]]]`, found `<class 'Series'>`
- static_frame/test/unit/test_frame.py:343:48 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_frame.py:6228:25 error[unresolved-attribute] Attribute `equals` is not defined on `signedinteger[_64Bit]` in union `signedinteger[_64Bit] | Frame`
- static_frame/test/unit/test_frame.py:6230:25 error[unresolved-attribute] Object of type `float64` has no attribute `equals`
- static_frame/test/unit/test_frame.py:6231:25 error[unresolved-attribute] Attribute `equals` is not defined on `signedinteger[_64Bit]` in union `signedinteger[_64Bit] | Frame`
- static_frame/test/unit/test_frame.py:6232:25 error[unresolved-attribute] Attribute `equals` is not defined on `signedinteger[_64Bit]` in union `signedinteger[_64Bit] | Frame`
- static_frame/test/unit/test_frame.py:7732:52 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_frame.py:12501:71 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_frame.py:14964:84 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_frame.py:15087:79 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_frame.py:17763:49 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/test/unit/test_frame.py:2385:25 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]]]`
+ static_frame/test/unit/test_frame.py:2467:23 error[invalid-argument-type] Argument to bound method `FrameGO.extend` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`, found `Literal["a"]`
+ static_frame/test/unit/test_frame.py:2734:27 error[invalid-argument-type] Argument to bound method `Frame._insert` is incorrect: Expected `Frame[Any, Any, *tuple[Any, ...]] | Series[Any, Any]`, found `Literal["a"]`
+ static_frame/test/unit/test_frame.py:7751:60 error[invalid-argument-type] Argument to bound method `IndexHierarchy.from_labels` is incorrect: Expected `Iterable[Sequence[Hashable]]`, found `IndexBase`
+ static_frame/test/unit/test_frame.py:15841:25 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]]`
- static_frame/test/unit/test_frame_iter.py:224:47 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/test/unit/test_frame_iter.py:255:27 error[unresolved-attribute] Attribute `tolist` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
+ static_frame/test/unit/test_frame_iter.py:365:27 error[unresolved-attribute] Attribute `p` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
+ static_frame/test/unit/test_frame_iter.py:366:27 error[unresolved-attribute] Attribute `r` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
+ static_frame/test/unit/test_frame_iter.py:385:27 error[unresolved-attribute] Attribute `r` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
+ static_frame/test/unit/test_frame_iter.py:1266:48 error[invalid-argument-type] Argument to bound method `IterNodeDepthLevelAxis.__call__` is incorrect: Expected `int | list[int]`, found `tuple[Literal[1], Literal[2]]`
- static_frame/test/unit/test_frame_iter.py:1838:13 error[unresolved-attribute] Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
+ static_frame/test/unit/test_frame_iter.py:1838:13 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_iter.py:1847:13 error[unresolved-attribute] Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
+ static_frame/test/unit/test_frame_iter.py:1847:13 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_iter.py:1853:13 error[unresolved-attribute] Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `@Todo | ndarray[Any, Any]`
+ static_frame/test/unit/test_frame_iter.py:1853:13 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:351:23 error[unresolved-attribute] Attribute `columns` is not defined on `Series[Any, Any]` in union `@Todo | Series[Any, Any]`
+ static_frame/test/unit/test_frame_via_fill_value.py:351:23 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:130:23 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:77:25 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_index_hierarchy.py:3315:13 error[unresolved-attribute] Object of type `str` has no attribute `tolist`
- static_frame/test/unit/test_index_hierarchy.py:4708:45 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ static_frame/test/unit/test_index_hierarchy.py:1825:41 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]]]`
+ static_frame/test/unit/test_index_hierarchy.py:2122:41 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]]]`
+ static_frame/test/unit/test_index_hierarchy.py:2168:42 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]]]`
+ static_frame/test/unit/test_index_hierarchy.py:2177:42 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]]]`
+ static_frame/test/unit/test_index_hierarchy.py:3145:27 error[unsupported-operator] Operator `*` is not supported between objects of type `IndexHierarchy[*tuple[Any, ...]]` and `Literal[2]`
+ static_frame/test/unit/test_index_hierarchy.py:3162:27 error[unsupported-operator] Operator `@` is not supported between two objects of type `IndexHierarchy[*tuple[Any, ...]]`
+ static_frame/test/unit/test_index_hierarchy.py:3183:14 error[unsupported-operator] Operator `+` is not supported between two objects of type `IndexHierarchyGO[*tuple[Any, ...]]`
+ static_frame/test/unit/test_index_hierarchy.py:3202:14 error[unsupported-operator] Operator `@` is not supported between two objects of type `IndexHierarchy[*tuple[Any, ...]]`
+ static_frame/test/unit/test_index_hierarchy.py:3220:26 error[unresolved-attribute] Object of type `bool` has no attribute `tolist`
+ static_frame/test/unit/test_index_hierarchy.py:3318:15 error[unsupported-operator] Operator `*` is not supported between objects of type `IndexHierarchy[*tuple[Any, ...]]` and `Literal[2]`
+ static_frame/test/unit/test_index_hierarchy.py:5259:17 error[unsupported-operator] Operator `*` is not supported between objects of type `IndexHierarchyGO[*tuple[Any, ...]]` and `Literal[15]`
+ static_frame/test/unit/test_index_hierarchy.py:5270:17 error[unsupported-operator] Operator `*` is not supported between two objects of type `IndexHierarchyGO[*tuple[Any, ...]]`
+ static_frame/test/unit/test_interface.py:37:32 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:1729:20 error[invalid-argument-type] Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
+ static_frame/test/unit/test_quilt.py:1729:20 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_quilt.py:1790:20 error[invalid-argument-type] Argument to `Batch.__init__` is incorrect: Expected `Iterator[tuple[Hashable, Frame | Series[Any, Any]]]`, found `IterNodeDelegate[Quilt]`
+ static_frame/test/unit/test_quilt.py:1790:20 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:3938:51 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- static_frame/test/unit/test_store.py:188:17 error[invalid-argument-type] Argument is incorrect: Expected `((Hashable, @Todo, /) -> @Todo) | None`, found `int | ((x) -> Unknown)`
+ static_frame/test/unit/test_store.py:188:17 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:91:29 error[unresolved-attribute] Object of type `(...) -> Any` has no attribute `__name__`
+ static_frame/test/unit/test_store_config.py:91:29 error[unresolved-attribute] Object of type `((...) -> Any) | ((...) -> Frame[Any, Any, *tuple[Any, ...]])` has no attribute `__name__`
- static_frame/test/unit/test_store_zip.py:342:24 error[invalid-yield] Yield type `tuple[Hashable, Frame]` does not match annotated yield type `tuple[str, Frame]`
+ static_frame/test/unit/test_store_zip.py:342:24 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, ...]]]`
- static_frame/test/unit/test_store_zip.py:427:29 error[invalid-argument-type] Argument is incorrect: Expected `((Hashable, @Todo, /) -> @Todo) | None`, found `int | Unknown`
+ static_frame/test/unit/test_store_zip.py:427:29 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:461:31 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, ...]]]`
+ static_frame/test/unit/test_yarn.py:505:31 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, ...]]]`
+ static_frame/test/unit/test_yarn.py:767:25 error[unresolved-attribute] Object of type `Frame[Any, Any, *tuple[Any, ...]]` has no attribute `_hierarchy`
trio (https://github.com/python-trio/trio)
- src/trio/_core/_tests/type_tests/nursery_start.py:58:34 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- src/trio/_core/_tests/type_tests/nursery_start.py:59:34 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- src/trio/_core/_tests/type_tests/nursery_start.py:61:37 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- src/trio/_core/_tests/type_tests/nursery_start.py:63:38 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- src/trio/_core/_tests/type_tests/nursery_start.py:67:41 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ src/trio/_core/_tests/test_guest_mode.py:496:13 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:485:32 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_io.py:512:32 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]`
+ src/trio/_core/_tests/test_io.py:513:32 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:84:19 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:46:10 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]`
+ src/trio/_core/_tests/type_tests/run.py:51:22 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:1222:17 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:169:17 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:732:34 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`
+ src/trio/_tests/test_threads.py:921:45 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`
+ src/trio/_tests/test_threads.py:922:45 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`
+ src/trio/_tests/test_threads.py:990:34 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`
+ src/trio/_tests/test_threads.py:1121:38 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:122:36 error[invalid-argument-type] Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `Generator[Coroutine[None, None, None], None, None]`
+ src/trio/_tests/test_util.py:122:36 error[invalid-argument-type] Argument to function `coroutine_or_error` is incorrect: Expected `() -> Awaitable[Unknown]`, found `Generator[Coroutine[None, None, None], None, None]`
- src/trio/_tests/test_util.py:153:32 error[invalid-argument-type] Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `def async_gen(_: object) -> AsyncGenerator[None, None]`
+ src/trio/_tests/test_util.py:153:32 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:84:13 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]`
+ src/trio/_tests/test_wait_for_object.py:103:13 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]`c9b3969 to
4479d6b
Compare
Merging this PR will degrade performance by 6.16%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression with the CodSpeed MCP and your agent. Comparing |
f0dc84f to
37e8025
Compare
37e8025 to
fc2e4d0
Compare
5ce4724 to
24c8463
Compare
|
TypeVarTuple supportTypeVarTuple and Unpack
f764d13 to
3241dca
Compare
3241dca to
9dad1bf
Compare
23676d2 to
3422a91
Compare
66d1878 to
4760148
Compare
4760148 to
cedc5f6
Compare
Summary
WIP: Opening to look at ecosystem changes...
closes: astral-sh/ty#156
closes: astral-sh/ty#1746
Test Plan