Ecosystem report

Old: main (merge base) 7c3e2db9 → New: 27228/merge a2b70dbe
Lint Rule Removed Added Changed
Total 142 45 151
invalid-argument-type 71 36 69
no-matching-overload 44 0 0
unresolved-attribute 9 1 34
invalid-return-type 4 3 16
unsupported-operator 0 0 16
invalid-assignment 2 2 11
not-iterable 5 0 2
not-subscriptable 3 0 2
call-non-callable 2 0 1
invalid-raise 2 0 0
unused-type-ignore-comment 0 2 0
unknown-argument 0 1 0
Project Removed Added Changed
Total 142 45 151
pandas 27 3 28
spark 24 12 11
static-frame 24 3 11
xarray 15 1 18
pwndbg 9 4 13
Expression 6 0 14
jax 7 0 9
discord.py 3 1 11
websockets 0 13 0
hydpy 9 0 2
koda-validate 0 0 11
black 4 0 0
dulwich 0 1 3
ibis 0 0 3
mkdocs 1 2 0
prefect 1 1 1
pytest 3 0 0
scikit-learn 0 0 3
starlette 0 3 0
vision 3 0 0

Expression (https://github.com/cognitedata/Expression)

expression/collections/maptree.py

[error] invalid-argument-type - Argument to function `mk` is incorrect: Argument type `object` does not satisfy upper bound `SupportsLessThan` of type variable `Key`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Argument type `object` does not satisfy upper bound `SupportsLessThan` of type variable `Key`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Top[SupportsLessThan] | Unknown, object]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Top[SupportsLessThan] | Unknown, object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Argument type `object` does not satisfy upper bound `SupportsLessThan` of type variable `Key`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Top[SupportsLessThan] | Unknown, object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Top[SupportsLessThan] | Unknown, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Top[SupportsLessThan] | Unknown, object]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Argument type `object` does not satisfy upper bound `SupportsLessThan` of type variable `Key`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Argument type `object` does not satisfy upper bound `SupportsLessThan` of type variable `Key`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`, found `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
[error] invalid-return-type - Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Unknown | Top[SupportsLessThan], object]]`
[error] invalid-argument-type - Argument to function `mk` is incorrect: Argument type `object` does not satisfy upper bound `SupportsLessThan` of type variable `Key`

aiohttp (https://github.com/aio-libs/aiohttp)

aiohttp/web.py

[error] invalid-argument-type - Argument to `UnixSite.__init__` is incorrect: Expected `str | PathLike[str]`, found `str | (Iterable[str | PathLike[str]] & PathLike[object]) | PathLike[str]`
[error] invalid-argument-type - Argument to `UnixSite.__init__` is incorrect: Expected `str | PathLike[str]`, found `str | (Iterable[str | PathLike[str]] & Top[PathLike[Unknown]]) | PathLike[str]`

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

src/anyio/_backends/_trio.py

[error] invalid-argument-type - Argument to function `convert_item` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `str | bytes | (Sequence[str | bytes | PathLike[str] | PathLike[bytes]] & PathLike[object]) | PathLike[str] | PathLike[bytes]`
[error] invalid-argument-type - Argument to function `convert_item` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `str | bytes | (Sequence[str | bytes | PathLike[str] | PathLike[bytes]] & Top[PathLike[Unknown]]) | PathLike[str] | PathLike[bytes]`

black (https://github.com/psf/black)

src/black/trans.py

[error] invalid-raise - Cannot use object of type `object` as an exception cause
[error] invalid-raise - Cannot use object of type `object` as an exception cause
[error] unresolved-attribute - Unresolved attribute `__cause__` on type `object`
[error] invalid-assignment - Object of type `object` is not assignable to attribute `__cause__` of type `BaseException | None`

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

src/bokeh/core/property/visual.py

[error] invalid-argument-type - Argument to function `open` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes] | IO[bytes]`, found `Path | (Any & BinaryIO & ~ndarray[tuple[object, ...], dtype[object]] & ~str) | (Any & Top[_TemporaryFileWrapper[Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~str) | (Image & Top[_TemporaryFileWrapper[Unknown]] & ~str) | (Image & BinaryIO & ~str)`
[error] invalid-argument-type - Argument to function `open` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes] | IO[bytes]`, found `Path | (Any & BinaryIO & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~str) | (Any & Top[_TemporaryFileWrapper[Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~str) | (Image & Top[_TemporaryFileWrapper[Unknown]] & ~str) | (Image & BinaryIO & ~str)`

colour (https://github.com/colour-science/colour)

colour/continuous/multi_signals.py

[error] invalid-argument-type - Argument to `Signal.__init__` is incorrect: Argument type `(_SupportsArray[dtype[Any]] & Top[Series[Any]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (_NestedSequence[_SupportsArray[dtype[Any]]] & Top[Series[Any]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (DataFrame & Top[Series[Any]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (Sequence[Unknown] & Top[Series[Any]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (Series[Any] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]])` does not satisfy upper bound `Signal` of type variable `Self`
[error] invalid-argument-type - Argument to `Signal.__init__` is incorrect: Argument type `(_SupportsArray[dtype[Any]] & Top[Series[Unknown]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (_NestedSequence[_SupportsArray[dtype[Any]]] & Top[Series[Unknown]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (DataFrame & Top[Series[Unknown]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (Sequence[Unknown] & Top[Series[Unknown]] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]]) | (Series[Any] & ~Signal & ~MultiSignals & ~tuple[object, ...] & ~Top[list[Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Iterator[object] & ~ValuesView[object] & ~Top[dict[Unknown, Unknown]])` does not satisfy upper bound `Signal` of type variable `Self`

colour/continuous/signal.py

[error] invalid-assignment - Object of type `ndarray[tuple[Any, ...], dtype[Unknown]] | (_Buffer & ndarray[tuple[object, ...], dtype[object]] & ~Signal) | (_SupportsArray[dtype[Any]] & ndarray[tuple[object, ...], dtype[object]] & ~Signal) | ... omitted 9 union elements` is not assignable to `ndarray[tuple[Any, ...], dtype[floating[_16Bit] | floating[_32Bit] | float64]]`
[error] invalid-assignment - Object of type `ndarray[tuple[Any, ...], dtype[Unknown]] | (_Buffer & ndarray[tuple[int, ...], dtype[generic[object]]] & ~Signal) | (_SupportsArray[dtype[Any]] & ndarray[tuple[int, ...], dtype[generic[object]]] & ~Signal) | ... omitted 9 union elements` is not assignable to `ndarray[tuple[Any, ...], dtype[floating[_16Bit] | floating[_32Bit] | float64]]`

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

homeassistant/components/imap/coordinator.py

[error] invalid-argument-type - Argument to function `get_parts` is incorrect: Expected `Message[str, str]`, found `(str & Message[object, Never]) | Message[str, str]`

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

discord/app_commands/errors.py

[error] unresolved-attribute - Object of type `((Interaction[Any], /, *args: Unknown, **kwargs: Unknown) -> Coroutine[Any, Any, object]) | ((Any, Interaction[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any])` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `((Group | Cog, Interaction[Any], /, *args: Unknown, **kwargs: Unknown) -> Coroutine[Any, Any, object]) | ((Interaction[Any], /, *args: Unknown, **kwargs: Unknown) -> Coroutine[Any, Any, object]) | ((Any, Interaction[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any])` has no attribute `__qualname__`

discord/ext/commands/core.py

[error] invalid-argument-type - Argument to bound method `Command.before_invoke` is incorrect: Expected `((object, Unknown, /) -> Coroutine[Any, Any, Any]) | ((Unknown, /) -> Coroutine[Any, Any, Any])`, found `((CogT@before_invoke, ContextT@before_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@before_invoke, /) -> Coroutine[Any, Any, Any])`
[error] invalid-argument-type - Argument to bound method `Command.before_invoke` is incorrect: Expected `((Cog | None, Unknown, /) -> Coroutine[Any, Any, Any]) | ((Unknown, /) -> Coroutine[Any, Any, Any])`, found `((CogT@before_invoke, ContextT@before_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@before_invoke, /) -> Coroutine[Any, Any, Any])`
[error] invalid-argument-type - Argument to bound method `Command.after_invoke` is incorrect: Expected `((object, Unknown, /) -> Coroutine[Any, Any, Any]) | ((Unknown, /) -> Coroutine[Any, Any, Any])`, found `((CogT@after_invoke, ContextT@after_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@after_invoke, /) -> Coroutine[Any, Any, Any])`
[error] invalid-argument-type - Argument to bound method `Command.after_invoke` is incorrect: Expected `((Cog | None, Unknown, /) -> Coroutine[Any, Any, Any]) | ((Unknown, /) -> Coroutine[Any, Any, Any])`, found `((CogT@after_invoke, ContextT@after_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@after_invoke, /) -> Coroutine[Any, Any, Any])`

discord/ui/container.py

[error] invalid-argument-type - Argument to bound method `Item.copy` is incorrect: Argument type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & Item[object]` does not satisfy upper bound `Item[V@Item]` of type variable `Self`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__discord_ui_model_type__`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[BaseView]` has no attribute `__discord_ui_model_type__`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__discord_ui_model_kwargs__`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[BaseView]` has no attribute `__discord_ui_model_kwargs__`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[BaseView]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[BaseView]` has no attribute `__name__`

discord/ui/section.py

[error] invalid-argument-type - Argument to bound method `Item._update_view` is incorrect: Argument type `str & Item[object]` does not satisfy upper bound `Item[V@Item]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Item[V@Section]`, found `(str & Item[object]) | Item[Any]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Item[V@Section]`, found `(str & Item[BaseView]) | Item[Any]`

discord/ui/view.py

[error] invalid-return-type - Return type does not match returned value: expected `list[Item[Self@_init_children]]`, found `list[(((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & Item[BaseView]) | Item[Any] | Item[Self@_init_children]]`
[error] invalid-argument-type - Argument to bound method `Item.copy` is incorrect: Argument type `((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & Item[object]` does not satisfy upper bound `Item[V@Item]` of type variable `Self`
[error] unresolved-attribute - Object of type `((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__discord_ui_model_type__`
[error] unresolved-attribute - Object of type `((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[BaseView]` has no attribute `__discord_ui_model_type__`
[error] unresolved-attribute - Object of type `((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__discord_ui_model_kwargs__`
[error] unresolved-attribute - Object of type `((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[BaseView]` has no attribute `__discord_ui_model_kwargs__`
[error] unresolved-attribute - Object of type `((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((Any, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[BaseView]` has no attribute `__name__`

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

dmr/streaming/controller.py

[error] invalid-argument-type - Argument to bound method `StreamingController.to_stream` is incorrect: Argument type `Controller[BaseSerializer] & StreamingController[object]` does not satisfy upper bound `StreamingController[_SerializerT_co@StreamingController]` of type variable `Self`

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

dulwich/patch.py

[error] invalid-assignment - Object of type `Message[str, str] | (BinaryIO & Message[object, Never]) | (TextIO & Message[object, Never])` is not assignable to `Message[str, str]`

dulwich/porcelain/__init__.py

[error] invalid-assignment - Object of type `list[str | bytes | (Sequence[str | bytes | PathLike[str]] & PathLike[object]) | PathLike[str]]` is not assignable to `Sequence[str | bytes | PathLike[str]] | bytes | PathLike[str] | None`
[error] invalid-assignment - Object of type `list[str | bytes | (Sequence[str | bytes | PathLike[str]] & Top[PathLike[Unknown]]) | PathLike[str]]` is not assignable to `Sequence[str | bytes | PathLike[str]] | bytes | PathLike[str] | None`
[error] invalid-argument-type - Argument to function `open` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | PathLike[str] | (BinaryIO & PathLike[object])`
[error] invalid-argument-type - Argument to function `open` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | PathLike[str] | (BinaryIO & Top[PathLike[Unknown]])`

dulwich/worktree.py

[error] invalid-assignment - Object of type `list[str | bytes | (Iterable[str | bytes | PathLike[str]] & PathLike[object]) | PathLike[str]]` is not assignable to `Iterable[str | bytes | PathLike[str]] | bytes | PathLike[str]`
[error] invalid-assignment - Object of type `list[str | bytes | (Iterable[str | bytes | PathLike[str]] & Top[PathLike[Unknown]]) | PathLike[str]]` is not assignable to `Iterable[str | bytes | PathLike[str]] | bytes | PathLike[str]`

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

hydpy/core/objecttools.py

[error] no-matching-overload - No overload of bound method `ndarray.item` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.item` matches arguments
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(~str & ~Real) | (Integral & ~str) | (Unknown & ~Real) | (Unknown & Integral) | float`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `~Real | Integral | float`
[error] invalid-argument-type - Argument to function `repr_values` is incorrect: Expected `Sequence[object] | ndarray[tuple[int], dtype[generic[Any]]]`, found `(ndarray[tuple[object, ...], dtype[object]] & ~str) | (Sequence[object] & ~str)`
[error] invalid-argument-type - Argument to function `repr_values` is incorrect: Expected `Sequence[object] | ndarray[tuple[int], dtype[generic[Any]]]`, found `(ndarray[tuple[int, ...], dtype[generic[object]]] & ~str) | (Sequence[object] & ~str)`

hydpy/cythons/modelutils.py

[error] invalid-argument-type - Argument to bound method `PyxWriter.set_pointer` is incorrect: Expected `InputSequences[Model] | OutputSequences[Model, OutputSequence] | LinkSequences[Model, LinkSequence]`, found `(InputSequences[Model] & LinkSequences[object, object]) | (FactorSequences[Model] & LinkSequences[object, object]) | (FluxSequences[Model] & LinkSequences[object, object]) | ... omitted 8 union elements`
[error] invalid-argument-type - Argument to function `PyxWriter.get_pointervalue` is incorrect: Expected `LinkSequences[Model, LinkSequence]`, found `(InputSequences[Model] & LinkSequences[object, object]) | (FactorSequences[Model] & LinkSequences[object, object]) | (FluxSequences[Model] & LinkSequences[object, object]) | ... omitted 8 union elements`
[error] invalid-argument-type - Argument to function `PyxWriter.set_pointervalue` is incorrect: Expected `LinkSequences[Model, LinkSequence]`, found `(InputSequences[Model] & LinkSequences[object, object]) | (FactorSequences[Model] & LinkSequences[object, object]) | (FluxSequences[Model] & LinkSequences[object, object]) | ... omitted 8 union elements`
[error] invalid-argument-type - Argument to bound method `PyxWriter.set_pointer` is incorrect: Expected `InputSequences[Model] | OutputSequences[Model, OutputSequence] | LinkSequences[Model, LinkSequence]`, found `InputSequences[Model] | FactorSequences[Model] | FluxSequences[Model] | ... omitted 15 union elements`
[error] invalid-argument-type - Argument to bound method `PyxWriter.update_outputs` is incorrect: Expected `OutputSequences[Model, OutputSequence]`, found `(InputSequences[Model] & OutputSequences[object, object]) | FactorSequences[Model] | FluxSequences[Model] | ... omitted 8 union elements`
[error] invalid-argument-type - Argument to bound method `PyxWriter.set_pointerinput` is incorrect: Expected `InputSequences[Model]`, found `InputSequences[Model] | (OutputSequences[Model, OutputSequence] & InputSequences[object]) | (LinkSequences[Model, LinkSequence] & InputSequences[object])`
[error] invalid-argument-type - Argument to bound method `PyxWriter.set_pointeroutput` is incorrect: Expected `OutputSequences[Model, OutputSequence]`, found `(OutputSequences[Model, OutputSequence] & ~InputSequences[object]) | (LinkSequences[Model, LinkSequence] & OutputSequences[object, object] & ~InputSequences[object])`

ibis (https://github.com/ibis-project/ibis)

ibis/expr/operations/core.py

[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(Any & ~Expr & ~Value[object, object]) | None`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(Any & ~Expr & ~Value[DataType, DataShape]) | None`
[error] invalid-argument-type - Argument to constructor `float.__new__` is incorrect: Expected `str | Buffer | SupportsFloat | SupportsIndex`, found `(Any & ~Expr & ~Value[object, object]) | None`
[error] invalid-argument-type - Argument to constructor `float.__new__` is incorrect: Expected `str | Buffer | SupportsFloat | SupportsIndex`, found `(Any & ~Expr & ~Value[DataType, DataShape]) | None`

ibis/formats/pandas.py

[error] invalid-assignment - Object of type `Top[list[Any]]` is not assignable to `Series[Any] | Iterable[tuple[str, dtype[Any] | ExtensionDtype]]`
[error] invalid-assignment - Object of type `Top[list[Unknown]]` is not assignable to `Series[Any] | Iterable[tuple[str, dtype[Any] | ExtensionDtype]]`

jax (https://github.com/google/jax)

jax/_src/lax/lax.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] invalid-argument-type - Argument to constructor `TypedNdArray.__new__` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Array | ndarray[tuple[Any, ...], Unknown] | Any`

jax/_src/lax/slicing.py

[error] unsupported-operator - Operator `<` is not supported between objects of type `(Any & ~int & ~Top[integer[Any]]) | (Array & ~int & ~Top[integer[Any]]) | (ndarray[tuple[Any, ...], dtype[Any]] & ~int & ~Top[integer[Any]]) | ... omitted 4 union elements` and `Literal[0]`
[error] unsupported-operator - Operator `<` is not supported between objects of type `(Any & ~int & ~Top[integer[Unknown]]) | (Array & ~int & ~Top[integer[Unknown]]) | (ndarray[tuple[Any, ...], dtype[Any]] & ~int & ~Top[integer[Unknown]]) | ... omitted 4 union elements` and `Literal[0]`

jax/_src/numpy/indexing.py

[error] invalid-argument-type - Argument to function `ndim` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `bool | (int & ndarray[tuple[object, ...], dtype[object]]) | (integer[Any] & ndarray[tuple[object, ...], dtype[object]]) | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to function `ndim` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `bool | (int & ndarray[tuple[int, ...], dtype[generic[object]]]) | (integer[Any] & ndarray[tuple[int, ...], dtype[generic[object]]]) | ... omitted 5 union elements`
[error] unsupported-operator - Operator `+` is not supported between objects of type `(int & ~Top[unsignedinteger[Any]]) | (integer[Any] & ~Top[unsignedinteger[Any]]) | slice[Any, Any, Any] | ... omitted 5 union elements` and `int`
[error] unsupported-operator - Operator `+` is not supported between objects of type `(int & ~Top[unsignedinteger[Unknown]]) | (integer[Any] & ~Top[unsignedinteger[Unknown]]) | slice[Any, Any, Any] | ... omitted 5 union elements` and `int`
[error] unsupported-operator - Operator `<` is not supported between objects of type `(int & ~Top[unsignedinteger[Any]]) | (integer[Any] & ~Top[unsignedinteger[Any]]) | slice[Any, Any, Any] | ... omitted 5 union elements` and `Literal[0]`
[error] unsupported-operator - Operator `<` is not supported between objects of type `(int & ~Top[unsignedinteger[Unknown]]) | (integer[Any] & ~Top[unsignedinteger[Unknown]]) | slice[Any, Any, Any] | ... omitted 5 union elements` and `Literal[0]`
[error] unsupported-operator - Operator `<` is not supported between objects of type `Array | (int & ndarray[tuple[object, ...], dtype[object]]) | (integer[Any] & ndarray[tuple[object, ...], dtype[object]]) | (Sequence[int | integer[Any]] & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `Literal[0]`
[error] unsupported-operator - Operator `<` is not supported between objects of type `Array | (int & ndarray[tuple[int, ...], dtype[generic[object]]]) | (integer[Any] & ndarray[tuple[int, ...], dtype[generic[object]]]) | (Sequence[int | integer[Any]] & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `Literal[0]`

jax/_src/numpy/lax_numpy.py

[error] not-iterable - Object of type `(Sequence[int] & tuple[object, ...]) | Array | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 11 union elements` may not be iterable

jax/_src/numpy/reductions.py

[error] not-iterable - Object of type `tuple[(int & ~ndarray[tuple[object, ...], dtype[object]]) | (Sequence[int] & ~ndarray[tuple[object, ...], dtype[object]] & ~tuple[object, ...] & ~Top[list[Unknown]])] | (int & ndarray[tuple[object, ...], dtype[object]]) | (Sequence[int] & ndarray[tuple[object, ...], dtype[object]]) | (Sequence[int] & tuple[object, ...]) | (Sequence[int] & Top[list[Unknown]])` may not be iterable

jax/_src/random/stateful_rng.py

[error] invalid-argument-type - Argument to function `index` is incorrect: Expected `SupportsIndex`, found `int | (Sequence[int] & Top[number[Any, int | float | complex]])`
[error] invalid-argument-type - Argument to function `index` is incorrect: Expected `SupportsIndex`, found `int | (Sequence[int] & Top[number[Unknown, int | float | complex]])`

jax/_src/state/discharge.py

[error] no-matching-overload - No overload of bound method `ndarray.reshape` matches arguments

jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_kernel.py

[error] invalid-argument-type - Argument is incorrect: Expected `Array`, found `(Array & ~ndarray[tuple[object, ...], dtype[object]]) | MultiHeadMask`
[error] invalid-argument-type - Argument is incorrect: Expected `Array`, found `(Array & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | MultiHeadMask`
[error] invalid-argument-type - Argument is incorrect: Expected `Array`, found `(Array & ~ndarray[tuple[object, ...], dtype[object]]) | MultiHeadMask`
[error] invalid-argument-type - Argument is incorrect: Expected `Array`, found `(Array & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | MultiHeadMask`
[error] invalid-argument-type - Argument is incorrect: Expected `Array`, found `(Array & ~ndarray[tuple[object, ...], dtype[object]]) | MultiHeadMask`
[error] invalid-argument-type - Argument is incorrect: Expected `Array`, found `(Array & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | MultiHeadMask`

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

koda_validate/serialization/json_schema.py

[error] invalid-argument-type - Argument to function `escape` is incorrect: Argument type `object` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] invalid-argument-type - Argument to function `escape` is incorrect: Argument type `str | bytes` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] invalid-argument-type - Argument to function `escape` is incorrect: Argument type `object` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] invalid-argument-type - Argument to function `escape` is incorrect: Argument type `str | bytes` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] unresolved-attribute - Object of type `object` has no attribute `isoformat`
[error] unresolved-attribute - Attribute `isoformat` is not defined on `int`, `float`, `Decimal` in union `int | float | Decimal | date`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, object]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, None | int | str | ... omitted 6 union elements]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, object]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, None | int | str | ... omitted 6 union elements]`
[error] unresolved-attribute - Object of type `object` has no attribute `isoformat`
[error] unresolved-attribute - Attribute `isoformat` is not defined on `int`, `float`, `Decimal` in union `int | float | Decimal | date`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, object]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, None | int | str | ... omitted 6 union elements]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, object]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, None | int | str | ... omitted 4 union elements]`, found `dict[str, None | int | str | ... omitted 6 union elements]`
[error] unresolved-attribute - Object of type `object` has no attribute `isoformat`
[error] unresolved-attribute - Attribute `isoformat` is not defined on `int`, `bytes`, `Decimal`, `str`, `float`, `UUID` in union `int | bytes | Decimal | ... omitted 4 union elements`
[error] unresolved-attribute - Object of type `object` has no attribute `isoformat`
[error] unresolved-attribute - Attribute `isoformat` is not defined on `int`, `bytes`, `Decimal`, `str`, `float`, `UUID` in union `int | bytes | Decimal | ... omitted 4 union elements`
[error] unresolved-attribute - Object of type `object` has no attribute `decode`
[error] unresolved-attribute - Attribute `decode` is not defined on `int`, `Decimal`, `str`, `float`, `date`, `UUID` in union `int | bytes | Decimal | ... omitted 4 union elements`

kopf (https://github.com/nolar/kopf)

kopf/_kits/webhacks.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `AsyncGenerator[WebhookClientConfig, None]`, found `AsyncIterator[WebhookClientConfig] & AsyncGenerator[object, None]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `AsyncGenerator[WebhookClientConfig, None]`, found `AsyncIterator[WebhookClientConfig] & AsyncGenerator[object, Never]`
[error] invalid-argument-type - Argument to bound method `list.remove` is incorrect: Expected `AsyncGenerator[WebhookClientConfig, None]`, found `AsyncIterator[WebhookClientConfig] & AsyncGenerator[object, None]`
[error] invalid-argument-type - Argument to bound method `list.remove` is incorrect: Expected `AsyncGenerator[WebhookClientConfig, None]`, found `AsyncIterator[WebhookClientConfig] & AsyncGenerator[object, Never]`

meson (https://github.com/mesonbuild/meson)

mesonbuild/interpreterbase/_unholder.py

[error] invalid-return-type - Return type does not match returned value: expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `HoldableObject | int | str | Top[list[Unknown]] | Top[dict[Unknown, Unknown]]`

mesonbuild/dependencies/detect.py

[error] invalid-return-type - Return type does not match returned value: expected `list[DependencyCandidate[ExternalDependency]]`, found `list[DependencyCandidate[Unknown]] | list[(((Environment, DependencyObjectKWs, /) -> list[DependencyCandidate[ExternalDependency]]) & DependencyCandidate[object]) | DependencyCandidate[Unknown]] | list[DependencyCandidate[ExternalDependency]]`

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

mkdocs/config/config_options.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__delitem__` of type `bound method Top[dict[Unknown, Unknown]].__delitem__(key: Never, /) -> None` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] unresolved-attribute - Object of type `type` has no attribute `_schema`

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

pandas/core/algorithms.py

[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] invalid-argument-type - Argument to bound method `ExtensionArray.isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | Series | (SequenceNotStr[Unknown] & ndarray[tuple[object, ...], dtype[object]])`
[error] invalid-argument-type - Argument to bound method `ExtensionArray.isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | Series | (SequenceNotStr[Unknown] & ndarray[tuple[int, ...], dtype[generic[object]]])`
[error] invalid-argument-type - Argument to bound method `ExtensionArray.isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | Series | (SequenceNotStr[Unknown] & ndarray[tuple[object, ...], dtype[object]])`
[error] invalid-argument-type - Argument to bound method `ExtensionArray.isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | Series | (SequenceNotStr[Unknown] & ndarray[tuple[int, ...], dtype[generic[object]]])`

pandas/core/array_algos/take.py

[error] no-matching-overload - No overload of bound method `ndarray.take` matches arguments

pandas/core/arrays/boolean.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[Any]], ndarray[tuple[Any, ...], dtype[Any]]]`, found `tuple[(Unknown & ndarray[tuple[object, ...], dtype[object]] & ~BooleanArray) | ndarray[tuple[int], dtype[Any]], Unknown | None | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | ndarray[tuple[Any, ...], dtype[Any]]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[Any]], ndarray[tuple[Any, ...], dtype[Any]]]`, found `tuple[(Unknown & ndarray[tuple[int, ...], dtype[generic[object]]] & ~BooleanArray) | ndarray[tuple[int], dtype[Any]], Unknown | None | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | ndarray[tuple[Any, ...], dtype[Any]]]`

pandas/core/computation/pytables.py

[error] invalid-argument-type - Argument to bound method `ndarray.ravel` is incorrect: Argument type `list[Unknown] & ndarray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `ndarray[_ShapeT_co@ndarray, _DTypeT_co@ndarray]` of type variable `Self`

pandas/core/construction.py

[error] invalid-argument-type - Argument to bound method `MaskedArray.filled` is incorrect: Argument type `ExtensionArray & MaskedArray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `MaskedArray[_ShapeT_co@MaskedArray, _DTypeT_co@MaskedArray]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `MaskedArray.filled` is incorrect: Argument type `Index & MaskedArray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `MaskedArray[_ShapeT_co@MaskedArray, _DTypeT_co@MaskedArray]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `MaskedArray.filled` is incorrect: Argument type `Sequence[object] & MaskedArray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `MaskedArray[_ShapeT_co@MaskedArray, _DTypeT_co@MaskedArray]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `MaskedArray.filled` is incorrect: Argument type `ndarray[tuple[Any, ...], dtype[Any]] & MaskedArray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `MaskedArray[_ShapeT_co@MaskedArray, _DTypeT_co@MaskedArray]` of type variable `Self`
[error] unresolved-attribute - Attribute `storage` is not defined on `dtype[object]` in union `Unknown | dtype[object] | StringDtype`
[error] unresolved-attribute - Attribute `storage` is not defined on `dtype[generic[object]]` in union `dtype[generic[object]] | Unknown | StringDtype`

pandas/core/dtypes/cast.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] unresolved-attribute - Object of type `ExtensionArray & ~ndarray[tuple[object, ...], dtype[object]]` has no attribute `iloc`
[error] unresolved-attribute - Object of type `ExtensionArray & ~ndarray[tuple[int, ...], dtype[generic[object]]]` has no attribute `iloc`

pandas/core/dtypes/missing.py

[error] invalid-assignment - Object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Any` is not assignable to `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | NDFrame`

pandas/core/frame.py

[error] invalid-argument-type - Argument to function `construct_1d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray)`
[error] invalid-argument-type - Argument to function `construct_1d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Series & ~Index & ~ExtensionArray)`
[error] invalid-argument-type - Argument to function `construct_2d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray)`
[error] invalid-argument-type - Argument to function `construct_2d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Series & ~Index & ~ExtensionArray)`
[error] unsupported-operator - Operator `>=` is not supported between objects of type `(ExtensionArray & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `Literal[0]`
[error] unsupported-operator - Operator `>=` is not supported between objects of type `(ExtensionArray & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `Literal[0]`
[error] unsupported-operator - Operator `//` is not supported between objects of type `(ExtensionArray & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `int`
[error] unsupported-operator - Operator `//` is not supported between objects of type `(ExtensionArray & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `int`

pandas/core/groupby/grouper.py

[error] unresolved-attribute - Attribute `categories` is not defined on `Index & ~ndarray[tuple[object, ...], dtype[object]]` in union `(Unknown & Series & ~Grouper & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Unknown & ExtensionArray & ~Grouper & ~ndarray[tuple[object, ...], dtype[object]]) | (Unknown & BinGrouper & ~ndarray[tuple[object, ...], dtype[object]])`
[error] unresolved-attribute - Attribute `categories` is not defined on `Index & ~ndarray[tuple[int, ...], dtype[generic[object]]]` in union `(Unknown & Series & ~Grouper & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (Index & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (Unknown & ExtensionArray & ~Grouper & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (Unknown & BinGrouper & ~ndarray[tuple[int, ...], dtype[generic[object]]])`
[error] invalid-argument-type - Argument to function `recode_for_groupby` is incorrect: Expected `Categorical`, found `(Unknown & Series & ~Grouper & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Unknown & ExtensionArray & ~Grouper & ~ndarray[tuple[object, ...], dtype[object]]) | (Unknown & BinGrouper & ~ndarray[tuple[object, ...], dtype[object]])`
[error] invalid-argument-type - Argument to function `recode_for_groupby` is incorrect: Expected `Categorical`, found `(Unknown & Series & ~Grouper & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (Index & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (Unknown & ExtensionArray & ~Grouper & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (Unknown & BinGrouper & ~ndarray[tuple[int, ...], dtype[generic[object]]])`

pandas/core/indexes/base.py

[error] no-matching-overload - No overload of bound method `ndarray.view` matches arguments

pandas/core/indexes/interval.py

[error] unresolved-attribute - Attribute `sum` is not defined on `Index` in union `Index | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | Any`
[error] invalid-argument-type - Argument to function `maybe_booleans_to_slice` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[unsignedinteger[_8Bit]]]`, found `Index | ndarray[tuple[Any, ...], Unknown] | Any`

pandas/core/indexes/multi.py

[error] invalid-argument-type - Argument to function `tuples_to_object_array` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[object_]]`, found `(Collection[tuple[Hashable, ...]] & ndarray[tuple[object, ...], dtype[object]] & ~Index) | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - Argument to function `tuples_to_object_array` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[object_]]`, found `(Collection[tuple[Hashable, ...]] & ndarray[tuple[int, ...], dtype[generic[object]]] & ~Index) | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - Argument to bound method `MultiIndex.from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `(Unknown & ~Generator[object, None, None] & ~MultiIndex) | (list[object] & ~MultiIndex)`
[error] invalid-argument-type - Argument to bound method `MultiIndex.from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `(Unknown & ~Generator[object, Never, object] & ~MultiIndex) | (list[object] & ~MultiIndex)`

pandas/core/indexing.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] no-matching-overload - No overload of bound method `ndarray.reshape` matches arguments

pandas/core/internals/construction.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[list[ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]], Index]`, found `tuple[list[Unknown & ndarray[tuple[Any, ...], dtype[generic[object]]]], Index]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[list[ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]], Index]`, found `tuple[list[Unknown & ndarray[tuple[Any, ...], dtype[generic[object]]]], Index]`

pandas/core/internals/managers.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `tuple[slice[None, None, None], None]` on object of type `ndarray[tuple[object, ...], dtype[object]]`

pandas/core/missing.py

[error] invalid-return-type - Return type does not match returned value: expected `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`, found `Unknown | (ExtensionArray & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-return-type - Return type does not match returned value: expected `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`, found `Unknown | (ExtensionArray & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]]`

pandas/core/nanops.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments

pandas/core/ops/mask_ops.py

[error] unsupported-operator - Operator `|` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[object, ...], dtype[object]])` and `bool | ndarray[tuple[Any, ...], dtype[Any]] | NAType`
[error] unsupported-operator - Operator `|` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[int, ...], dtype[generic[object]]])` and `bool | ndarray[tuple[Any, ...], dtype[Any]] | NAType`
[error] unsupported-operator - Unary operator `~` is not supported for object of type `ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[object, ...], dtype[object]])`
[error] unsupported-operator - Unary operator `~` is not supported for object of type `ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[int, ...], dtype[generic[object]]])`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]], ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]]`, found `tuple[ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[object, ...], dtype[object]]) | Unknown, Unknown | ndarray[tuple[Any, ...], dtype[Any]]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]], ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]]`, found `tuple[ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[int, ...], dtype[generic[object]]]) | Unknown, Unknown | ndarray[tuple[Any, ...], dtype[Any]]]`
[error] unsupported-operator - Operator `^` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[object, ...], dtype[object]])` and `bool | ndarray[tuple[Any, ...], dtype[Any]] | NAType`
[error] unsupported-operator - Operator `^` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[int, ...], dtype[generic[object]]])` and `bool | ndarray[tuple[Any, ...], dtype[Any]] | NAType`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]], ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]]`, found `tuple[ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[object, ...], dtype[object]]) | Unknown, ndarray[tuple[Any, ...], dtype[Any]] | Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]], ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]]`, found `tuple[ndarray[tuple[Any, ...], dtype[Any]] | (NAType & ndarray[tuple[int, ...], dtype[generic[object]]]) | Unknown, ndarray[tuple[Any, ...], dtype[Any]] | Unknown]`
[error] unsupported-operator - Operator `&` is not supported between objects of type `(NAType & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `bool | NAType | ndarray[tuple[Any, ...], dtype[Any]]`
[error] unsupported-operator - Operator `&` is not supported between objects of type `(NAType & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `bool | NAType | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]], ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]]`, found `tuple[(NAType & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | Unknown, Any | ndarray[tuple[Any, ...], dtype[Any]]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]], ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]]`, found `tuple[(NAType & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]] | Unknown, Any | ndarray[tuple[Any, ...], dtype[Any]]]`

pandas/core/series.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `dtype[generic[object]]`

pandas/core/sorting.py

[error] unsupported-operator - Unary operator `-` is not supported for object of type `(ExtensionArray & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | (Index & ndarray[tuple[object, ...], dtype[object]]) | (Series & ndarray[tuple[object, ...], dtype[object]])`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `(ExtensionArray & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]] | (Index & ndarray[tuple[int, ...], dtype[generic[object]]]) | (Series & ndarray[tuple[int, ...], dtype[generic[object]]])`
[error] unsupported-operator - Unary operator `~` is not supported for object of type `(ExtensionArray & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | (Index & ndarray[tuple[object, ...], dtype[object]]) | (Series & ndarray[tuple[object, ...], dtype[object]])`
[error] unsupported-operator - Unary operator `~` is not supported for object of type `(ExtensionArray & ndarray[tuple[int, ...], dtype[generic[object]]]) | ndarray[tuple[Any, ...], dtype[Any]] | (Index & ndarray[tuple[int, ...], dtype[generic[object]]]) | (Series & ndarray[tuple[int, ...], dtype[generic[object]]])`

pandas/io/common.py

[error] invalid-assignment - Object of type `object` is not assignable to `str | PathLike[str] | BaseBufferT@stringify_path`
[error] invalid-assignment - Object of type `str | bytes` is not assignable to `str | PathLike[str] | BaseBufferT@stringify_path`

pandas/io/formats/excel.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Literal[0]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] not-iterable - Object of type `Unknown | (Top[list[Unknown]] & ~AlwaysFalsy) | (tuple[object, ...] & ~AlwaysFalsy) | (ndarray[tuple[object, ...], dtype[object]] & ~AlwaysFalsy) | (Index & ~AlwaysFalsy)` may not be iterable

pandas/io/formats/printing.py

[error] invalid-argument-type - Argument to function `_pprint_seq` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`, found `(ndarray[tuple[object, ...], dtype[object]] & ~<Protocol with members '__next__'>) | (void & ~<Protocol with members '__next__'>) | (Top[list[Unknown]] & ~<Protocol with members '__next__'>) | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to function `_pprint_seq` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`, found `(ndarray[tuple[int, ...], dtype[generic[object]]] & ~<Protocol with members '__next__'>) | (void & ~<Protocol with members '__next__'>) | (Top[list[Unknown]] & ~<Protocol with members '__next__'>) | ... omitted 6 union elements`

pandas/io/formats/style_render.py

[error] not-iterable - Object of type `slice[Any, Any, Any] | Sequence[Unknown] | Index | tuple[slice[None, None, None], (Sequence[Unknown] & Series) | Index | (Sequence[Unknown] & ndarray[tuple[object, ...], dtype[object]]) | (Sequence[Unknown] & Top[list[Unknown]]) | (Sequence[Unknown] & str)]` may not be iterable
[error] not-iterable - Object of type `slice[Any, Any, Any] | Sequence[Unknown] | Index | tuple[slice[None, None, None], (Sequence[Unknown] & Series) | Index | (Sequence[Unknown] & ndarray[tuple[int, ...], dtype[generic[object]]]) | (Sequence[Unknown] & Top[list[Unknown]]) | (Sequence[Unknown] & str)]` may not be iterable

pandas/io/pytables.py

[error] no-matching-overload - No overload of bound method `ndarray.reshape` matches arguments

pandas/io/stata.py

[error] invalid-argument-type - Argument to function `isfile` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | PathLike[str] | (WriteBuffer[bytes] & PathLike[object])`
[error] invalid-argument-type - Argument to function `isfile` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | PathLike[str] | (WriteBuffer[bytes] & Top[PathLike[Unknown]])`
[error] invalid-argument-type - Argument to function `unlink` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `str | PathLike[str] | (WriteBuffer[bytes] & PathLike[object])`
[error] invalid-argument-type - Argument to function `unlink` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `str | PathLike[str] | (WriteBuffer[bytes] & Top[PathLike[Unknown]])`

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

pandera/strategies/pandas_strategies.py

[error] unresolved-attribute - Attribute `tz_localize` is not defined on `Index[Any]` in union `(Series[Any] & Top[Index[Any]]) | Index[Any]`
[error] unresolved-attribute - Attribute `tz_localize` is not defined on `Index[Any]` in union `(Series[Any] & Top[Index[Unknown]]) | Index[Any]`

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

src/pip/_vendor/urllib3/response.py

[error] invalid-return-type - Return type does not match returned value: expected `bytes`, found `bytes | memoryview[bytes]`

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

src/prefect/flow_engine.py

[error] invalid-return-type - Return type does not match returned value: expected `R@FlowRunEngine | State[Any] | None`, found `(R@FlowRunEngine & ~<class 'NotSet'> & ~Top[State[Any]] & ~Coroutine[object, Never, object]) | (type[NotSet] & ~<class 'NotSet'> & ~Coroutine[object, Never, object]) | Unknown`
[error] invalid-return-type - Return type does not match returned value: expected `R@FlowRunEngine | State[Any] | None`, found `(R@FlowRunEngine & ~<class 'NotSet'> & ~Top[State[Unknown]] & ~Coroutine[object, Never, object]) | (type[NotSet] & ~<class 'NotSet'> & ~Coroutine[object, Never, object]) | Unknown`

src/prefect/logging/loggers.py

[error] unresolved-attribute - Object of type `object` has no attribute `_log`
[error] unknown-argument - Argument `stacklevel` does not match any known parameter of bound method `LoggerAdapter._log`

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

psycopg/psycopg/crdb/connection.py

[error] unresolved-attribute - Attribute `parameter_status` is not defined on `Connection[Any] & ~Connection[tuple[object, ...]] & ~AsyncConnection[tuple[object, ...]]`, `AsyncConnection[Any] & ~Connection[tuple[object, ...]] & ~AsyncConnection[tuple[object, ...]]` in union `(Connection[Any] & ~Connection[tuple[object, ...]] & ~AsyncConnection[tuple[object, ...]]) | (AsyncConnection[Any] & ~Connection[tuple[object, ...]] & ~AsyncConnection[tuple[object, ...]]) | PGconn`

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

pwndbg/aglib/heap/ptmalloc.py

[error] call-non-callable - Object of type `~None & ~Type` is not callable
[error] not-subscriptable - Cannot subscript object of type `object` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `object` with no `__getitem__` method
[error] call-non-callable - Object of type `~None & ~Type` is not callable
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | Unknown`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | int`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | Unknown`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | Unknown`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None`
[error] unresolved-attribute - Object of type `object` has no attribute `sizeof`
[error] unresolved-attribute - Attribute `sizeof` is not defined on `type[CStruct2GDB]`, `None` in union `Type | type[CStruct2GDB] | None`
[error] unresolved-attribute - Object of type `object` has no attribute `sizeof`
[error] unresolved-attribute - Attribute `sizeof` is not defined on `type[CStruct2GDB]`, `None` in union `Type | type[CStruct2GDB] | None`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | Unknown`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | int`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | Unknown`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None`

pwndbg/commands/ptmalloc2.py

[error] unresolved-attribute - Attribute `cast` is not defined on `None` in union `Value | None | Unknown`
[error] unresolved-attribute - Object of type `~AlwaysFalsy` has no attribute `value_to_human_readable`
[error] unresolved-attribute - Object of type `~None` has no attribute `keys`
[error] unresolved-attribute - Object of type `~None` has no attribute `keys`
[error] not-subscriptable - Cannot subscript object of type `object` with no `__getitem__` method
[error] call-non-callable - Object of type `~None` is not callable
[error] call-non-callable - Object of type `Type` is not callable
[error] unresolved-attribute - Object of type `~AlwaysFalsy` has no attribute `address`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | int`
[error] unresolved-attribute - Object of type `object` has no attribute `address`
[error] unresolved-attribute - Attribute `address` is not defined on `None` in union `Value | CStruct2GDB | None`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | int`
[error] unresolved-attribute - Object of type `object` has no attribute `value_to_human_readable`
[error] unresolved-attribute - Attribute `value_to_human_readable` is not defined on `None` in union `Value | CStruct2GDB | None`
[error] unresolved-attribute - Object of type `object` has no attribute `address`
[error] unresolved-attribute - Attribute `address` is not defined on `None` in union `Value | CStruct2GDB | None`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Value | None | int`
[error] not-subscriptable - Cannot subscript object of type `object` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `object` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

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

pydantic/v1/env_settings.py

[error] invalid-argument-type - Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | PathLike[Unknown] | (list[str | PathLike[Unknown]] & PathLike[object]) | (tuple[str | PathLike[Unknown], ...] & PathLike[object])`
[error] invalid-argument-type - Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | PathLike[Unknown] | (list[str | PathLike[Unknown]] & Top[PathLike[Unknown]]) | (tuple[str | PathLike[Unknown], ...] & Top[PathLike[Unknown]])`

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

src/_pytest/python.py

[error] invalid-argument-type - Argument to function `ascii_escaped` is incorrect: Expected `bytes | str`, found `object`

src/_pytest/skipping.py

[error] invalid-argument-type - Argument to bound method `AbstractRaises.matches` is incorrect: Argument type `object` does not satisfy upper bound `BaseException` of type variable `BaseExcT_1`
[error] invalid-argument-type - Argument to bound method `AbstractRaises.matches` is incorrect: Argument type `object` does not satisfy upper bound `BaseException` of type variable `BaseExcT_1`

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/externals/array_api_compat/common/_helpers.py

[error] unresolved-attribute - Attribute `_meta` is not defined on `SupportsArrayNamespace[Any] & ~ndarray[tuple[object, ...], dtype[object]]` in union `(Unknown & ~ndarray[tuple[object, ...], dtype[object]]) | (SupportsArrayNamespace[Any] & ~ndarray[tuple[object, ...], dtype[object]])`
[error] unresolved-attribute - Attribute `_meta` is not defined on `SupportsArrayNamespace[Any] & ~ndarray[tuple[int, ...], dtype[generic[object]]]` in union `(Unknown & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (SupportsArrayNamespace[Any] & ~ndarray[tuple[int, ...], dtype[generic[object]]])`

sklearn/manifold/_spectral_embedding.py

[error] unsupported-operator - Operator `-=` is not supported between objects of type `csr_array[Any, tuple[int, int]]` and `dia_array[float64] | Unknown`
[error] unsupported-operator - Operator `-=` is not supported between objects of type `csr_array[Top[number[Any, int | float | complex]] | numpy.bool[builtins.bool], tuple[int] | tuple[int, int]]` and `dia_array[float64] | Unknown`
[error] unsupported-operator - Operator `-=` is not supported between objects of type `csr_matrix[Never]` and `dia_array[float64] | Unknown`
[error] unsupported-operator - Operator `-=` is not supported between objects of type `csr_matrix[Top[number[Any, int | float | complex]] | numpy.bool[builtins.bool]]` and `dia_array[float64] | Unknown`

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

subprojects/array_api_compat/src/array_api_compat/common/_helpers.py

[error] unresolved-attribute - Attribute `_meta` is not defined on `SupportsArrayNamespace[Any] & ~ndarray[tuple[object, ...], dtype[object]]` in union `(Unknown & ~ndarray[tuple[object, ...], dtype[object]]) | (SupportsArrayNamespace[Any] & ~ndarray[tuple[object, ...], dtype[object]])`
[error] unresolved-attribute - Attribute `_meta` is not defined on `SupportsArrayNamespace[Any] & ~ndarray[tuple[int, ...], dtype[generic[object]]]` in union `(Unknown & ~ndarray[tuple[int, ...], dtype[generic[object]]]) | (SupportsArrayNamespace[Any] & ~ndarray[tuple[int, ...], dtype[generic[object]]])`

subprojects/highs/highs/highspy/highs.py

[error] invalid-assignment - Object of type `Iterable[highs_var | highs_linear_expression] & ndarray[tuple[object, ...], dtype[object]]` is not assignable to `ndarray[Any, dtype[object_]]`
[error] invalid-assignment - Object of type `Iterable[highs_var | highs_linear_expression] & ndarray[tuple[int, ...], dtype[generic[object]]]` is not assignable to `ndarray[Any, dtype[object_]]`

spark (https://github.com/apache/spark)

python/pyspark/pandas/data_type_ops/complex_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/data_type_ops/date_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/ml/linalg/__init__.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `slice[Any, Any, Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[Unknown]]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[Unknown]]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Argument to function `dot` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `Iterable[int | float] & ~ndarray[tuple[object, ...], dtype[object]] & ~Vector`
[error] invalid-argument-type - Argument to function `dot` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `Iterable[int | float] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Vector`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown | ndarray[tuple[Any, ...], Unknown] | (Iterable[int | float] & ndarray[tuple[object, ...], dtype[object]])`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[tuple[int, ...], Unknown] | ndarray[tuple[Any, ...], Unknown] | (Iterable[int | float] & ndarray[tuple[int, ...], dtype[generic[object]]])`

python/pyspark/mllib/linalg/__init__.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `slice[Any, Any, Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[Unknown]]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `ndarray[tuple[Any, ...], dtype[Unknown]]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown | ndarray[tuple[Any, ...], Unknown] | (Iterable[int | float] & ndarray[tuple[object, ...], dtype[object]])`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[tuple[int, ...], Unknown] | ndarray[tuple[Any, ...], Unknown] | (Iterable[int | float] & ndarray[tuple[int, ...], dtype[generic[object]]])`

python/pyspark/pandas/data_type_ops/binary_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/data_type_ops/boolean_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/data_type_ops/datetime_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`
[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/data_type_ops/null_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/data_type_ops/num_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`
[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`
[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/data_type_ops/string_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/data_type_ops/timedelta_ops.py

[error] invalid-argument-type - Argument to function `_as_categorical_type` is incorrect: Expected `CategoricalDtype[object]`, found `Top[CategoricalDtype[Unknown]]`

python/pyspark/pandas/generic.py

[error] invalid-return-type - Return type does not match returned value: expected `int | float | str | ... omitted 6 union elements`, found `pyspark.pandas.series.Series[Unknown] | (pandas.core.frame.DataFrame & ~Top[pandas.core.series.Series[Any]]) | (str & ~Top[pandas.core.series.Series[Any]]) | ... omitted 11 union elements`
[error] invalid-return-type - Return type does not match returned value: expected `int | float | str | ... omitted 6 union elements`, found `pyspark.pandas.series.Series[Unknown] | (pandas.core.frame.DataFrame & ~Top[pandas.core.series.Series[Unknown]]) | (str & ~Top[pandas.core.series.Series[Unknown]]) | ... omitted 11 union elements`

python/pyspark/pandas/sql_formatter.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[pyspark.pandas.frame.DataFrame[Unknown], str]`, found `tuple[(Any & Top[pyspark.pandas.frame.DataFrame[Unknown]] & ~Top[pandas.core.series.Series[Any]] & ~Top[pyspark.pandas.series.Series[Unknown]] & ~pandas.core.frame.DataFrame) | pyspark.pandas.series.Series[Unknown] | pyspark.pandas.frame.DataFrame[Unknown] | Index, str]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[pyspark.pandas.frame.DataFrame[Unknown], str]`, found `tuple[(Any & Top[pyspark.pandas.frame.DataFrame[Unknown]] & ~Top[pandas.core.series.Series[Unknown]] & ~Top[pyspark.pandas.series.Series[Unknown]] & ~pandas.core.frame.DataFrame) | pyspark.pandas.series.Series[Unknown] | pyspark.pandas.frame.DataFrame[Unknown] | Index, str]`

python/pyspark/sql/session.py

[error] invalid-argument-type - Argument to bound method `ndarray.squeeze` is incorrect: Argument type `ndarray[tuple[object, ...], dtype[object]] & ~DataFrame` does not satisfy upper bound `ndarray[_ShapeT_co@ndarray, _DTypeT_co@ndarray]` of type variable `Self`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `tuple[slice[None, None, None], int]` on object of type `ndarray[tuple[object, ...], dtype[object]]`

python/pyspark/testing/pandasutils.py

[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Any]]) | (Series[Any] & Top[Index[Any]]) | Index[Any]]`
[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Unknown]]) | (Series[Any] & Top[Index[Unknown]]) | Index[Any]]`
[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Any]]) | (Series[Any] & Top[Index[Any]]) | Index[Any]]`
[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Unknown]]) | (Series[Any] & Top[Index[Unknown]]) | Index[Any]]`
[error] unresolved-attribute - Attribute `isnull` is not defined on `Index[Any]` in union `(DataFrame & Top[Index[Any]]) | (Series[Any] & Top[Index[Any]]) | Index[Any]`
[error] unresolved-attribute - Attribute `isnull` is not defined on `Index[Any]` in union `(DataFrame & Top[Index[Unknown]]) | (Series[Any] & Top[Index[Unknown]]) | Index[Any]`
[error] unresolved-attribute - Attribute `isnull` is not defined on `Index[Any]` in union `(DataFrame & Top[Index[Any]]) | (Series[Any] & Top[Index[Any]]) | Index[Any]`
[error] unresolved-attribute - Attribute `isnull` is not defined on `Index[Any]` in union `(DataFrame & Top[Index[Unknown]]) | (Series[Any] & Top[Index[Unknown]]) | Index[Any]`
[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Any]]) | (Series[Any] & Top[Index[Any]]) | Index[Any]]`
[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Unknown]]) | (Series[Any] & Top[Index[Unknown]]) | Index[Any]]`
[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Any]]) | (Series[Any] & Top[Index[Any]]) | Index[Any]]`
[error] invalid-argument-type - Argument to `PySparkAssertionError.__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[str, str | (DataFrame & Top[Index[Unknown]]) | (Series[Any] & Top[Index[Unknown]]) | Index[Any]]`

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

starlette/authentication.py

[error] invalid-argument-type - Argument to function `has_required_scope` is incorrect: Expected `HTTPConnection[State]`, found `Top[WebSocket[Unknown]]`
[error] invalid-argument-type - Argument to function `has_required_scope` is incorrect: Expected `HTTPConnection[State]`, found `Top[Request[Unknown]]`
[error] invalid-argument-type - Argument to function `has_required_scope` is incorrect: Expected `HTTPConnection[State]`, found `Top[Request[Unknown]]`

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

static_frame/test/unit/test_index_correspondence.py

[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments

static_frame/core/container_util.py

[error] invalid-argument-type - Argument to bound method `IndexBase.values_at_depth` is incorrect: Expected `int | list[int]`, found `int | (list[int] & Top[integer[Any]]) | (ndarray[Any, dtype[signedinteger[_64Bit]]] & Top[integer[Any]])`
[error] invalid-argument-type - Argument to bound method `IndexBase.values_at_depth` is incorrect: Expected `int | list[int]`, found `int | (list[int] & Top[integer[Unknown]]) | (ndarray[Any, dtype[signedinteger[_64Bit]]] & Top[integer[Unknown]])`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements], (index: slice[int | None, int | None, int | None], /) -> Sequence[Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]]]` cannot be called with key of type `Top[integer[Any]]` on object of type `Sequence[Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements], (index: slice[int | None, int | None, int | None], /) -> Sequence[Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]]]` cannot be called with key of type `Top[integer[Unknown]]` on object of type `Sequence[Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Hashable | int | integer[Any] | ... omitted 10 union elements, (index: slice[int | None, int | None, int | None], /) -> Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]]` cannot be called with key of type `Top[integer[Any]]` on object of type `Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Hashable | int | integer[Any] | ... omitted 10 union elements, (index: slice[int | None, int | None, int | None], /) -> Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]]` cannot be called with key of type `Top[integer[Unknown]]` on object of type `Sequence[Hashable | int | integer[Any] | ... omitted 10 union elements]`

static_frame/core/frame.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments

static_frame/core/index.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments

static_frame/core/index_auto.py

[error] invalid-argument-type - Argument to function `dtype_to_index_cls` is incorrect: Expected `dtype[datetime64[date | int | None]]`, found `dtype[generic[object]]`

static_frame/core/index_datetime.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Any & <Protocol with members '__len__'> & ~Top[Index[Any]] & ~str) | (Any & ndarray[Any, Any]) | (datetime64[date | int | None] & <Protocol with members '__len__'>)`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Any & <Protocol with members '__len__'> & ~Top[Index[Unknown]] & ~str) | (Any & ndarray[Any, Any]) | (datetime64[date | int | None] & <Protocol with members '__len__'>)`

static_frame/core/index_hierarchy.py

[error] invalid-assignment - Object of type `int | (list[int] & Top[integer[Any]])` is not assignable to `int | None`
[error] invalid-assignment - Object of type `int | (list[int] & Top[integer[Unknown]])` is not assignable to `int | None`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], Any], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], Any], (key: str, /) -> ndarray[Any | tuple[Any, ...], dtype[Any]], (key: list[str], /) -> ndarray[Any | tuple[Any, ...], Unknown]]` cannot be called with key of type `ndarray[tuple[object, ...], dtype[object]]` on object of type `ndarray[Any, Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], Any], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], Any], (key: str, /) -> ndarray[Any | tuple[Any, ...], dtype[Any]], (key: list[str], /) -> ndarray[Any | tuple[Any, ...], Unknown]]` cannot be called with key of type `ndarray[tuple[int, ...], dtype[generic[object]]]` on object of type `ndarray[Any, Any]`
[error] not-iterable - Object of type `ndarray[tuple[object, ...], dtype[object]] & ~int & ~Top[integer[Any]] & ~Top[IndexHierarchy[*tuple[Any, ...]]] & ~Top[list[Unknown]]` is not iterable
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], Any], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], Any], (key: str, /) -> ndarray[Any | tuple[Any, ...], dtype[Any]], (key: list[str], /) -> ndarray[Any | tuple[Any, ...], Unknown]]` cannot be called with key of type `ndarray[tuple[object, ...], dtype[object]]` on object of type `ndarray[Any, Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], Any], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], Any], (key: str, /) -> ndarray[Any | tuple[Any, ...], dtype[Any]], (key: list[str], /) -> ndarray[Any | tuple[Any, ...], Unknown]]` cannot be called with key of type `ndarray[tuple[int, ...], dtype[generic[object]]]` on object of type `ndarray[Any, Any]`
[error] invalid-assignment - Object of type `int | (list[int] & Top[integer[Any]])` is not assignable to `int | None`
[error] invalid-assignment - Object of type `int | (list[int] & Top[integer[Unknown]])` is not assignable to `int | None`

