Ecosystem report

Old: main (merge base) 149c5786 New: 23715/merge 87d9f894
Lint Rule Removed Added Changed
Total 42 0 181
invalid-argument-type 1 0 97
unresolved-attribute 0 0 44
invalid-await 40 0 0
unsupported-operator 0 0 17
type-assertion-failure 0 0 14
invalid-assignment 0 0 5
invalid-return-type 1 0 2
not-iterable 0 0 2
Project Removed Added Changed
Total 42 0 181
sympy 0 0 69
prefect 41 0 0
pandas-stubs 0 0 22
static-frame 0 0 17
vision 1 0 12
rich 0 0 12
spack 0 0 7
jax 0 0 5
scikit-learn 0 0 5
scipy 0 0 4
pip 0 0 3
asynq 0 0 2
cloud-init 0 0 2
dd-trace-py 0 0 2
ibis 0 0 2
meson 0 0 2
rotki 0 0 2
PyGithub 0 0 1
Tanjun 0 0 1
aiortc 0 0 1

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

github/Requester.py

[error] invalid-argument-type - Argument to bound method `__hostnameHasDomain` is incorrect: Expected `str | list[str]`, found `Unknown | list[Unknown | str] | list[None | Unknown | str]`
[error] invalid-argument-type - Argument to bound method `__hostnameHasDomain` is incorrect: Expected `str | list[str]`, found `Unknown | list[Unknown | str] | list[Unknown | str | None]`

