Skip to content

fix the diagnosis of typing error of decorator is very hard to read. #1115#2466

Open
asukaminato0721 wants to merge 4 commits intofacebook:mainfrom
asukaminato0721:1115
Open

fix the diagnosis of typing error of decorator is very hard to read. #1115#2466
asukaminato0721 wants to merge 4 commits intofacebook:mainfrom
asukaminato0721:1115

Conversation

@asukaminato0721
Copy link
Contributor

Summary

Fixes #1115

Fixed union alias display so non-generic union type aliases keep their name in nested type positions, which makes decorator error messages readable.

Test Plan

add tests to check this.

@meta-cla meta-cla bot added the cla signed label Feb 19, 2026
@asukaminato0721 asukaminato0721 marked this pull request as ready for review February 19, 2026 18:35
Copilot AI review requested due to automatic review settings February 19, 2026 18:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the readability of decorator error messages by preserving union type alias names in nested type positions. Previously, union type aliases like ResponseReturnValue = int | str | bytes | dict[str, int] | list[int] would be fully expanded in error messages, making them extremely difficult to read. Now, non-generic union type aliases maintain their names, resulting in more concise and readable error messages.

Changes:

  • Modified wrap_type_alias in solve.rs to set display names on non-generic union type aliases
  • Added test to verify union alias names are preserved in callable return types
  • Added test to verify decorator error messages use union alias names instead of fully expanded types

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
pyrefly/lib/alt/solve.rs Added logic to set display_name on non-generic union type aliases and their Type-wrapped variants
pyrefly/lib/test/type_alias.rs Added test verifying union alias names appear in reveal_type output for callable return types
pyrefly/lib/test/decorators.rs Added test verifying decorator error messages use union alias names for better readability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

This comment has been minimized.

@meta-codesync
Copy link

meta-codesync bot commented Feb 23, 2026

@rchen152 has imported this pull request. If you are a Meta employee, you can view this in D94140251.

Copy link
Contributor

@rchen152 rchen152 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What issue does this fix? I put the newly added tests (1, 2) in the pyrefly sandbox, and the existing behavior and the behavior with this PR are the same.

@asukaminato0721 asukaminato0721 marked this pull request as draft February 24, 2026 08:08
@asukaminato0721
Copy link
Contributor Author

old

ERROR Argument `(*args: Unknown, **kwargs: Unknown) -> bytes | dict[str, Any] | int | list[Any] | str | tuple[bytes | dict[str, Any] | list[Any] | str, int] | tuple[bytes | dict[str, Any] | list[Any] | str, int, dict[str, str] | list[tuple[str, str]]]` is not assignable to parameter `view` with type `(...) -> int` in function `controllers.console.wraps.setup_required` [bad-argument-type]
 --> controllers/console/app/mcp_server.py:7:1
  |
7 | @setup_required  # E: Argument `(*args: Unknown, **kwargs: Unknown) -> ResponseReturnValue | int` is not assignable to parameter `vie...
  | ^^^^^^^^^^^^^^^
  |
Error: Expectations failed for in-memory controllers/console/app/mcp_server.py: can't find error (line 7): Argument `(*args: Unknown, **kwargs: Unknown) -> ResponseReturnValue | int` is not assignable to parameter `view` with type `(...) -> int` in function `controllers.console.wraps.setup_required`


failures:
    test::decorators::test_decorator_error_uses_external_union_alias

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 4030 filtered out; finished in 0.68s

error: test failed, to rerun pass `-p pyrefly --lib`

new pass.

@asukaminato0721 asukaminato0721 marked this pull request as ready for review February 24, 2026 08:19
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link

Diff from mypy_primer, showing the effect of this PR on open source code:

trio (https://github.com/python-trio/trio)
- ERROR src/trio/_socket.py:1306:17-46: Argument `(self: socket, buffers: Iterable[Buffer], ancdata: Iterable[tuple[int, int, Buffer]] = ..., flags: int = 0, address: Buffer | str | tuple[Any, ...] | None = None, /) -> int` is not assignable to parameter `fn` with type `(socket, ParamSpec(ParamSpec[P])) -> TypeVar[T]` in function `_SocketType._nonblocking_helper` [bad-argument-type]
+ ERROR src/trio/_socket.py:1306:17-46: Argument `(self: socket, buffers: Iterable[Buffer], ancdata: Iterable[tuple[int, int, Buffer]] = ..., flags: int = 0, address: _Address | None = None, /) -> int` is not assignable to parameter `fn` with type `(socket, ParamSpec(ParamSpec[P])) -> TypeVar[T]` in function `_SocketType._nonblocking_helper` [bad-argument-type]

colour (https://github.com/colour-science/colour)
- ERROR colour/plotting/common.py:1329:27-44: No matching overload found for function `list.__init__` called with arguments: (Buffer | Sequence[Buffer | ColourSwatch | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str] | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str) [no-matching-overload]
+ ERROR colour/plotting/common.py:1329:27-44: No matching overload found for function `list.__init__` called with arguments: (Buffer | Sequence[ArrayLike | ColourSwatch] | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str) [no-matching-overload]
- ERROR colour/plotting/volume.py:752:47-59: Argument `RGB_Colourspace | Sequence[RGB_Colourspace | str] | str | None` is not assignable to parameter `value` with type `RGB_Colourspace | None` in function `colour.utilities.common.optional` [bad-argument-type]
+ ERROR colour/plotting/volume.py:752:47-59: Argument `RGB_Colourspace | Sequence[LiteralRGBColourspace | RGB_Colourspace | str] | str | None` is not assignable to parameter `value` with type `RGB_Colourspace | None` in function `colour.utilities.common.optional` [bad-argument-type]

core (https://github.com/home-assistant/core)
- ERROR homeassistant/components/go2rtc/__init__.py:260:45-69: Unpacked argument `tuple[Literal['go2rtc']]` is not assignable to parameter `*args` with type `tuple[StrPath, int, PathLike[str] | str | None]` in function `homeassistant.core.HomeAssistant.async_add_executor_job` [bad-argument-type]
+ ERROR homeassistant/components/go2rtc/__init__.py:260:45-69: Unpacked argument `tuple[Literal['go2rtc']]` is not assignable to parameter `*args` with type `tuple[StrPath, int, StrPath | None]` in function `homeassistant.core.HomeAssistant.async_add_executor_job` [bad-argument-type]
- ERROR homeassistant/core.py:2559:32-2567:10: Unpacked argument `tuple[str, str, (ServiceCall) -> Coroutine[Any, Any, ServiceResponse] | dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | None, Schema | None, SupportsResponse]` is not assignable to parameter `*args` with type `tuple[str, str, (ServiceCall) -> Coroutine[Any, Any, dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | dict[str, dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | None] | None] | dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | dict[str, dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | None] | None, All | Any | Schema | None, SupportsResponse, HassJobType | None, Mapping[str, str] | None]` in function `homeassistant.util.async_.run_callback_threadsafe` [bad-argument-type]
+ ERROR homeassistant/core.py:2559:32-2567:10: Unpacked argument `tuple[str, str, (ServiceCall) -> Coroutine[Any, Any, ServiceResponse] | dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | None, Schema | None, SupportsResponse]` is not assignable to parameter `*args` with type `tuple[str, str, (ServiceCall) -> Coroutine[Any, Any, ServiceResponse | dict[str, dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | None]] | dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | dict[str, dict[str, bool | dict[str, JsonValueType] | float | int | list[JsonValueType] | str | None] | None] | None, VolSchemaType | None, SupportsResponse, HassJobType | None, Mapping[str, str] | None]` in function `homeassistant.util.async_.run_callback_threadsafe` [bad-argument-type]
- ERROR homeassistant/helpers/intent.py:984:31-991:14: No matching overload found for function `typing.MutableMapping.update` called with arguments: (dict[Required, ((Any) -> Any) | All | Any | Schema]) [no-matching-overload]
+ ERROR homeassistant/helpers/intent.py:984:31-991:14: No matching overload found for function `typing.MutableMapping.update` called with arguments: (dict[Required, VolSchemaType | (Any) -> Any]) [no-matching-overload]
- ERROR homeassistant/helpers/intent.py:994:31-1001:14: No matching overload found for function `typing.MutableMapping.update` called with arguments: (dict[Optional, ((Any) -> Any) | All | Any | Schema]) [no-matching-overload]
+ ERROR homeassistant/helpers/intent.py:994:31-1001:14: No matching overload found for function `typing.MutableMapping.update` called with arguments: (dict[Optional, VolSchemaType | (Any) -> Any]) [no-matching-overload]

dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ERROR tests/internal/test_auto.py:38:36-40: `None` is not assignable to attribute `create_connection` with type `(address: tuple[str | None, int], timeout: float | None = ..., source_address: Buffer | str | tuple[Any, ...] | None = None, *, all_errors: bool = False) -> socket` [bad-assignment]
+ ERROR tests/internal/test_auto.py:38:36-40: `None` is not assignable to attribute `create_connection` with type `(address: tuple[str | None, int], timeout: float | None = ..., source_address: _Address | None = None, *, all_errors: bool = False) -> socket` [bad-assignment]

pydantic (https://github.com/pydantic/pydantic)
- ERROR pydantic/_internal/_validate_call.py:127:54-79: `((input: Any, *, strict: bool | None = None, extra: Literal['allow', 'forbid', 'ignore'] | None = None, from_attributes: bool | None = None, context: Any | None = None, self_instance: Any | None = None, allow_partial: Literal['off', 'on', 'trailing-strings'] | bool = False, by_alias: bool | None = None, by_name: bool | None = None) -> Any) | (self: SchemaValidator, input: Any, *, strict: bool | None = None, extra: Literal['allow', 'forbid', 'ignore'] | None = None, from_attributes: bool | None = None, context: Any | None = None, self_instance: Any | None = None, allow_partial: Literal['off', 'on', 'trailing-strings'] | bool = False, by_alias: bool | None = None, by_name: bool | None = None) -> Any` is not assignable to attribute `__return_pydantic_validator__` with type `(aw: Awaitable[Any]) -> Coroutine[Unknown, Unknown, None]` [bad-assignment]
+ ERROR pydantic/_internal/_validate_call.py:127:54-79: `((input: Any, *, strict: bool | None = None, extra: ExtraBehavior | None = None, from_attributes: bool | None = None, context: Any | None = None, self_instance: Any | None = None, allow_partial: Literal['off', 'on', 'trailing-strings'] | bool = False, by_alias: bool | None = None, by_name: bool | None = None) -> Any) | (self: SchemaValidator, input: Any, *, strict: bool | None = None, extra: ExtraBehavior | None = None, from_attributes: bool | None = None, context: Any | None = None, self_instance: Any | None = None, allow_partial: Literal['off', 'on', 'trailing-strings'] | bool = False, by_alias: bool | None = None, by_name: bool | None = None) -> Any` is not assignable to attribute `__return_pydantic_validator__` with type `(aw: Awaitable[Any]) -> Coroutine[Unknown, Unknown, None]` [bad-assignment]

discord.py (https://github.com/Rapptz/discord.py)
- ERROR discord/state.py:551:16-98: Returned type `tuple[CategoryChannel | DMChannel | ForumChannel | Guild | PartialMessageable | StageChannel | TextChannel | Thread | VoiceChannel, Guild | None]` is not assignable to declared return type `tuple[CategoryChannel | ForumChannel | PartialMessageable | PrivateChannel | StageChannel | TextChannel | Thread | VoiceChannel, Guild | None]` [bad-return]
+ ERROR discord/state.py:551:16-98: Returned type `tuple[CategoryChannel | DMChannel | ForumChannel | Guild | PartialMessageable | StageChannel | TextChannel | Thread | VoiceChannel, Guild | None]` is not assignable to declared return type `tuple[Channel | Thread, Guild | None]` [bad-return]

setuptools (https://github.com/pypa/setuptools)
- ERROR setuptools/_vendor/packaging/markers.py:144:12-24: Returned type `tuple[Value | Variable | MarkerAtom, Op | MarkerAtom, Value | Variable | MarkerAtom]` is not assignable to declared return type `Sequence[MarkerAtom] | list[Literal['and', 'or'] | Sequence[MarkerAtom] | tuple[Value | Variable, Op, Value | Variable] | MarkerList] | str | tuple[Value | Variable, Op, Value | Variable]` [bad-return]
+ ERROR setuptools/_vendor/packaging/markers.py:144:12-24: Returned type `tuple[Value | Variable | MarkerAtom, Op | MarkerAtom, Value | Variable | MarkerAtom]` is not assignable to declared return type `Sequence[MarkerAtom] | list[MarkerLogical | MarkerAtom | MarkerList] | str | tuple[Value | Variable, Op, Value | Variable]` [bad-return]

bokeh (https://github.com/bokeh/bokeh)
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
-   (object: Any, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]
+   (object: Any, dtype: DTypeLike | None = None, *, copy: _CopyMode | bool | None = True, order: _OrderKACF = 'K', subok: bool = False, ndmin: int = 0, ndmax: int = 0, like: _SupportsArrayFunc | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]

aioredis (https://github.com/aio-libs/aioredis)
- ERROR aioredis/connection.py:441:16-24: Returned type `bytes | float | int | list[ResponseError | bytes | float | int | memoryview[int] | str | None] | memoryview[int] | str` is not assignable to declared return type `ResponseError | bytes | float | int | memoryview[int] | str | None` [bad-return]
+ ERROR aioredis/connection.py:441:16-24: Returned type `bytes | float | int | list[EncodableT | ResponseError | None] | memoryview[int] | str` is not assignable to declared return type `ResponseError | bytes | float | int | memoryview[int] | str | None` [bad-return]

static-frame (https://github.com/static-frame/static-frame)
- ERROR static_frame/core/container_util.py:1727:13-29: Argument `list[ndarray[tuple[Any, ...], dtype[Any]]] | list[ndarray[Any, Any]]` is not assignable to parameter `labels` with type `Iterable[Hashable | Sequence[TLabel] | builtins.bool | numpy.bool[builtins.bool] | bytes | complex | date | datetime | datetime64[date | int | None] | float | inexact[Any, complex | float] | int | integer[Any] | str | timedelta64[int | timedelta | None] | tuple[TLabel, ...] | None]` in function `static_frame.core.index_base.IndexBase.from_labels` [bad-argument-type]
+ ERROR static_frame/core/container_util.py:1727:13-29: Argument `list[ndarray[tuple[Any, ...], dtype[Any]]] | list[ndarray[Any, Any]]` is not assignable to parameter `labels` with type `Iterable[TLabel | Sequence[TLabel]]` in function `static_frame.core.index_base.IndexBase.from_labels` [bad-argument-type]
- ERROR static_frame/core/display.py:909:36-70: `ndarray[tuple[Any, ...], Any]` is not assignable to upper bound `numpy.bool[builtins.bool] | datetime64[date | int | None] | flexible[bytes | str | tuple[Any, ...]] | number[Any, complex | float | int] | timedelta64[int | timedelta | None]` of type variable `_NonObjectScalarT` [bad-specialization]
+ ERROR static_frame/core/display.py:909:36-70: `ndarray[tuple[Any, ...], Any]` is not assignable to upper bound `numpy.bool[builtins.bool] | datetime64[date | int | None] | flexible[_CharLike_co | tuple[Any, ...]] | number[Any, complex | float | int] | timedelta64[int | timedelta | None]` of type variable `_NonObjectScalarT` [bad-specialization]
- ERROR static_frame/core/frame.py:10433:19-10439:14: `tuple[int | integer[Any] | list[int] | ndarray[Any, Any] | slice[Any, Any, Any] | None, Frame[Any, Any, *tuple[Any, ...]] | Hashable | IndexBase | Series[Any, Any] | builtins.bool | numpy.bool[builtins.bool] | bytes | complex | date | datetime | datetime64[date | int | None] | float | inexact[Any, complex | float] | int | integer[Any] | list[Hashable | builtins.bool | numpy.bool[builtins.bool] | bytes | complex | date | datetime | datetime64[date | int | None] | float | inexact[Any, complex | float] | int | integer[Any] | str | timedelta64[int | timedelta | None] | tuple[TLabel, ...] | None] | list[int] | list[str] | ndarray[Any, Any] | slice[Any, Any, Any] | str | timedelta64[int | timedelta | None] | tuple[TLabel, ...] | None]` is not assignable to variable `key` with type `tuple[TILocSelector, TILocSelector]` [bad-assignment]
+ ERROR static_frame/core/frame.py:10433:19-10439:14: `tuple[int | integer[Any] | list[int] | ndarray[Any, Any] | slice[Any, Any, Any] | None, TLocSelector | Frame[Any, Any, *tuple[Any, ...]]]` is not assignable to variable `key` with type `tuple[TILocSelector, TILocSelector]` [bad-assignment]
- ERROR static_frame/test/unit/test_reduce.py:862:76-90: Argument `tuple[tuple[Literal[0], Overload[[_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None = None, *, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None = None, *, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, (a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None = None, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> Any, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None = None, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT]]]` is not assignable to parameter `iloc_to_func` with type `list[tuple[TILocSelectorOne, (...) -> ndarray[Any, Any]]]` in function `static_frame.core.reduce.ReduceAxis._derive_row_dtype_array` [bad-argument-type]
- ERROR static_frame/test/unit/test_reduce.py:869:43-69: Argument `tuple[tuple[Literal[0], Overload[[_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None = None, *, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None = None, *, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, (a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None = None, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> Any, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: Sequence[SupportsIndex] | SupportsIndex | None = None, dtype: _HasDType[dtype[Any]] | _HasNumPyDType[dtype[Any]] | dtype[Any] | list[Any] | str | _DTypeDict | tuple[Any, Any] | type[Any] | None = None, *, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NoValueType | numpy.bool[builtins.bool] | complex | number[Any, complex | float | int] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT]], tuple[Literal[1], Overload[(a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: None = None, out: None = None, keepdims: Literal[0, False] | _NoValueType = ..., *, where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> numpy.bool[builtins.bool], (a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: int | tuple[int, ...] | None = None, out: None = None, keepdims: _NoValueType | builtins.bool | numpy.bool[builtins.bool] = ..., *, where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> Any, [_ArrayT: ndarray[Any, Any]](a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: int | tuple[int, ...] | None, out: _ArrayT, keepdims: _NoValueType | builtins.bool | numpy.bool[builtins.bool] = ..., *, where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT, [_ArrayT: ndarray[Any, Any]](a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: int | tuple[int, ...] | None = None, *, out: _ArrayT, keepdims: _NoValueType | builtins.bool | numpy.bool[builtins.bool] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT]]]` is not assignable to parameter `iloc_to_func` with type `list[tuple[TILocSelectorOne, (...) -> ndarray[Any, Any]]]` in function `static_frame.core.reduce.ReduceAxis._derive_row_dtype_array` [bad-argument-type]
+ ERROR static_frame/test/unit/test_reduce.py:862:76-90: Argument `tuple[tuple[Literal[0], Overload[[_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None = None, *, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: _ShapeLike | None, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: _ShapeLike | None = None, *, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, (a: ArrayLike, axis: _ShapeLike | None = None, dtype: DTypeLike | None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> Any, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: _ShapeLike | None, dtype: DTypeLike | None, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: _ShapeLike | None = None, dtype: DTypeLike | None = None, *, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT]]]` is not assignable to parameter `iloc_to_func` with type `list[tuple[TILocSelectorOne, (...) -> ndarray[Any, Any]]]` in function `static_frame.core.reduce.ReduceAxis._derive_row_dtype_array` [bad-argument-type]
+ ERROR static_frame/test/unit/test_reduce.py:869:43-69: Argument `tuple[tuple[Literal[0], Overload[[_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: _ArrayLike, axis: None = None, dtype: None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: None = None, *, dtype: _DTypeLike, out: None = None, keepdims: Literal[False] | _NoValueType = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: _ShapeLike | None, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, [_ScalarT: generic[Any]](a: ArrayLike, axis: _ShapeLike | None = None, *, dtype: _DTypeLike, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> ndarray[tuple[Any, ...], dtype[_ScalarT]] | _ScalarT, (a: ArrayLike, axis: _ShapeLike | None = None, dtype: DTypeLike | None = None, out: None = None, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> Any, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: _ShapeLike | None, dtype: DTypeLike | None, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT, [_ArrayT: ndarray[Any, Any]](a: ArrayLike, axis: _ShapeLike | None = None, dtype: DTypeLike | None = None, *, out: _ArrayT, keepdims: _NoValueType | builtins.bool = ..., initial: _NumberLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT]], tuple[Literal[1], Overload[(a: ArrayLike | None, axis: None = None, out: None = None, keepdims: Literal[0, False] | _NoValueType = ..., *, where: _ArrayLikeBool_co | _NoValueType = ...) -> numpy.bool[builtins.bool], (a: ArrayLike | None, axis: int | tuple[int, ...] | None = None, out: None = None, keepdims: _BoolLike_co | _NoValueType = ..., *, where: _ArrayLikeBool_co | _NoValueType = ...) -> Any, [_ArrayT: ndarray[Any, Any]](a: ArrayLike | None, axis: int | tuple[int, ...] | None, out: _ArrayT, keepdims: _BoolLike_co | _NoValueType = ..., *, where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT, [_ArrayT: ndarray[Any, Any]](a: ArrayLike | None, axis: int | tuple[int, ...] | None = None, *, out: _ArrayT, keepdims: _BoolLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT]]]` is not assignable to parameter `iloc_to_func` with type `list[tuple[TILocSelectorOne, (...) -> ndarray[Any, Any]]]` in function `static_frame.core.reduce.ReduceAxis._derive_row_dtype_array` [bad-argument-type]
-   (a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: None = None, out: None = None, keepdims: Literal[0, False] | _NoValueType = ..., *, where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> numpy.bool[builtins.bool]
-   (a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: int | tuple[int, ...] | None = None, out: None = None, keepdims: _NoValueType | builtins.bool | numpy.bool[builtins.bool] = ..., *, where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> Any
-   [_ArrayT: ndarray[Any, Any]](a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: int | tuple[int, ...] | None, out: _ArrayT, keepdims: _NoValueType | builtins.bool | numpy.bool[builtins.bool] = ..., *, where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT
-   [_ArrayT: ndarray[Any, Any]](a: Buffer | _NestedSequence[bytes | complex | str] | _NestedSequence[_SupportsArray[dtype[Any]]] | _SupportsArray[dtype[Any]] | bytes | complex | str | None, axis: int | tuple[int, ...] | None = None, *, out: _ArrayT, keepdims: _NoValueType | builtins.bool | numpy.bool[builtins.bool] = ..., where: _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | _NestedSequence[builtins.bool] | _NoValueType | _SupportsArray[dtype[numpy.bool[builtins.bool]]] | builtins.bool = ...) -> _ArrayT
+   (a: ArrayLike | None, axis: None = None, out: None = None, keepdims: Literal[0, False] | _NoValueType = ..., *, where: _ArrayLikeBool_co | _NoValueType = ...) -> numpy.bool[builtins.bool]
+   (a: ArrayLike | None, axis: int | tuple[int, ...] | None = None, out: None = None, keepdims: _BoolLike_co | _NoValueType = ..., *, where: _ArrayLikeBool_co | _NoValueType = ...) -> Any
+   [_ArrayT: ndarray[Any, Any]](a: ArrayLike | None, axis: int | tuple[int, ...] | None, out: _ArrayT, keepdims: _BoolLike_co | _NoValueType = ..., *, where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT
+   [_ArrayT: ndarray[Any, Any]](a: ArrayLike | None, axis: int | tuple[int, ...] | None = None, *, out: _ArrayT, keepdims: _BoolLike_co | _NoValueType = ..., where: _ArrayLikeBool_co | _NoValueType = ...) -> _ArrayT

prefect (https://github.com/PrefectHQ/prefect)
- ERROR src/prefect/runner/runner.py:468:17-31: Argument `(self: Self@Runner, flow: Flow[Ellipsis, Any], name: str | None = None, interval: Iterable[float | int | timedelta] | float | int | timedelta | None = None, cron: Iterable[str] | str | None = None, rrule: Iterable[str] | str | None = None, paused: bool | None = None, schedule: Schedule | None = None, schedules: Sequence[CronSchedule | DeploymentScheduleCreate | IntervalSchedule | NoSchedule | RRuleSchedule | Schedule | dict[str, Any]] | None = None, concurrency_limit: ConcurrencyLimitConfig | int | None = None, parameters: dict[str, Any] | None = None, triggers: list[CompoundTrigger | DeploymentCompoundTrigger | DeploymentEventTrigger | DeploymentMetricTrigger | DeploymentSequenceTrigger | EventTrigger | MetricTrigger | SequenceTrigger] | None = None, description: str | None = None, tags: list[str] | None = None, version: str | None = None, enforce_parameter_schema: bool = True, entrypoint_type: EntrypointType = EntrypointType.FILE_PATH) -> Coroutine[Unknown, Unknown, UUID]` is not assignable to parameter with type `(flow: Flow[Ellipsis, Any], name: str | None = None, interval: Iterable[float | int | timedelta] | float | int | timedelta | None = None, cron: Iterable[str] | str | None = None, rrule: Iterable[str] | str | None = None, paused: bool | None = None, schedule: Schedule | None = None, schedules: Sequence[CronSchedule | DeploymentScheduleCreate | IntervalSchedule | NoSchedule | RRuleSchedule | Schedule | dict[str, Any]] | None = None, concurrency_limit: ConcurrencyLimitConfig | int | None = None, parameters: dict[str, Any] | None = None, triggers: list[CompoundTrigger | DeploymentCompoundTrigger | DeploymentEventTrigger | DeploymentMetricTrigger | DeploymentSequenceTrigger | EventTrigger | MetricTrigger | SequenceTrigger] | None = None, description: str | None = None, tags: list[str] | None = None, version: str | None = None, enforce_parameter_schema: bool = True, entrypoint_type: EntrypointType = EntrypointType.FILE_PATH) -> Awaitable[Awaitable[Unknown] | Unknown] | Awaitable[Unknown] | Unknown` in function `prefect._internal.concurrency.api.create_call` [bad-argument-type]
+ ERROR src/prefect/runner/runner.py:468:17-31: Argument `(self: Self@Runner, flow: Flow[Ellipsis, Any], name: str | None = None, interval: Iterable[float | int | timedelta] | float | int | timedelta | None = None, cron: Iterable[str] | str | None = None, rrule: Iterable[str] | str | None = None, paused: bool | None = None, schedule: Schedule | None = None, schedules: Sequence[SCHEDULE_TYPES | DeploymentScheduleCreate | Schedule | dict[str, Any]] | None = None, concurrency_limit: ConcurrencyLimitConfig | int | None = None, parameters: dict[str, Any] | None = None, triggers: list[CompoundTrigger | DeploymentCompoundTrigger | DeploymentEventTrigger | DeploymentMetricTrigger | DeploymentSequenceTrigger | EventTrigger | MetricTrigger | SequenceTrigger] | None = None, description: str | None = None, tags: list[str] | None = None, version: str | None = None, enforce_parameter_schema: bool = True, entrypoint_type: EntrypointType = EntrypointType.FILE_PATH) -> Coroutine[Unknown, Unknown, UUID]` is not assignable to parameter with type `(flow: Flow[Ellipsis, Any], name: str | None = None, interval: Iterable[float | int | timedelta] | float | int | timedelta | None = None, cron: Iterable[str] | str | None = None, rrule: Iterable[str] | str | None = None, paused: bool | None = None, schedule: Schedule | None = None, schedules: Sequence[SCHEDULE_TYPES | DeploymentScheduleCreate | Schedule | dict[str, Any]] | None = None, concurrency_limit: ConcurrencyLimitConfig | int | None = None, parameters: dict[str, Any] | None = None, triggers: list[CompoundTrigger | DeploymentCompoundTrigger | DeploymentEventTrigger | DeploymentMetricTrigger | DeploymentSequenceTrigger | EventTrigger | MetricTrigger | SequenceTrigger] | None = None, description: str | None = None, tags: list[str] | None = None, version: str | None = None, enforce_parameter_schema: bool = True, entrypoint_type: EntrypointType = EntrypointType.FILE_PATH) -> Awaitable[Awaitable[Unknown] | Unknown] | Awaitable[Unknown] | Unknown` in function `prefect._internal.concurrency.api.create_call` [bad-argument-type]

pip (https://github.com/pypa/pip)
- ERROR src/pip/_vendor/packaging/markers.py:144:12-24: Returned type `tuple[Value | Variable | MarkerAtom, Op | MarkerAtom, Value | Variable | MarkerAtom]` is not assignable to declared return type `Sequence[MarkerAtom] | list[Literal['and', 'or'] | Sequence[MarkerAtom] | tuple[Value | Variable, Op, Value | Variable] | MarkerList] | str | tuple[Value | Variable, Op, Value | Variable]` [bad-return]
+ ERROR src/pip/_vendor/packaging/markers.py:144:12-24: Returned type `tuple[Value | Variable | MarkerAtom, Op | MarkerAtom, Value | Variable | MarkerAtom]` is not assignable to declared return type `Sequence[MarkerAtom] | list[MarkerLogical | MarkerAtom | MarkerList] | str | tuple[Value | Variable, Op, Value | Variable]` [bad-return]

cryptography (https://github.com/pyca/cryptography)
- ERROR src/cryptography/x509/extensions.py:1561:20-43: Returned type `list[IPv4Address | IPv4Network | IPv6Address | IPv6Network | Name | ObjectIdentifier | bytes | str]` is not assignable to declared return type `list[_IPAddressTypes] | list[Name] | list[ObjectIdentifier] | list[OtherName] | list[str]` [bad-return]
+ ERROR src/cryptography/x509/extensions.py:1561:20-43: Returned type `list[_IPAddressTypes | Name | ObjectIdentifier | bytes | str]` is not assignable to declared return type `list[_IPAddressTypes] | list[Name] | list[ObjectIdentifier] | list[OtherName] | list[str]` [bad-return]

jax (https://github.com/google/jax)
- ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:1565:32-58: Argument `Sequence[Blocked | BoundedSlice | Element | Squeezed | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:1565:32-58: Argument `Sequence[BlockDim | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
- ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:1569:25-44: Argument `Sequence[Blocked | BoundedSlice | Element | Squeezed | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:1569:25-44: Argument `Sequence[BlockDim | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
- ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:2114:32-58: Argument `Sequence[Blocked | BoundedSlice | Element | Squeezed | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:2114:32-58: Argument `Sequence[BlockDim | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
- ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:2119:25-44: Argument `Sequence[Blocked | BoundedSlice | Element | Squeezed | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]
+ ERROR jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py:2119:25-44: Argument `Sequence[BlockDim | int | None] | None` is not assignable to parameter `obj` with type `Sized` in function `len` [bad-argument-type]

optuna (https://github.com/optuna/optuna)
- ERROR tutorial/20_recipes/006_user_defined_pruner.py:130:16-25: Argument `(trial: Unknown) -> Literal[0] | float | float64 | floating[_16Bit] | floating[_32Bit]` is not assignable to parameter `func` with type `(Trial) -> Sequence[float] | float` in function `optuna.study.study.Study.optimize` [bad-argument-type]
+ ERROR tutorial/20_recipes/006_user_defined_pruner.py:130:16-25: Argument `(trial: Unknown) -> Float | Literal[0]` is not assignable to parameter `func` with type `(Trial) -> Sequence[float] | float` in function `optuna.study.study.Study.optimize` [bad-argument-type]

packaging (https://github.com/pypa/packaging)
- ERROR src/packaging/markers.py:149:12-24: Returned type `tuple[Value | Variable | MarkerAtom, Op | MarkerAtom, Value | Variable | MarkerAtom]` is not assignable to declared return type `Sequence[MarkerAtom] | list[Literal['and', 'or'] | Sequence[MarkerAtom] | tuple[Value | Variable, Op, Value | Variable] | MarkerList] | str | tuple[Value | Variable, Op, Value | Variable]` [bad-return]
+ ERROR src/packaging/markers.py:149:12-24: Returned type `tuple[Value | Variable | MarkerAtom, Op | MarkerAtom, Value | Variable | MarkerAtom]` is not assignable to declared return type `Sequence[MarkerAtom] | list[MarkerLogical | MarkerAtom | MarkerList] | str | tuple[Value | Variable, Op, Value | Variable]` [bad-return]

CPython (cases_generator) (https://github.com/python/cpython)
- ERROR Tools/cases_generator/parsing.py:333:5-16: Argument `(self: Self@Parser) -> Family | InstDef | LabelDef | Macro | Pseudo | None` is not assignable to parameter `func` with type `(Self@Parser) -> Family | None` in function `contextual` [bad-argument-type]
+ ERROR Tools/cases_generator/parsing.py:333:5-16: Argument `(self: Self@Parser) -> AstNode | None` is not assignable to parameter `func` with type `(Self@Parser) -> Family | None` in function `contextual` [bad-argument-type]
- ERROR Tools/cases_generator/parsing.py:429:5-16: Argument `(self: Self@Parser) -> CacheEffect | StackEffect | None` is not assignable to parameter `func` with type `(Self@Parser) -> CacheEffect | None` in function `contextual` [bad-argument-type]
+ ERROR Tools/cases_generator/parsing.py:429:5-16: Argument `(self: Self@Parser) -> InputEffect | None` is not assignable to parameter `func` with type `(Self@Parser) -> CacheEffect | None` in function `contextual` [bad-argument-type]
- ERROR Tools/cases_generator/parsing.py:535:5-16: Argument `(self: Self@Parser) -> CacheEffect | OpName | None` is not assignable to parameter `func` with type `(Self@Parser) -> CacheEffect | None` in function `contextual` [bad-argument-type]
+ ERROR Tools/cases_generator/parsing.py:535:5-16: Argument `(self: Self@Parser) -> UOp | None` is not assignable to parameter `func` with type `(Self@Parser) -> CacheEffect | None` in function `contextual` [bad-argument-type]

anyio (https://github.com/agronholm/anyio)
- ERROR src/anyio/_core/_tempfile.py:554:36-81: Unpacked argument `tuple[AnyStr | None, AnyStr | None, AnyStr | None, bool]` is not assignable to parameter `*args` with type `tuple[str | None, str | None, PathLike[str] | str | None, bool]` in function `anyio.to_thread.run_sync` [bad-argument-type]
+ ERROR src/anyio/_core/_tempfile.py:554:36-81: Unpacked argument `tuple[AnyStr | None, AnyStr | None, AnyStr | None, bool]` is not assignable to parameter `*args` with type `tuple[str | None, str | None, StrPath | None, bool]` in function `anyio.to_thread.run_sync` [bad-argument-type]
- ERROR src/anyio/_core/_tempfile.py:589:36-75: Unpacked argument `tuple[AnyStr | None, AnyStr | None, AnyStr | None]` is not assignable to parameter `*args` with type `tuple[str | None, str | None, PathLike[str] | str | None]` in function `anyio.to_thread.run_sync` [bad-argument-type]
+ ERROR src/anyio/_core/_tempfile.py:589:36-75: Unpacked argument `tuple[AnyStr | None, AnyStr | None, AnyStr | None]` is not assignable to parameter `*args` with type `tuple[str | None, str | None, StrPath | None]` in function `anyio.to_thread.run_sync` [bad-argument-type]

meson (https://github.com/mesonbuild/meson)
- ERROR mesonbuild/build.py:1508:41-52: Argument `list[CustomTarget | CustomTargetIndex | File | GeneratedList | StructuredSources]` is not assignable to parameter `sources` with type `list[SourceOutputs]` in function `BuildTarget.process_sourcelist` [bad-argument-type]
+ ERROR mesonbuild/build.py:1508:41-52: Argument `list[GeneratedTypes | File | StructuredSources]` is not assignable to parameter `sources` with type `list[SourceOutputs]` in function `BuildTarget.process_sourcelist` [bad-argument-type]
- ERROR mesonbuild/build.py:1528:45-62: Argument `list[CustomTarget | CustomTargetIndex | File | GeneratedList | StructuredSources]` is not assignable to parameter `sources` with type `list[SourceOutputs]` in function `BuildTarget.process_sourcelist` [bad-argument-type]
+ ERROR mesonbuild/build.py:1528:45-62: Argument `list[GeneratedTypes | File | StructuredSources]` is not assignable to parameter `sources` with type `list[SourceOutputs]` in function `BuildTarget.process_sourcelist` [bad-argument-type]
- ERROR mesonbuild/build.py:2854:51-105: Argument `File` is not assignable to parameter `cmd` with type `Sequence[BuildTarget | CustomTarget | CustomTargetIndex | File | Program | str]` in function `CommandBase.flatten_command` [bad-argument-type]
+ ERROR mesonbuild/build.py:2854:51-105: Argument `File` is not assignable to parameter `cmd` with type `Sequence[BuildTargetTypes | File | Program | str]` in function `CommandBase.flatten_command` [bad-argument-type]
- ERROR mesonbuild/build.py:2938:45-52: Argument `Sequence[BuildTarget | CustomTarget | CustomTargetIndex | File | GeneratedList | Program | str]` is not assignable to parameter `cmd` with type `Sequence[BuildTarget | CustomTarget | CustomTargetIndex | File | Program | str]` in function `CommandBase.flatten_command` [bad-argument-type]
+ ERROR mesonbuild/build.py:2938:45-52: Argument `Sequence[BuildTargetTypes | File | GeneratedList | Program | str]` is not assignable to parameter `cmd` with type `Sequence[BuildTargetTypes | File | Program | str]` in function `CommandBase.flatten_command` [bad-argument-type]
- ERROR mesonbuild/interpreter/interpreter.py:485:41-53: Argument `CustomTarget | CustomTargetIndex | File | GeneratedList | StructuredSources` is not assignable to parameter `invalues` with type `list[ExecutableSerialisation | HoldableObject | MesonInterpreterObject | Sequence[TYPE_elementary] | Sequence[TYPE_var] | bool | dict[str, TYPE_elementary] | dict[str, TYPE_var] | int | str]` in function `Interpreter.process_new_values` [bad-argument-type]
+ ERROR mesonbuild/interpreter/interpreter.py:485:41-53: Argument `CustomTarget | CustomTargetIndex | File | GeneratedList | StructuredSources` is not assignable to parameter `invalues` with type `list[TYPE_var | ExecutableSerialisation]` in function `Interpreter.process_new_values` [bad-argument-type]
- ERROR mesonbuild/interpreter/interpreter.py:1919:33-64: No matching overload found for function `Interpreter.build_target` called with arguments: (BaseNode, tuple[str, list[CustomTarget | CustomTargetIndex | File | GeneratedList | str]], Jar, type[Jar]) [no-matching-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:1919:33-64: No matching overload found for function `Interpreter.build_target` called with arguments: (BaseNode, tuple[str, list[GeneratedTypes | File | str]], Jar, type[Jar]) [no-matching-overload]
- ERROR mesonbuild/interpreter/interpreter.py:1933:37-75: No matching overload found for function `Interpreter.build_target` called with arguments: (BaseNode, tuple[str, list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]], BuildTarget, type[Executable]) [no-matching-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:1933:37-75: No matching overload found for function `Interpreter.build_target` called with arguments: (BaseNode, tuple[str, list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]], BuildTarget, type[Executable]) [no-matching-overload]
- ERROR mesonbuild/interpreter/interpreter.py:1944:33-64: No matching overload found for function `Interpreter.build_target` called with arguments: (BaseNode, tuple[str, list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]], BuildTarget, type[Jar]) [no-matching-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:1944:33-64: No matching overload found for function `Interpreter.build_target` called with arguments: (BaseNode, tuple[str, list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]], BuildTarget, type[Jar]) [no-matching-overload]
- ERROR mesonbuild/interpreter/interpreter.py:2017:41-58: No matching overload found for function `Interpreter.source_strings_to_files` called with arguments: (list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | Program | str]) [no-matching-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:2017:41-58: No matching overload found for function `Interpreter.source_strings_to_files` called with arguments: (list[GeneratedTypes | BuildTarget | ExtractedObjects | File | Program | str]) [no-matching-overload]
- ERROR mesonbuild/interpreter/interpreter.py:2113:46-77: No matching overload found for function `Interpreter.source_strings_to_files` called with arguments: (list[BuildTarget | CustomTarget | CustomTargetIndex | ExternalProgram | ExtractedObjects | File | GeneratedList | str], strict=Literal[False]) [no-matching-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:2113:46-77: No matching overload found for function `Interpreter.source_strings_to_files` called with arguments: (list[GeneratedTypes | BuildTarget | ExternalProgram | ExtractedObjects | File | str], strict=Literal[False]) [no-matching-overload]
- ERROR mesonbuild/interpreter/interpreter.py:2184:13-24: Cannot set item in `list[BuildTarget | CustomTarget | CustomTargetIndex | ExternalProgram | File | str]` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:2184:13-24: Cannot set item in `list[BuildTargetTypes | ExternalProgram | File | str]` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:2459:40-47: Argument `dict[str, list[CustomTarget | CustomTargetIndex | File | GeneratedList]]` is not assignable to parameter `sources` with type `defaultdict[str, list[CustomTarget | CustomTargetIndex | File | GeneratedList]]` in function `mesonbuild.build.StructuredSources.__init__` [bad-argument-type]
+ ERROR mesonbuild/interpreter/interpreter.py:2459:40-47: Argument `dict[str, list[GeneratedTypes | File]]` is not assignable to parameter `sources` with type `defaultdict[str, list[GeneratedTypes | File]]` in function `mesonbuild.build.StructuredSources.__init__` [bad-argument-type]
- ERROR mesonbuild/interpreter/interpreter.py:3198:9-32: Implementation signature `(self: Self@Interpreter, sources: list[SourceInputs], strict: bool = True) -> list[SourceOutputs]` does not accept all arguments that overload signature `(self: Self@Interpreter, sources: list[CustomTarget | CustomTargetIndex | File | GeneratedList | str]) -> list[CustomTarget | CustomTargetIndex | File | GeneratedList]` accepts [inconsistent-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:3198:9-32: Implementation signature `(self: Self@Interpreter, sources: list[SourceInputs], strict: bool = True) -> list[SourceOutputs]` does not accept all arguments that overload signature `(self: Self@Interpreter, sources: list[CustomTarget | CustomTargetIndex | File | GeneratedList | str]) -> list[GeneratedTypes | File]` accepts [inconsistent-overload]
- ERROR mesonbuild/interpreter/interpreter.py:3198:9-32: Overload return type `list[CustomTarget | CustomTargetIndex | File | GeneratedList]` is not assignable to implementation return type `list[SourceOutputs]` [inconsistent-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:3198:9-32: Overload return type `list[GeneratedTypes | File]` is not assignable to implementation return type `list[SourceOutputs]` [inconsistent-overload]
- ERROR mesonbuild/interpreter/interpreter.py:3204:9-32: Implementation signature `(self: Self@Interpreter, sources: list[SourceInputs], strict: bool = True) -> list[SourceOutputs]` does not accept all arguments that overload signature `(self: Self@Interpreter, sources: list[list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]], strict: bool = True) -> list[SourceOutputs]` accepts [inconsistent-overload]
+ ERROR mesonbuild/interpreter/interpreter.py:3204:9-32: Implementation signature `(self: Self@Interpreter, sources: list[SourceInputs], strict: bool = True) -> list[SourceOutputs]` does not accept all arguments that overload signature `(self: Self@Interpreter, sources: list[list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]], strict: bool = True) -> list[SourceOutputs]` accepts [inconsistent-overload]
- ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` and `BuildTarget` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]` and `BuildTarget` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` and `CustomTarget` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]` and `CustomTarget` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` and `CustomTargetIndex` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]` and `CustomTargetIndex` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` and `ExtractedObjects` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]` and `ExtractedObjects` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` and `File` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]` and `File` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` and `GeneratedList` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]` and `GeneratedList` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` and `str` [unsupported-operation]
+ ERROR mesonbuild/interpreter/interpreter.py:3469:19-46: `+` is not supported between `list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]` and `str` [unsupported-operation]
- ERROR mesonbuild/interpreter/interpreter.py:3492:17-27: `list[str]` is not assignable to `tuple[str, list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]]` [bad-assignment]
+ ERROR mesonbuild/interpreter/interpreter.py:3492:17-27: `list[str]` is not assignable to `tuple[str, list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]]` [bad-assignment]
- ERROR mesonbuild/interpreter/interpreter.py:3501:17-27: `list[str]` is not assignable to `tuple[str, list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]]` [bad-assignment]
+ ERROR mesonbuild/interpreter/interpreter.py:3501:17-27: `list[str]` is not assignable to `tuple[str, list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]]` [bad-assignment]
- ERROR mesonbuild/interpreter/type_checking.py:490:5-57: Argument `tuple[type[None], ContainerTypeInfo]` is not assignable to parameter `types` with type `ContainerTypeInfo | tuple[ContainerTypeInfo | type[list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]], ...] | type[list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]]` in function `mesonbuild.interpreterbase.decorators.KwargInfo.__init__` [bad-argument-type]
+ ERROR mesonbuild/interpreter/type_checking.py:490:5-57: Argument `tuple[type[None], ContainerTypeInfo]` is not assignable to parameter `types` with type `ContainerTypeInfo | tuple[ContainerTypeInfo | type[list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]], ...] | type[list[GeneratedTypes | BuildTarget | ExtractedObjects | File | StructuredSources | str]]` in function `mesonbuild.interpreterbase.decorators.KwargInfo.__init__` [bad-argument-type]
- ERROR mesonbuild/modules/hotdoc.py:180:57-68: Argument `list[CustomTarget | CustomTargetIndex | File | GeneratedList | StructuredSources]` is not assignable to parameter `deps` with type `list[CustomTarget | CustomTargetIndex | Dependency | SharedLibrary | StaticLibrary]` in function `HotdocTargetBuilder.process_dependencies` [bad-argument-type]
+ ERROR mesonbuild/modules/hotdoc.py:180:57-68: Argument `list[GeneratedTypes | File | StructuredSources]` is not assignable to parameter `deps` with type `list[CustomTarget | CustomTargetIndex | Dependency | SharedLibrary | StaticLibrary]` in function `HotdocTargetBuilder.process_dependencies` [bad-argument-type]
- ERROR mesonbuild/modules/hotdoc.py:190:43-72: Argument `list[BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | File | GeneratedList | StructuredSources | str]` is not assignable to parameter `deps` with type `list[CustomTarget | CustomTargetIndex | Dependency | SharedLibrary | StaticLibrary]` in function `HotdocTargetBuilder.process_dependencies` [bad-argument-type]
+ ERROR mesonbuild/modules/hotdoc.py:190:43-72: Argument `list[SourceOutputs | str]` is not assignable to parameter `deps` with type `list[CustomTarget | CustomTargetIndex | Dependency | SharedLibrary | StaticLibrary]` in function `HotdocTargetBuilder.process_dependencies` [bad-argument-type]
- ERROR mesonbuild/modules/i18n.py:430:17-68: Argument `list[BuildTarget | CustomTarget | CustomTargetIndex | File | GeneratedList | Program | str | None]` is not assignable to parameter `command` with type `Sequence[BuildTarget | CustomTarget | CustomTargetIndex | File | GeneratedList | Program | str]` in function `mesonbuild.build.CustomTarget.__init__` [bad-argument-type]
+ ERROR mesonbuild/modules/i18n.py:430:17-68: Argument `list[BuildTarget | CustomTarget | CustomTargetIndex | File | GeneratedList | Program | str | None]` is not assignable to parameter `command` with type `Sequence[BuildTargetTypes | File | GeneratedList | Program | str]` in function `mesonbuild.build.CustomTarget.__init__` [bad-argument-type]
-   (cmd: StrPath, mode: int = 1, path: PathLike[str] | str | None = None) -> str | None
+   (cmd: StrPath, mode: int = 1, path: StrPath | None = None) -> str | None
-   (cmd: bytes, mode: int = 1, path: PathLike[str] | str | None = None) -> bytes | None
+   (cmd: bytes, mode: int = 1, path: StrPath | None = None) -> bytes | None

altair (https://github.com/vega/altair)
- ERROR altair/utils/_transformed_data.py:119:10-48: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR altair/utils/_transformed_data.py:119:10-48: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR altair/utils/_transformed_data.py:119:10-48: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR altair/utils/_transformed_data.py:119:10-48: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR altair/utils/save.py:283:14-49: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR altair/utils/save.py:283:14-49: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR altair/utils/save.py:283:14-49: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR altair/utils/save.py:283:14-49: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:52:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:52:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:52:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:52:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:78:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:78:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:78:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:78:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:146:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:146:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:146:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:146:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:206:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:206:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:206:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:206:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:269:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:269:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/test_jupyter_chart.py:269:10-51: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/test_jupyter_chart.py:269:10-51: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/utils/test_mimebundle.py:231:10-52: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/utils/test_mimebundle.py:231:10-52: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/utils/test_mimebundle.py:231:10-52: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/utils/test_mimebundle.py:231:10-52: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/utils/test_mimebundle.py:245:10-52: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/utils/test_mimebundle.py:245:10-52: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/utils/test_mimebundle.py:245:10-52: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/utils/test_mimebundle.py:245:10-52: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:211:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:211:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:211:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:211:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:215:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:215:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:215:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:215:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:222:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:222:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:222:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:222:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:226:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:226:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:226:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:226:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:990:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:990:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:990:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:990:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:999:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:999:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:999:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:999:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1566:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1566:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1566:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1566:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1569:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1569:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1569:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1569:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1596:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1596:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1596:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1596:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1601:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1601:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1601:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1601:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1609:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1609:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1609:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1609:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1613:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1613:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1613:10-65: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1613:10-65: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1915:10-52: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1915:10-52: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_api.py:1915:10-52: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_api.py:1915:10-52: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_data.py:15:10-61: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_data.py:15:10-61: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_data.py:15:10-61: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_data.py:15:10-61: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_data.py:27:13-49: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_data.py:27:13-49: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_data.py:27:13-49: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_data.py:27:13-49: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
- ERROR tests/vegalite/v6/test_geo_interface.py:32:10-66: Cannot use `PluginEnabler[(narwhals.stable.v1.typing.DataFrameLike | altair.utils.core.DataFrameLike | NativeDataFrame | SupportsGeoInterface | dict[Any, Any] | Unknown, ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]
+ ERROR tests/vegalite/v6/test_geo_interface.py:32:10-66: Cannot use `PluginEnabler[(IntoDataFrame | DataFrameLike | SupportsGeoInterface | dict[Any, Any], ...) -> Unknown, Unknown]` as a context manager [bad-context-manager]

... (truncated 30 lines) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the diagnosis of typing error of decorator is very hard to read.

3 participants