static_frame/core/pivot.py

[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments

static_frame/core/series.py

[error] invalid-assignment - Object of type `list[int | integer[Any] | (ndarray[Any, Any] & Top[integer[Any]]) | (list[int] & Top[integer[Any]])]` is not assignable to `ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None`
[error] invalid-assignment - Object of type `list[int | integer[Any] | (ndarray[Any, Any] & Top[integer[Unknown]]) | (list[int] & Top[integer[Unknown]])]` is not assignable to `ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None`

static_frame/core/type_blocks.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `slice[Any, Any, Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[Any, Any, Any]]` on object of type `ndarray[tuple[object, ...], dtype[object]]`

static_frame/core/util.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] not-iterable - Object of type `(int & ndarray[tuple[object, ...], dtype[object]]) | (list[int] & ndarray[tuple[object, ...], dtype[object]]) | (ndarray[Any, dtype[signedinteger[_64Bit]]] & ndarray[tuple[object, ...], dtype[object]])` may not be iterable
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.astype` matches arguments
[error] not-iterable - Object of type `<Protocol with members '__iter__'> & ~<Protocol with members '__len__'> & ~date & ~datetime64[date | int | None] & ~int & ~Top[integer[Any]]` is not iterable
[error] not-iterable - Object of type `<Protocol with members '__iter__'> & ~<Protocol with members '__len__'> & ~date & ~datetime64[date | int | None] & ~int & ~Top[integer[Unknown]]` is not iterable
[error] invalid-return-type - Return type does not match returned value: expected `str | TextIO`, found `(str & ~PathLike[object]) | (Iterator[str] & ~PathLike[object])`
[error] invalid-return-type - Return type does not match returned value: expected `str | TextIO`, found `(str & ~Top[PathLike[Unknown]]) | (Iterator[str] & ~Top[PathLike[Unknown]])`

static_frame/test/unit/test_index.py

[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments

static_frame/test/unit/test_util.py

[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments

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

steam/ext/commands/commands.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Self@parents`, found `Self@parents | (GroupMixin[Cog[Bot] | Bot | None] & Top[Command[Cog[Bot] | Bot | None, (...), object]]) | (Group[Unknown, (...), Unknown] & Top[Command[Cog[Bot] | Bot | None, (...), object]])`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Self@parents`, found `Self@parents | (GroupMixin[Cog[Bot] | Bot | None] & Top[Command[Cog[Bot] | Bot | None, (...), object]])`

steam/user.py

flaky
(1/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`
flaky
(1/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`

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

tornado/gen.py

[error] invalid-argument-type - Argument to `Runner.__init__` is incorrect: Expected `Generator[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown], Any, _T@coroutine | Unknown]`, found `(Generator[Any, Any, _T@coroutine] & Generator[object, None, None]) | (_T@coroutine & Generator[object, None, None])`
[error] invalid-argument-type - Argument to `Runner.__init__` is incorrect: Expected `Generator[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown], Any, _T@coroutine | Unknown]`, found `Generator[Any, Any, _T@coroutine] | (_T@coroutine & Generator[object, Never, object])`

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

src/urllib3/response.py

[error] invalid-return-type - Return type does not match returned value: expected `bytes`, found `bytes | memoryview[bytes]`

vision (https://github.com/pytorch/vision)

torchvision/transforms/functional.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `tuple[slice[None, None, None], slice[None, None, None], None]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] no-matching-overload - No overload of bound method `ndarray.transpose` matches arguments
[error] invalid-argument-type - Argument to bound method `Image.transpose` is incorrect: Expected `Transpose`, found `tuple[Literal[2], Literal[0], Literal[1]]`