Tanjun (https://github.com/FasterSpeeding/Tanjun)

tanjun/dependencies/data.py

[error] invalid-return-type - Return type does not match returned value: expected `_T@cached_inject`, found `Coroutine[Any, Any, Unknown] | Unknown`
[error] invalid-return-type - Return type does not match returned value: expected `_T@cached_inject`, found `Unknown | Coroutine[Any, Any, Unknown]`

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

src/aiortc/sdp.py

[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `None | str | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `None | Unknown | str`

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

tests/arti/types/test_types.py

[error] invalid-argument-type - Argument is incorrect: Expected `frozenset[Any]`, found `frozenset[float | Unknown | int] | list[int | Unknown | float] | tuple[float | Unknown | int, ...]`
[error] invalid-argument-type - Argument is incorrect: Expected `frozenset[Any]`, found `frozenset[Unknown | int | float] | list[Unknown | int | float] | tuple[Unknown | int | float, ...]`

asynq (https://github.com/quora/asynq)

asynq/tests/test_tools.py

[error] invalid-argument-type - Argument to bound method `__call__` is incorrect: Expected `((int | Unknown, /) -> Any) | None`, found `list[Unknown | int]`
[error] invalid-argument-type - Argument to bound method `__call__` is incorrect: Expected `((Unknown | int, /) -> Any) | None`, found `list[Unknown | int]`

asynq/tests/test_typing.py

[error] invalid-argument-type - Argument to bound method `__call__` is incorrect: Expected `((int | Unknown | Sized, /) -> Any) | None`, found `def len(obj: Sized, /) -> int`
[error] invalid-argument-type - Argument to bound method `__call__` is incorrect: Expected `((Unknown | int | Sized, /) -> Any) | None`, found `def len(obj: Sized, /) -> int`

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

tests/test_validators.py

[error] invalid-argument-type - Argument is incorrect: Expected `str & Any`, found `None`
[error] invalid-argument-type - Argument is incorrect: Expected `Any & str`, found `None`

cloud-init (https://github.com/canonical/cloud-init)

tests/unittests/distros/test_user_data_normalize.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | bool | list[Unknown] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`

tests/unittests/sources/test_gce.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | bool | list[Unknown] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`

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

colour/utilities/verbose.py

[error] invalid-argument-type - Argument to function `getattr` is incorrect: Expected `str`, found `bool | (Unknown & ~None) | <class 'str'>`
[error] invalid-argument-type - Argument to function `getattr` is incorrect: Expected `str`, found `(Unknown & ~None) | <class 'str'> | bool`

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

homeassistant/components/teslemetry/climate.py

[error] unresolved-attribute - Attribute `index` is not defined on `None` in union `Unknown | list[str | Unknown] | list[str] | None`
[error] unresolved-attribute - Attribute `index` is not defined on `None` in union `Unknown | list[Unknown | str] | list[str] | None`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

ddtrace/debugging/_redaction.py

[error] unsupported-operator - Operator `|` is not supported between objects of type `frozenset[str | Unknown]` and `Unknown | EnvVariable[set[Unknown]]`
[error] unsupported-operator - Operator `|` is not supported between objects of type `frozenset[Unknown | str]` and `Unknown | EnvVariable[set[Unknown]]`

tests/tracer/test_span.py

[error] invalid-argument-type - Argument to bound method `set_metric` is incorrect: Expected `int | float`, found `int | float | complex | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `set_metric` is incorrect: Expected `int | float`, found `Unknown | None | dict[Unknown, Unknown] | ... omitted 6 union elements`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `tuple[str, type, Field[Any]]`, found `tuple[str | Unknown, ...]`
[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `tuple[str, type, Field[Any]]`, found `tuple[Unknown | str, ...]`

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

ibis/selectors.py

[error] invalid-return-type - Return type does not match returned value: expected `frozenset[str]`, found `frozenset[Unknown | str | Buffer]`
[error] invalid-return-type - Return type does not match returned value: expected `frozenset[str]`, found `frozenset[str | Buffer | Unknown]`
[error] invalid-assignment - Object of type `frozenset[Unknown | str]` is not assignable to `tuple[str | Column, ...]`
[error] invalid-assignment - Object of type `frozenset[str | Unknown]` is not assignable to `tuple[str | Column, ...]`

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

jax/_src/pallas/hlo_interpreter.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `Unknown | int | DynamicGridDim`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`

jax/_src/pallas/mosaic/interpret/interpret_pallas_call.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `Unknown | int | DynamicGridDim`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`

jax/_src/pallas/pallas_call.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `Unknown | int | DynamicGridDim`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`

jax/collect_profile.py

[error] unresolved-attribute - Attribute `glob` is not defined on `PathLike[str]`, `int`, `str`, `bytes`, `PathLike[bytes]` in union `PathLike[str] | Unknown | int | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `glob` is not defined on `PathLike[str]`, `int`, `str`, `bytes`, `PathLike[bytes]` in union `Unknown | PathLike[str] | int | ... omitted 3 union elements`
[error] unsupported-operator - Operator `/` is not supported between objects of type `PathLike[str] | Unknown | int | ... omitted 3 union elements` and `Literal["remote.trace.json.gz"]`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Unknown | PathLike[str] | int | ... omitted 3 union elements` and `Literal["remote.trace.json.gz"]`

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

mesonbuild/coredata.py

[error] invalid-assignment - Object of type `Literal["lib"]` is not assignable to attribute `default` on type `UserUmaskOption | Unknown | UserStringOption | ... omitted 4 union elements`
[error] invalid-assignment - Object of type `Literal["lib"]` is not assignable to attribute `default` on type `Unknown | UserStringOption | UserBooleanOption | ... omitted 4 union elements`

mesonbuild/dependencies/cuda.py

[error] invalid-argument-type - Argument to function `version_compare_many` is incorrect: Expected `str`, found `str | None | Unknown`
[error] invalid-argument-type - Argument to function `version_compare_many` is incorrect: Expected `str`, found `Unknown | str | None`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/catalog/utils/__init__.py

[error] unresolved-attribute - Attribute `search` is not defined on `str` in union `str | Unknown`
[error] unresolved-attribute - Attribute `search` is not defined on `str` in union `Unknown | str`

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

pandas/core/methods/describe.py

[error] not-iterable - Object of type `Sized | Unknown` may not be iterable
[error] not-iterable - Object of type `Unknown | Sized` may not be iterable

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

tests/indexes/str/test_add.py

[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[str | Unknown]` and `Literal[4]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[Unknown | str]` and `Literal[4]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[str | Unknown]` and `Literal["right"]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[Unknown | str]` and `Literal["right"]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Literal[4]` and `Index[str | Unknown]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Literal[4]` and `Index[Unknown | str]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[str | Unknown]` and `list[Unknown | int]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[Unknown | str]` and `list[Unknown | int]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[str | Unknown]` and `list[Unknown | str]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[Unknown | str]` and `list[Unknown | str]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[str | Unknown]` and `tuple[Unknown | str, ...]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Index[Unknown | str]` and `tuple[Unknown | str, ...]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown | int]` and `Index[str | Unknown]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown | int]` and `Index[Unknown | str]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown | str]` and `Index[str | Unknown]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown | str]` and `Index[Unknown | str]`
[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`

tests/indexes/str/test_mul.py

[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`

tests/indexes/test_categoricalindex.py

[error] type-assertion-failure - Type `CategoricalIndex[str | Unknown]` does not match asserted type `CategoricalIndex[str]`
[error] type-assertion-failure - Type `CategoricalIndex[Unknown | str]` does not match asserted type `CategoricalIndex[str]`
[error] type-assertion-failure - Type `CategoricalIndex[str | Unknown]` does not match asserted type `CategoricalIndex[str]`
[error] type-assertion-failure - Type `CategoricalIndex[Unknown | str]` does not match asserted type `CategoricalIndex[str]`
[error] type-assertion-failure - Type `CategoricalIndex[str | Unknown]` does not match asserted type `CategoricalIndex[str]`
[error] type-assertion-failure - Type `CategoricalIndex[Unknown | str]` does not match asserted type `CategoricalIndex[str]`

tests/indexes/test_indexes.py

[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `str | Unknown` does not match asserted type `str`
[error] type-assertion-failure - Type `Unknown | str` does not match asserted type `str`
[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Series[str | Unknown]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Unknown | str]` does not match asserted type `Series[str]`

tests/test_string_accessors.py

[error] type-assertion-failure - Type `Index[str | Unknown]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[Unknown | str]` does not match asserted type `Index[str]`
[error] type-assertion-failure - Type `Index[bytes | Unknown]` does not match asserted type `Index[bytes]`
[error] type-assertion-failure - Type `Index[Unknown | bytes]` does not match asserted type `Index[bytes]`

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

src/pip/_internal/req/req_uninstall.py

[error] invalid-argument-type - Argument to function `norm_join` is incorrect: Expected `str`, found `Sized | Unknown`
[error] invalid-argument-type - Argument to function `norm_join` is incorrect: Expected `str`, found `Unknown | Sized`
[error] invalid-argument-type - Argument to function `norm_join` is incorrect: Expected `str`, found `Sized | Unknown`
[error] invalid-argument-type - Argument to function `norm_join` is incorrect: Expected `str`, found `Unknown | Sized`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Sized | Unknown` and `LiteralString`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Unknown | Sized` and `LiteralString`

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

src/integrations/prefect-docker/tests/test_containers.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-docker/tests/test_images.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_custom_objects.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_deployments.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_jobs.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_pods.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/prefect/utilities/_engine.py

flaky
(1/10)
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `object`

pylox (https://github.com/sco1/pylox)

pylox/containers/array.py

[error] invalid-assignment - Object of type `deque[None | Unknown]` is not assignable to attribute `fields` of type `dict[Unknown, Unknown]`
[error] invalid-assignment - Object of type `deque[Unknown | None]` is not assignable to attribute `fields` of type `dict[Unknown, Unknown]`

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

tests/test_tools.py

[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown | str]]`

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

rotkehlchen/tests/unit/test_makerdao.py

[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | dict[Unknown | str, Unknown | Balance] | Unknown]`
[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | Unknown | dict[Unknown | str, Unknown | Balance]]`
[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | dict[Unknown | str, Unknown | Balance] | Unknown]`
[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | Unknown | dict[Unknown | str, Unknown | Balance]]`

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

sklearn/datasets/_lfw.py

[error] invalid-argument-type - Argument to class `str` is incorrect: Expected `bytes | bytearray`, found `str | Unknown`
[error] invalid-argument-type - Argument to class `str` is incorrect: Expected `bytes | bytearray`, found `Unknown | str`

sklearn/externals/array_api_compat/common/_linalg.py

[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`

sklearn/utils/tests/test_multiclass.py

[error] unresolved-attribute - Attribute `toarray` is not defined on `list[Unknown | list[Unknown | int]] & SparseABC`, `ndarray[tuple[Any, ...], dtype[Any]] & SparseABC`, `_NotAnArray & SparseABC`, `list[Unknown | int] & SparseABC`, `list[Unknown | str] & SparseABC`, `list[Unknown | list[Unknown | str]] & SparseABC`, `list[Unknown] & SparseABC`, `list[Unknown | int | float] & SparseABC`, `list[Unknown | list[Unknown]] & SparseABC`, `list[Unknown | tuple[()]] & SparseABC`, `list[Unknown | ndarray[tuple[Any, ...], dtype[Unknown]]] & SparseABC`, `list[Unknown | set[Unknown | int]] & SparseABC`, `list[Unknown | frozenset[int | Unknown]] & SparseABC`, `list[Unknown | dict[Unknown | int, Unknown | str]] & SparseABC` in union `(Unknown & SparseABC) | (list[Unknown | list[Unknown | int]] & SparseABC) | (ndarray[tuple[Any, ...], dtype[Any]] & SparseABC) | ... omitted 12 union elements`
[error] unresolved-attribute - Attribute `toarray` is not defined on `list[Unknown | list[Unknown | int]] & SparseABC`, `ndarray[tuple[Any, ...], dtype[Any]] & SparseABC`, `_NotAnArray & SparseABC`, `list[Unknown | int] & SparseABC`, `list[Unknown | str] & SparseABC`, `list[Unknown | list[Unknown | str]] & SparseABC`, `list[Unknown] & SparseABC`, `list[Unknown | int | float] & SparseABC`, `list[Unknown | list[Unknown]] & SparseABC`, `list[Unknown | tuple[()]] & SparseABC`, `list[Unknown | ndarray[tuple[Any, ...], dtype[Unknown]]] & SparseABC`, `list[Unknown | set[Unknown | int]] & SparseABC`, `list[Unknown | frozenset[Unknown | int]] & SparseABC`, `list[Unknown | dict[Unknown | int, Unknown | str]] & SparseABC` in union `(Unknown & SparseABC) | (list[Unknown | list[Unknown | int]] & SparseABC) | (ndarray[tuple[Any, ...], dtype[Any]] & SparseABC) | ... omitted 12 union elements`

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

scipy/sparse/_sputils.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Sized | Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | Sized`

subprojects/array_api_compat/array_api_compat/array_api_compat/common/_linalg.py

[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`

sockeye (https://github.com/awslabs/sockeye)

sockeye/output_handler.py

[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[list[str] | Unknown]`, found `list[list[str]] | None`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[Unknown | list[str]]`, found `list[list[str]] | None`

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

lib/spack/spack/detection/path.py

[error] invalid-argument-type - Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[Unknown | int | str | ... omitted 3 union elements]`
[error] invalid-argument-type - Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[int | str | bytes | ... omitted 3 union elements]`

lib/spack/spack/llnl/util/filesystem.py

[error] invalid-argument-type - Argument to function `exists` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `Sized | Unknown`
[error] invalid-argument-type - Argument to function `exists` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `Unknown | Sized`
[error] invalid-argument-type - Argument to function `move` is incorrect: Expected `str | PathLike[str]`, found `Sized | Unknown`
[error] invalid-argument-type - Argument to function `move` is incorrect: Expected `str | PathLike[str]`, found `Unknown | Sized`

lib/spack/spack/verify_libraries.py

[error] invalid-argument-type - Argument to function `candidate_matches` is incorrect: Expected `bytes`, found `Unknown | bytes | str | PathLike[str] | PathLike[bytes]`
[error] invalid-argument-type - Argument to function `candidate_matches` is incorrect: Expected `bytes`, found `bytes | Unknown | str | PathLike[str] | PathLike[bytes]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Unknown | bytes | str | PathLike[str] | PathLike[bytes]` and value of type `Unknown | bytes | str | PathLike[str] | PathLike[bytes]` on object of type `dict[bytes, bytes]`
[error] invalid-assignment - Invalid subscript assignment with key of type `bytes | Unknown | str | PathLike[str] | PathLike[bytes]` and value of type `bytes | Unknown | str | PathLike[str] | PathLike[bytes]` on object of type `dict[bytes, bytes]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[Unknown | bytes | str | PathLike[str] | PathLike[bytes]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[Unknown | bytes | str | PathLike[str] | PathLike[bytes]]`

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

static_frame/test/unit/test_bus.py

[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `ndarray[Any, Any] | @Todo | Series[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `ndarray[Any, Any] | @Todo | Series[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `ndarray[Any, Any] | @Todo | Series[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `ndarray[Any, Any] | @Todo | Series[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `ndarray[Any, Any]` in union `Series[Any, Any] | @Todo | ndarray[Any, Any]`

static_frame/test/unit/test_frame_iter.py

[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `to_pairs` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `tolist` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`
[error] unresolved-attribute - Attribute `shape` is not defined on `tuple[Any, Any]` in union `tuple[Any, Any] | Any`
[error] unresolved-attribute - Attribute `shape` is not defined on `tuple[Any, Any]` in union `Any | tuple[Any, Any]`

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

sympy/geometry/tests/test_util.py

[error] invalid-argument-type - Argument to function `subsets` is incorrect: Expected `Sequence[Unknown]`, found `set[Point2D | Unknown]`
[error] invalid-argument-type - Argument to function `subsets` is incorrect: Expected `Sequence[Unknown]`, found `set[Unknown | Point2D]`

sympy/integrals/prde.py

[error] unresolved-attribute - Attribute `as_poly` is not defined on `int` in union `int | Unknown`
[error] unresolved-attribute - Attribute `as_poly` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `as_poly` is not defined on `int` in union `int | Unknown`
[error] unresolved-attribute - Attribute `as_poly` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `as_poly` is not defined on `int` in union `int | Unknown`
[error] unresolved-attribute - Attribute `as_poly` is not defined on `int` in union `Unknown | int`

sympy/matrices/expressions/hadamard.py

[error] invalid-argument-type - Argument to function `validate_matadd_integer` is incorrect: Expected `MatrixExpr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to function `validate_matadd_integer` is incorrect: Expected `MatrixExpr`, found `Basic | int | float | complex | Any`

sympy/matrices/expressions/kronecker.py

[error] unresolved-attribute - Attribute `is_Identity` is not defined on `Basic`, `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `is_Identity` is not defined on `Basic`, `int`, `float`, `complex` in union `Basic | int | float | complex | Any`
[error] unresolved-attribute - Attribute `rows` is not defined on `Basic`, `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `rows` is not defined on `Basic`, `int`, `float`, `complex` in union `Basic | int | float | complex | Any`

sympy/polys/fields.py

[error] unresolved-attribute - Attribute `as_numer_denom` is not defined on `Basic`, `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `as_numer_denom` is not defined on `Basic`, `int`, `float`, `complex` in union `Basic | int | float | complex | Any`

sympy/polys/polyoptions.py

[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `poly_ring` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `frac_field` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `frac_field` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `frac_field` is incorrect: Expected `str | Expr`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `frac_field` is incorrect: Expected `str | Expr`, found `Basic | int | float | complex | Any`

sympy/series/order.py

[error] invalid-argument-type - Argument to bound method `as_independent` is incorrect: Expected `Basic | type[Basic]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `as_independent` is incorrect: Expected `Basic | type[Basic]`, found `Basic | int | float | complex | Any`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Any | Basic | int | float | complex`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Any | Basic | int | float | complex` and `Basic`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Basic`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Any | Basic | int | float | complex`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Any | Basic | int | float | complex`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Basic | int | float | complex | Any`

sympy/simplify/cse_main.py

[error] not-iterable - Object of type `Sized | Unknown` may not be iterable
[error] not-iterable - Object of type `Unknown | Sized` may not be iterable
[error] unsupported-operator - Operator `in` is not supported between objects of type `Unknown` and `Sized | Unknown`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Unknown` and `Unknown | Sized`

sympy/simplify/hyperexpand.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `SupportsIndex`, found `Basic | int | float | complex | Any`

sympy/simplify/simplify.py

[error] unsupported-operator - Operator `/` is not supported between two objects of type `Any | Basic | int | float | complex`
[error] unsupported-operator - Operator `/` is not supported between two objects of type `Basic | int | float | complex | Any`

sympy/solvers/recurr.py

[error] unresolved-attribute - Attribute `expand` is not defined on `Basic` in union `Any | Basic`
[error] unresolved-attribute - Attribute `expand` is not defined on `Basic` in union `Basic | Any`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Basic | int | float | complex | Any`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Basic | int | float | complex | Any`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Basic | int | float | complex | Any`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `subs` is not defined on `int`, `float`, `complex` in union `Basic | int | float | complex | Any`

sympy/solvers/tests/test_pde.py

[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(str | Unknown, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(Unknown | str, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(str | Unknown, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(Unknown | str, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(str | Unknown, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(Unknown | str, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(str | Unknown, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(Unknown | str, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(str | Unknown, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(Unknown | str, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(str | Unknown, /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(Unknown | str, /) -> Unknown`, found `<class 'Function'>`

sympy/stats/symbolic_probability.py

[error] unresolved-attribute - Attribute `expand` is not defined on `Basic` in union `Basic | Unknown`
[error] unresolved-attribute - Attribute `expand` is not defined on `Basic` in union `Unknown | Basic`
[error] unresolved-attribute - Attribute `expand` is not defined on `Basic` in union `Basic | Unknown`
[error] unresolved-attribute - Attribute `expand` is not defined on `Basic` in union `Unknown | Basic`

sympy/tensor/indexed.py

[error] unresolved-attribute - Attribute `is_number` is not defined on `int`, `float`, `complex` in union `Any | Basic | int | float | complex`
[error] unresolved-attribute - Attribute `is_number` is not defined on `int`, `float`, `complex` in union `Basic | int | float | complex | Any`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Basic`, found `Any | Basic | int | float | complex`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Basic`, found `Basic | int | float | complex | Any`
[error] unresolved-attribute - Attribute `is_Number` is not defined on `None`, `int`, `float`, `complex` in union `None | Any | Basic | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `is_Number` is not defined on `int`, `float`, `complex`, `None` in union `Basic | int | float | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `is_integer` is not defined on `None`, `int`, `complex` in union `None | Any | Basic | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `is_integer` is not defined on `int`, `complex`, `None` in union `Basic | int | float | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `is_integer` is not defined on `None`, `int`, `complex` in union `None | Any | Basic | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `is_integer` is not defined on `int`, `complex`, `None` in union `Basic | int | float | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Basic`, found `None | Any | Basic | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Basic`, found `Basic | int | float | ... omitted 3 union elements`

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

test/test_transforms_v2.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`

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

xarray/tests/test_combine.py

[error] invalid-assignment - Object of type `dict[tuple[int, ...], list[Unknown | Dataset] | list[Unknown | list[Unknown | Dataset]] | Dataset]` is not assignable to `dict[tuple[int, ...], Dataset]`
[error] invalid-assignment - Object of type `dict[tuple[int, ...], list[Unknown | list[Unknown | Dataset]] | list[Unknown | Dataset] | Dataset]` is not assignable to `dict[tuple[int, ...], Dataset]`