websockets (https://github.com/aaugustin/websockets)

src/websockets/asyncio/connection.py

[error] invalid-argument-type - Argument to bound method `Protocol.send_text` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | (Iterable[str | bytes | bytearray | memoryview[int]] & Top[memoryview[Unknown]]) | memoryview[int]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_binary` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | (Iterable[str | bytes | bytearray | memoryview[int]] & Top[memoryview[Unknown]]) | memoryview[int]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_text` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | Top[memoryview[Unknown]]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_binary` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | Top[memoryview[Unknown]]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_continuation` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | Top[memoryview[Unknown]]`

src/websockets/legacy/protocol.py

[error] invalid-argument-type - Argument to function `prepare_data` is incorrect: Expected `str | bytes | bytearray | memoryview[int]`, found `str | bytes | bytearray | (Iterable[str | bytes | bytearray | memoryview[int]] & Top[memoryview[Unknown]]) | memoryview[int]`

src/websockets/sync/connection.py

[error] invalid-argument-type - Argument to bound method `Protocol.send_text` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | (Iterable[str | bytes | bytearray | memoryview[int]] & Top[memoryview[Unknown]]) | memoryview[int]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_binary` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | (Iterable[str | bytes | bytearray | memoryview[int]] & Top[memoryview[Unknown]]) | memoryview[int]`

src/websockets/trio/connection.py

[error] invalid-argument-type - Argument to bound method `Protocol.send_text` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | (Iterable[str | bytes | bytearray | memoryview[int]] & Top[memoryview[Unknown]]) | memoryview[int]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_binary` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | (Iterable[str | bytes | bytearray | memoryview[int]] & Top[memoryview[Unknown]]) | memoryview[int]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_text` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | Top[memoryview[Unknown]]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_binary` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | Top[memoryview[Unknown]]`
[error] invalid-argument-type - Argument to bound method `Protocol.send_continuation` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `bytes | bytearray | Top[memoryview[Unknown]]`

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

xarray/backends/common.py

[error] invalid-argument-type - Argument to function `_normalize_path_list` is incorrect: Expected `NestedSequence[str | PathLike[Unknown] | ReadBuffer[Unknown]]`, found `(ReadBuffer[Unknown] & Top[list[Unknown]] & ~PathLike[object]) | (NestedSequence[str | PathLike[Unknown] | ReadBuffer[Unknown]] & Top[list[Unknown]] & ~PathLike[object])`
[error] invalid-argument-type - Argument to function `_normalize_path_list` is incorrect: Expected `NestedSequence[str | PathLike[Unknown] | ReadBuffer[Unknown]]`, found `(ReadBuffer[Unknown] & Top[list[Unknown]] & ~Top[PathLike[Unknown]]) | (NestedSequence[str | PathLike[Unknown] | ReadBuffer[Unknown]] & Top[list[Unknown]] & ~Top[PathLike[Unknown]])`

xarray/backends/scipy_.py

[error] invalid-argument-type - Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | (ReadBuffer[Unknown] & PathLike[object]) | (AbstractDataStore & PathLike[object])`
[error] invalid-argument-type - Argument to constructor `Path.__new__` is incorrect: Expected `str | PathLike[str]`, found `str | (ReadBuffer[Unknown] & Top[PathLike[Unknown]]) | (AbstractDataStore & Top[PathLike[Unknown]])`

xarray/core/groupby.py

[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Grouper] | None`, found `(Sequence[Hashable] & Top[Mapping[Unknown, object]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Top[Index[Any]] & ~Grouper) | (DataArray & Top[Mapping[Unknown, object]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Top[Index[Any]] & ~Grouper) | (IndexVariable & Top[Mapping[Unknown, object]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Top[Index[Any]] & ~Grouper) | (Mapping[Any, Grouper] & ~ndarray[tuple[object, ...], dtype[object]] & ~Top[Index[Any]] & ~Grouper)`
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Grouper] | None`, found `(Sequence[Hashable] & Top[Mapping[Unknown, object]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Top[Index[Unknown]] & ~Grouper) | (DataArray & Top[Mapping[Unknown, object]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Top[Index[Unknown]] & ~Grouper) | (IndexVariable & Top[Mapping[Unknown, object]] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Top[Index[Unknown]] & ~Grouper) | (Mapping[Any, Grouper] & ~ndarray[tuple[int, ...], dtype[generic[object]]] & ~Top[Index[Unknown]] & ~Grouper)`

xarray/core/indexes.py

[error] unresolved-attribute - Object of type `Index[Any] & Top[CategoricalIndex[Any]]` has no attribute `remove_unused_categories`
[error] unresolved-attribute - Object of type `Index[Any] & Top[CategoricalIndex[Unknown]]` has no attribute `remove_unused_categories`
[error] unresolved-attribute - Object of type `T_PDIndex@remove_unused_levels_categories & Top[CategoricalIndex[Any]] & ~MultiIndex` has no attribute `remove_unused_categories`
[error] unresolved-attribute - Object of type `T_PDIndex@remove_unused_levels_categories & Top[CategoricalIndex[Unknown]] & ~MultiIndex` has no attribute `remove_unused_categories`
[error] invalid-assignment - Object of type `PandasIndex | (T_PandasOrXarrayIndex@Indexes & xarray.core.indexes.Index & ~Top[pandas.core.indexes.base.Index[Any]])` is not assignable to `T_PandasOrXarrayIndex@Indexes`
[error] invalid-assignment - Object of type `PandasIndex | (T_PandasOrXarrayIndex@Indexes & xarray.core.indexes.Index & ~Top[pandas.core.indexes.base.Index[Unknown]])` is not assignable to `T_PandasOrXarrayIndex@Indexes`

xarray/core/indexing.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `integer[Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `integer[Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `ndarray[Any, dtype[integer[Any]]]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `ndarray[Any, dtype[integer[Any]]]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `slice[Any, Any, Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `slice[Any, Any, Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-assignment - Object of type `Any | ndarray[tuple[Any, ...], dtype[generic[object]]]` is not assignable to `int | integer[Any] | slice[Any, Any, Any] | ndarray[Any, dtype[integer[Any]]]`

xarray/core/utils.py

[error] no-matching-overload - No overload of bound method `ndarray.tolist` matches arguments
[error] invalid-argument-type - Argument to function `list_equiv` is incorrect: Expected `Sequence[Unknown]`, found `T@equivalent & ~ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Argument to function `list_equiv` is incorrect: Expected `Sequence[Unknown]`, found `T@equivalent & ~ndarray[tuple[int, ...], dtype[generic[object]]]`
[error] invalid-argument-type - Argument to function `list_equiv` is incorrect: Expected `Sequence[Unknown]`, found `T@equivalent & ~ndarray[tuple[object, ...], dtype[object]]`
[error] invalid-argument-type - Argument to function `list_equiv` is incorrect: Expected `Sequence[Unknown]`, found `T@equivalent & ~ndarray[tuple[int, ...], dtype[generic[object]]]`

xarray/core/variable.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & Variable & ~Top[integer[Unknown]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & Variable & ~Top[integer[Unknown]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `ndim` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]` in union `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `ndim` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]` in union `(Unknown & Variable & ~Top[integer[Unknown]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `ndim` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]` in union `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `ndim` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]` in union `(Unknown & Variable & ~Top[integer[Unknown]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `data` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]` in union `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `data` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]` in union `(Unknown & Variable & ~Top[integer[Unknown]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `dims` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]`, `ndarray[tuple[Any, ...], dtype[Unknown]]` in union `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unresolved-attribute - Attribute `dims` is not defined on `_arrayfunction[Any, Any]`, `_arrayapi[Any, Any]`, `ndarray[tuple[Any, ...], dtype[Unknown]]` in union `(Unknown & Variable & ~Top[integer[Unknown]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - Argument to `OuterIndexer.__init__` is incorrect: Expected `tuple[int | integer[Any] | slice[Any, Any, Any] | ndarray[Any, dtype[generic[Any]]], ...]`, found `tuple[(Unknown & int) | (Unknown & Top[integer[Any]]) | (Unknown & slice[object, object, object]) | ... omitted 5 union elements, ...]`
[error] invalid-argument-type - Argument to `OuterIndexer.__init__` is incorrect: Expected `tuple[int | integer[Any] | slice[Any, Any, Any] | ndarray[Any, dtype[generic[Any]]], ...]`, found `tuple[(Unknown & int) | (Unknown & Top[integer[Unknown]]) | (Unknown & slice[object, object, object]) | ... omitted 5 union elements, ...]`

xarray/namedarray/_array_api.py

[error] invalid-argument-type - Argument to bound method `_arrayapi.__array_namespace__` is incorrect: Argument type `_arrayfunction[Any, Any] & _arrayapi[object, object]` does not satisfy upper bound `_arrayapi[_ShapeType_co@_arrayapi, _DType_co@_arrayapi]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `_arrayapi.__array_namespace__` is incorrect: Argument type `_arrayfunction[Any, Any] & _arrayapi[object, object]` does not satisfy upper bound `_arrayapi[_ShapeType_co@_arrayapi, _DType_co@_arrayapi]` of type variable `Self`
[error] unresolved-attribute - Object of type `_arrayfunction[Any, Any] & ~_arrayapi[object, object]` has no attribute `astype`
[error] unresolved-attribute - Object of type `_arrayfunction[Any, Any] & ~_arrayapi[object, dtype[generic[object]]]` has no attribute `astype`
[error] unresolved-attribute - Object of type `_arrayfunction[Any, _DType@permute_dims] & ~_arrayapi[object, object]` has no attribute `transpose`
[error] unresolved-attribute - Object of type `_arrayfunction[Any, _DType@permute_dims] & ~_arrayapi[object, dtype[generic[object]]]` has no attribute `transpose`

xarray/namedarray/core.py

[error] invalid-assignment - Object of type `ndarray[Any, object]` is not assignable to `ndarray[Any, _DType_co@NamedArray]`
[error] invalid-assignment - Object of type `ndarray[Any, dtype[generic[object]]]` is not assignable to `ndarray[Any, _DType_co@NamedArray]`
[error] invalid-argument-type - Argument to bound method `_sparsearrayapi.todense` is incorrect: Argument type `_arrayapi[Any, _DType_co@NamedArray] & _sparsearrayapi[object, object]` does not satisfy upper bound `_sparsearrayapi[_ShapeType_co@_sparsearrayapi, _DType_co@_sparsearrayapi]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `_sparsearrayapi.todense` is incorrect: Argument type `_arrayfunction[Any, _DType_co@NamedArray] & _sparsearrayapi[object, object]` does not satisfy upper bound `_sparsearrayapi[_ShapeType_co@_sparsearrayapi, _DType_co@_sparsearrayapi]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `_sparsearrayfunction.todense` is incorrect: Argument type `_arrayapi[Any, _DType_co@NamedArray] & _sparsearrayfunction[object, object]` does not satisfy upper bound `_sparsearrayfunction[_ShapeType_co@_sparsearrayfunction, _DType_co@_sparsearrayfunction]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `_sparsearrayfunction.todense` is incorrect: Argument type `_arrayfunction[Any, _DType_co@NamedArray] & _sparsearrayfunction[object, object]` does not satisfy upper bound `_sparsearrayfunction[_ShapeType_co@_sparsearrayfunction, _DType_co@_sparsearrayfunction]` of type variable `Self`