Ecosystem report

Old: main (merge base) b243865f New: 23328/merge aa2d74e0
Lint Rule Removed Added Changed
Total 40 53 190
invalid-argument-type 16 17 118
invalid-assignment 0 10 42
unresolved-attribute 0 7 23
unused-type-ignore-comment 19 1 0
unsupported-operator 0 7 4
type-assertion-failure 5 0 1
no-matching-overload 0 4 0
not-subscriptable 0 4 0
invalid-return-type 0 2 1
invalid-await 0 1 0
not-iterable 0 0 1
Project Removed Added Changed
Total 40 53 190
scipy 10 8 50
jax 0 6 30
dd-trace-py 0 1 26
cloud-init 0 3 12
spack 7 0 6
sympy flaky 0 4 8
bokeh 0 2 8
cryptography 9 0 0
discord.py 0 0 7
meson 0 2 4
pwndbg 0 5 1
pandas 0 1 4
pandas-stubs 5 0 0
Expression flaky 0 4 0
attrs 0 1 3
ignite 0 1 3
rotki 0 2 2
schemathesis 0 4 0
tornado 1 0 3
optuna 3 0 0

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

tests/test_result.py

[error] invalid-argument-type - Argument to bound method `filter_with` is incorrect: Expected `(Any, /) -> Literal["original error"]`, found `(value) -> str`
[error] invalid-argument-type - Argument to bound method `or_else_with` is incorrect: Expected `(Any, /) -> Result[Literal["good"], Any]`, found `(error) -> Result[str, Any]`
[error] invalid-argument-type - Argument to bound method `or_else_with` is incorrect: Expected `(Any, /) -> Result[Literal["good"], Any]`, found `(error) -> Result[str, Any]`
[error] invalid-argument-type - Argument to bound method `or_else_with` is incorrect: Expected `(Literal["original error"], /) -> Result[Any, Literal["original error"]]`, found `(error) -> Result[Any, str]`

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

src/anyio/_core/_tempfile.py

[error] invalid-assignment - Object of type `AsyncFile[str]` is not assignable to attribute `_async_file` of type `AsyncFile[AnyStr@TemporaryFile]`

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

asynq/tests/test_futures.py

[error] unresolved-attribute - Object of type `Future[Unknown]` has no attribute `on_computed`
[error] unresolved-attribute - Object of type `Future[int]` has no attribute `on_computed`
[error] unresolved-attribute - Object of type `Future[Unknown]` has no attribute `on_computed`
[error] unresolved-attribute - Object of type `Future[int]` has no attribute `on_computed`

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

tests/test_cmp.py

[error] invalid-argument-type - Argument to function `cmp_using` is incorrect: Expected `((Any, Any, /) -> bool) | None`, found `(a, b) -> _NotImplementedType | (bool & Unknown)`

tests/test_validators.py

[error] invalid-argument-type - Argument to function `matches_re` is incorrect: Expected `((str, str, int, /) -> Match[str] | None) | None`, found `() -> Unknown`
[error] invalid-argument-type - Argument to function `matches_re` is incorrect: Expected `((str, str, int, /) -> Match[str] | None) | None`, found `() -> None`
[error] invalid-argument-type - Argument to function `include` is incorrect: Expected `type | str | Attribute[Any]`, found `(val) -> Unknown`
[error] invalid-argument-type - Argument to function `include` is incorrect: Expected `type | str | Attribute[Any]`, found `(val) -> Literal[True]`
[error] invalid-argument-type - Argument to function `exclude` is incorrect: Expected `type | str | Attribute[Any]`, found `(val) -> Unknown`
[error] invalid-argument-type - Argument to function `exclude` is incorrect: Expected `type | str | Attribute[Any]`, found `(val) -> Literal[True]`

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

src/bokeh/models/annotations/geometry.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> Unknown` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> BoxInteractionHandles` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BoxInteractionHandles | UndefinedType | IntrinsicType`, found `() -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BoxInteractionHandles | UndefinedType | IntrinsicType`, found `() -> BoxInteractionHandles`

src/bokeh/models/annotations/legends.py

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

src/bokeh/models/layouts.py

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

src/bokeh/models/renderers/graph_renderer.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> Unknown` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> GlyphRenderer[Unknown]` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `GlyphRenderer[Unknown] | UndefinedType | IntrinsicType`, found `() -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `GlyphRenderer[Unknown] | UndefinedType | IntrinsicType`, found `() -> GlyphRenderer[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> Unknown` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> GlyphRenderer[Unknown]` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `GlyphRenderer[Unknown] | UndefinedType | IntrinsicType`, found `() -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `GlyphRenderer[Unknown] | UndefinedType | IntrinsicType`, found `() -> GlyphRenderer[Unknown]`

src/bokeh/models/tools.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> Unknown` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Argument type `() -> BoxAnnotation` does not satisfy upper bound `Serializable` of type variable `S`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BoxAnnotation | UndefinedType | IntrinsicType`, found `() -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BoxAnnotation | UndefinedType | IntrinsicType`, found `() -> BoxAnnotation`

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

cloudinit/cmd/main.py

[error] unresolved-attribute - Attribute `export_logs` is not defined on `Handler` in union `Handler | Unknown`
[error] unresolved-attribute - Attribute `export_logs` is not defined on `Handler` in union `Handler | Unknown`
[error] unresolved-attribute - Attribute `clean_logs` is not defined on `Handler` in union `Handler | Unknown`

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

tests/unittests/sources/test_altcloud.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `user_data_rhevm` of type `def user_data_rhevm(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `user_data_rhevm` of type `def user_data_rhevm(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `user_data_vsphere` of type `def user_data_vsphere(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `user_data_vsphere` of type `def user_data_vsphere(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `user_data_rhevm` of type `def user_data_rhevm(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[False]` is not assignable to attribute `user_data_rhevm` of type `def user_data_rhevm(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `user_data_vsphere` of type `def user_data_vsphere(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[False]` is not assignable to attribute `user_data_vsphere` of type `def user_data_vsphere(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `user_data_rhevm` of type `def user_data_rhevm(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `user_data_rhevm` of type `def user_data_rhevm(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `user_data_vsphere` of type `def user_data_vsphere(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `user_data_vsphere` of type `def user_data_vsphere(self) -> Unknown`

tests/unittests/sources/test_exoscale.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[False]` is not assignable to attribute `ds_detect` of type `def ds_detect() -> Unknown`

tests/unittests/sources/test_gce.py

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

cryptography (https://github.com/pyca/cryptography)

tests/hazmat/primitives/test_dsa.py

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

tests/hazmat/primitives/test_ec.py

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

cwltool (https://github.com/common-workflow-language/cwltool)

cwltool/main.py

[error] invalid-assignment - Object of type `(*args) -> Unknown` is not assignable to attribute `default_user_agent` of type `def default_user_agent(name: str = "python-requests") -> str`
[error] invalid-assignment - Object of type `(*args) -> str` is not assignable to attribute `default_user_agent` of type `def default_user_agent(name: str = "python-requests") -> str`

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

ddtrace/debugging/_debugger.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | (Unknown & ~AlwaysFalsy)]`
[error] invalid-argument-type - Argument is incorrect: Expected `int | float`, found `Unknown | DerivedVariable[int | float | Unknown]`
[error] invalid-argument-type - Argument is incorrect: Expected `int | float`, found `Unknown | DerivedVariable[int | float]`

ddtrace/debugging/_probe/status.py

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

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]]`
[error] unresolved-attribute - Attribute `search` is not defined on `DerivedVariable[Unknown]` in union `(Unknown & ~None) | DerivedVariable[Unknown]`
[error] unresolved-attribute - Attribute `search` is not defined on `DerivedVariable[Pattern[str] | None]` in union `(Unknown & ~None) | DerivedVariable[Pattern[str] | None]`

ddtrace/debugging/_signal/utils.py

[error] unresolved-attribute - Attribute `__name__` is not defined on `(Any, /) -> bool` in union `((Any, /) -> bool) | ((_) -> Unknown)`
[error] unresolved-attribute - Object of type `(Any, /) -> bool` has no attribute `__name__`
[error] unresolved-attribute - Attribute `__name__` is not defined on `(Any, /) -> bool` in union `((Any, /) -> bool) | ((_) -> Unknown)`
[error] unresolved-attribute - Object of type `(Any, /) -> bool` has no attribute `__name__`
[error] unresolved-attribute - Attribute `__name__` is not defined on `(Any, /) -> bool` in union `((Any, /) -> bool) | ((_) -> Unknown)`
[error] unresolved-attribute - Object of type `(Any, /) -> bool` has no attribute `__name__`
[error] unresolved-attribute - Attribute `__name__` is not defined on `(Any, /) -> bool` in union `((Any, /) -> bool) | ((_) -> Unknown)`
[error] unresolved-attribute - Object of type `(Any, /) -> bool` has no attribute `__name__`
[error] unresolved-attribute - Attribute `__name__` is not defined on `(Any, /) -> bool` in union `((Any, /) -> bool) | ((_) -> Unknown)`
[error] unresolved-attribute - Object of type `(Any, /) -> bool` has no attribute `__name__`

ddtrace/debugging/_uploader.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | (Unknown & ~AlwaysFalsy)]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | (Unknown & ~AlwaysFalsy)]`
[error] invalid-argument-type - Argument to function `connector` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | Unknown]`
[error] invalid-argument-type - Argument to function `connector` is incorrect: Expected `str`, found `Unknown | DerivedVariable[str | DerivedVariable[str] | Unknown]`

ddtrace/internal/symbol_db/symbols.py

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

tests/appsec/appsec/test_asm_request_context.py

[error] invalid-argument-type - Argument is incorrect: Expected `(() -> bool) | None`, found `() -> Literal[42]`

tests/ci_visibility/test_atr.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `efd_is_faulty_session` of type `def efd_is_faulty_session(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[False]` is not assignable to attribute `efd_is_faulty_session` of type `def efd_is_faulty_session(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `efd_is_faulty_session` of type `def efd_is_faulty_session(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Literal[False]` is not assignable to attribute `efd_is_faulty_session` of type `def efd_is_faulty_session(self) -> Unknown`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `get_session` of type `def get_session(self) -> TestVisibilitySession | None`
[error] invalid-assignment - Object of type `() -> TestVisibilitySession` is not assignable to attribute `get_session` of type `def get_session(self) -> TestVisibilitySession | None`

tests/debugging/mocking.py

[error] invalid-assignment - Object of type `(_) -> Unknown` is not assignable to attribute `register` of type `def register[**_P, _T](func: (**_P) -> _T, /, *args: _P.args, **kwargs: _P.kwargs) -> (**_P) -> _T`
[error] invalid-assignment - Object of type `(_) -> None` is not assignable to attribute `register` of type `def register[**_P, _T](func: (**_P) -> _T, /, *args: _P.args, **kwargs: _P.kwargs) -> (**_P) -> _T`

tests/internal/symbol_db/test_config.py

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

tests/testing/internal/test_telemetry.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `is_benchmark` of type `def is_benchmark(self) -> bool`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `is_benchmark` of type `def is_benchmark(self) -> bool`

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

discord/enums.py

[error] invalid-assignment - Object of type `(self) -> Unknown` is not assignable to attribute `__repr__` of type `def __repr__(self) -> str`
[error] invalid-assignment - Object of type `(self) -> str` is not assignable to attribute `__repr__` of type `def __repr__(self) -> str`
[error] invalid-assignment - Object of type `(self) -> Unknown` is not assignable to attribute `__str__` of type `def __str__(self) -> str`
[error] invalid-assignment - Object of type `(self) -> str` is not assignable to attribute `__str__` of type `def __str__(self) -> str`
[error] invalid-assignment - Object of type `(self, other) -> Unknown` is not assignable to attribute `__le__` of type `def __le__(self, value: tuple[Unknown, ...], /) -> bool`
[error] invalid-assignment - Object of type `(self, other) -> Literal[False] | Unknown` is not assignable to attribute `__le__` of type `def __le__(self, value: tuple[Unknown, ...], /) -> bool`
[error] invalid-assignment - Object of type `(self, other) -> Unknown` is not assignable to attribute `__ge__` of type `def __ge__(self, value: tuple[Unknown, ...], /) -> bool`
[error] invalid-assignment - Object of type `(self, other) -> Literal[False] | Unknown` is not assignable to attribute `__ge__` of type `def __ge__(self, value: tuple[Unknown, ...], /) -> bool`
[error] invalid-assignment - Object of type `(self, other) -> Unknown` is not assignable to attribute `__lt__` of type `def __lt__(self, value: tuple[Unknown, ...], /) -> bool`
[error] invalid-assignment - Object of type `(self, other) -> Literal[False] | Unknown` is not assignable to attribute `__lt__` of type `def __lt__(self, value: tuple[Unknown, ...], /) -> bool`
[error] invalid-assignment - Object of type `(self, other) -> Unknown` is not assignable to attribute `__gt__` of type `def __gt__(self, value: tuple[Unknown, ...], /) -> bool`
[error] invalid-assignment - Object of type `(self, other) -> Literal[False] | Unknown` is not assignable to attribute `__gt__` of type `def __gt__(self, value: tuple[Unknown, ...], /) -> bool`

discord/file.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `close` of type `def close(self) -> None`
[error] invalid-assignment - Object of type `() -> None` is not assignable to attribute `close` of type `def close(self) -> None`

django-stubs (https://github.com/typeddjango/django-stubs)

tests/assert_type/apps/test_config.py

[error] type-assertion-failure - Type `str` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `str` does not match asserted type `Unknown | Literal["django.db.models.BigAutoField"]`

httpx-caching (https://github.com/johtso/httpx-caching)

httpx_caching/_utils.py

[error] invalid-await - `Unknown | None` is not awaitable

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

src/hydra_zen/wrapper/_implementations.py

[error] invalid-assignment - Object of type `((x) -> object) | (((str | None, /) -> str | None) & ~Top[Mapping[Unknown, object]])` is not assignable to `(str | None, /) -> str | None`

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

ibis/common/tests/test_annotations.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Pattern`, found `(x, *_, **__) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Pattern`, found `(x, *_, **__) -> int`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Pattern`, found `(x, *_, **__) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Pattern`, found `(x, *_, **__) -> str`

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

tests/ignite/engine/test_engine.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(Engine, Any, /) -> Any`, found `() -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(Engine, Any, /) -> Any`, found `() -> None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(Engine, Any, /) -> Any`, found `(batch) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(Engine, Any, /) -> Any`, found `(batch) -> None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(Engine, Any, /) -> Any`, found `(engine, batch, extra_arg) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(Engine, Any, /) -> Any`, found `(engine, batch, extra_arg) -> None`

tests/ignite/handlers/test_checkpoint.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Engine, /) -> int | float) | None`, found `(e) -> dict[Unknown | str, Unknown | int]`

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

jax/_src/ad_checkpoint.py

[error] unresolved-attribute - Unresolved attribute `in_cts_zero` on type `() -> Unknown`
[error] unresolved-attribute - Unresolved attribute `in_cts_zero` on type `() -> None`
[error] unresolved-attribute - Object of type `() -> Unknown` has no attribute `in_cts_zero`
[error] unresolved-attribute - Object of type `() -> None` has no attribute `in_cts_zero`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, name) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, name) -> list[Unknown]`

jax/_src/error_check.py

[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_SerializeAuxData`, found `(x) -> Unknown`
[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_SerializeAuxData`, found `(x) -> bytes`
[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_DeserializeAuxData`, found `(x) -> Unknown`
[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_DeserializeAuxData`, found `(x) -> Any`

jax/_src/export/_export.py

[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_DeserializeAuxData`, found `(b) -> Unknown`
[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_DeserializeAuxData`, found `(b) -> Any`

jax/_src/hijax.py

[error] unresolved-attribute - Unresolved attribute `out_nzs` on type `() -> Unknown`
[error] unresolved-attribute - Unresolved attribute `out_nzs` on type `() -> None`

jax/_src/interpreters/mlir.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x) -> list[Unknown]`

jax/_src/lax/lax.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, _) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, _) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, y) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, y) -> list[Unknown]`

jax/_src/lax/parallel.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x, *, axes) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(ctx, x) -> list[Unknown]`

jax/_src/pallas/hlo_interpreter.py

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

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

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

jax/_src/pallas/mosaic_gpu/lowering.py

[error] invalid-argument-type - Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
[error] invalid-argument-type - Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown | FragmentedArray`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown | FragmentedArray)`
[error] invalid-argument-type - Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown)`
[error] invalid-argument-type - Argument to function `safe_map` is incorrect: Expected `(Any, dtype[Any] | Unknown | ShapedAbstractValue, /) -> Unknown | FragmentedArray`, found `(def _ensure_ir_value(x: Any, dtype: dtype[Any]) -> Unknown) | ((v, aval) -> Unknown | FragmentedArray)`

jax/_src/pallas/pallas_call.py

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

jax/_src/pallas/pipelining/schedulers.py

[error] invalid-assignment - Invalid subscript assignment with key of type `int | str` and value of type `int` on object of type `defaultdict[Unknown, None]`
[error] unsupported-operator - Operator `>` is not supported between two objects of type `None`
[error] invalid-assignment - Invalid subscript assignment with key of type `int | str` and value of type `int` on object of type `defaultdict[Unknown, None]`
[error] invalid-argument-type - Argument is incorrect: Expected `Mapping[int | str, int]`, found `defaultdict[Unknown, None]`

jax/_src/pallas/primitives.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> list[Unknown]`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, x, **__) -> list[Unknown]`

jax/_src/random.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, k) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `(_, k) -> list[Unknown]`

jax/_src/test_loader.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `time_getter` on type `Unknown | TestResult`
[error] invalid-assignment - Object of type `() -> Unknown | int | float` is not assignable to attribute `time_getter` on type `Unknown | TestResult`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `time_getter` on type `Unknown | TestResult`
[error] invalid-assignment - Object of type `() -> int | float` is not assignable to attribute `time_getter` on type `Unknown | TestResult`

jax/experimental/array_serialization/serialization_test.py

[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_SerializeAuxData`, found `(p) -> Unknown`
[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_SerializeAuxData`, found `(p) -> bytes`
[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_DeserializeAuxData`, found `(data) -> Unknown`
[error] invalid-argument-type - Argument to function `register_pytree_node_serialization` is incorrect: Expected `_DeserializeAuxData`, found `(data) -> P`

jax/experimental/colocated_python/func.py

[error] invalid-assignment - Object of type `None` is not assignable to `_SpecializedCollection`
[error] invalid-assignment - Object of type `None` is not assignable to `(...) -> Any`

manticore (https://github.com/trailofbits/manticore)

manticore/native/plugins.py

[error] invalid-assignment - Object of type `(...) -> Unknown` is not assignable to attribute `_publish` on type `Unknown | None`
[error] invalid-assignment - Object of type `(...) -> None` is not assignable to attribute `_publish` on type `Unknown | None`

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

docs/refman/main.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `colorize_console` of type `bound method _Logger.colorize_console() -> bool`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `colorize_console` of type `bound method _Logger.colorize_console() -> bool`

mesonbuild/cargo/manifest.py

[error] invalid-assignment - Object of type `dataclasses.Field[list[Unknown | str]]` is not assignable to `list[Literal["bin", "lib", "dylib", "staticlib", "cdylib", "rlib", "proc-macro"]]`

mesonbuild/dependencies/cuda.py

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

unittests/internaltests.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `get_default_include_dirs` of type `def get_default_include_dirs(self) -> list[str]`
[error] invalid-assignment - Object of type `() -> list[Unknown | str]` is not assignable to attribute `get_default_include_dirs` of type `def get_default_include_dirs(self) -> list[str]`
[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `get_default_include_dirs` of type `def get_default_include_dirs(self) -> list[str]`
[error] invalid-assignment - Object of type `() -> list[Unknown | str]` is not assignable to attribute `get_default_include_dirs` of type `def get_default_include_dirs(self) -> list[str]`

unittests/machinefiletests.py

[error] unresolved-attribute - Attribute `id` is not defined on `None` in union `Compiler | None`

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

mkdocs/tests/livereload_tests.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `close` of type `def close(self) -> None`
[error] invalid-assignment - Object of type `() -> None` is not assignable to attribute `close` of type `def close(self) -> None`

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

openlibrary/book_providers.py

[error] invalid-argument-type - Argument to function `multisort_best` is incorrect: Expected `list[tuple[Literal["min", "max"], (Unknown | tuple[Edition, AbstractBookProvider[Unknown] | None], /) -> int | float]]`, found `list[Unknown | tuple[str, (rec) -> Unknown]]`
[error] invalid-argument-type - Argument to function `multisort_best` is incorrect: Expected `list[tuple[Literal["min", "max"], (Unknown | tuple[Edition, AbstractBookProvider[Unknown] | None], /) -> int | float]]`, found `list[Unknown | tuple[str, (rec) -> int | float]]`

openlibrary/conftest.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `init_plugin` of type `def init_plugin() -> Unknown`
[error] invalid-assignment - Object of type `() -> None` is not assignable to attribute `init_plugin` of type `def init_plugin() -> Unknown`

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

tests/study_tests/test_optimize.py

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

tests/visualization_tests/test_utils.py

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

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/tests/io/excel/test_readers.py

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

pandas/tests/io/formats/test_to_html.py

[error] invalid-argument-type - Argument to bound method `to_html` is incorrect: Expected `list[(...) -> Unknown] | tuple[(...) -> Unknown, ...] | Mapping[str | int, (...) -> Unknown] | None`, found `list[Unknown | ((x) -> Unknown) | None]`
[error] invalid-argument-type - Argument to bound method `to_html` is incorrect: Expected `list[(...) -> Unknown] | tuple[(...) -> Unknown, ...] | Mapping[str | int, (...) -> Unknown] | None`, found `list[Unknown | ((x) -> str) | None]`

pandas/tests/io/test_common.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `fileno` of type `def fileno(self) -> int`
[error] invalid-assignment - Object of type `() -> Literal[-1]` is not assignable to attribute `fileno` of type `def fileno(self) -> int`

pandas/tests/io/test_gcs.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `close` of type `def close(self) -> None`
[error] invalid-assignment - Object of type `() -> Literal[True]` is not assignable to attribute `close` of type `def close(self) -> None`

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

tests/series/test_series.py

[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `Series[BaseOffset]` does not match asserted type `Unknown`

tests/test_pandas.py

[error] type-assertion-failure - Type `DataFrame` does not match asserted type `Unknown`

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

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

src/integrations/prefect-github/prefect_github/utils.py

[error] invalid-return-type - Return type does not match returned value: expected `list[Unknown]`, found `defaultdict[Unknown, Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `list[Unknown]`, found `defaultdict[Unknown, list[Unknown]]`

src/prefect/flows.py

flaky
(1/10)
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

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

pwndbg/aglib/disasm/disassembly.py

[error] invalid-assignment - Object of type `defaultdict[int, int | None]` is not assignable to `defaultdict[int, int]`

pwndbg/aglib/heap/ptmalloc.py

[error] not-subscriptable - Cannot subscript object of type `None` 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 `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

pwndbg/gdblib/tui/context.py

[error] invalid-assignment - Object of type `(...) -> Unknown` is not assignable to `def _ansi_substr(self, line: str, start_char: int, end_char: int) -> str`
[error] invalid-assignment - Object of type `(...) -> Unknown | str` is not assignable to `def _ansi_substr(self, line: str, start_char: int, end_char: int) -> str`

pycryptodome (https://github.com/Legrandin/pycryptodome)

lib/Crypto/SelfTest/Protocol/test_KDF.py

[error] invalid-argument-type - Argument to function `PBKDF2` is incorrect: Expected `((int, /) -> bytes) | None`, found `(p, s) -> Unknown`
[error] invalid-argument-type - Argument to function `PBKDF2` is incorrect: Expected `((int, /) -> bytes) | None`, found `(p, s) -> bytes`

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

pyppeteer/browser.py

[error] invalid-argument-type - Argument to bound method `setClosedCallback` is incorrect: Expected `() -> None`, found `() -> bool`

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

testing/_py/test_local.py

[error] invalid-argument-type - Argument to bound method `sysfind` is incorrect: Expected `((local, /) -> bool) | None`, found `(x) -> None`

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

tests/test_console.py

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

tests/test_measure.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `ConsoleRenderable | RichCast | str`, found `None`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `RichCast | ConsoleRenderable | str`, found `None`

tests/test_table.py

[error] invalid-argument-type - Argument to bound method `add_row` is incorrect: Expected `ConsoleRenderable | RichCast | str | None`, found `Foo`
[error] invalid-argument-type - Argument to bound method `add_row` is incorrect: Expected `RichCast | ConsoleRenderable | str | None`, found `Foo`

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

rotkehlchen/api/services/assets.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Timestamp` and value of type `str` on object of type `defaultdict[Unknown, Price]`

rotkehlchen/chain/solana/decoding/decoder.py

[error] invalid-argument-type - Argument to function `decode_safely` is incorrect: Expected `tuple[Any]`, found `SolanaEventDecoderContext | SolanaDecoderContext`

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]]`

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

src/schemathesis/cli/commands/run/handlers/output.py

[error] invalid-assignment - Object of type `dataclasses.Field[dict[Unknown, tuple[Status, None]]]` is not assignable to `dict[PhaseName, tuple[Status, PhaseSkipReason | None]]`

src/schemathesis/specs/openapi/adapter/parameters.py

[error] invalid-argument-type - Argument to bound method `filter` is incorrect: Expected `(GeneratedValue, /) -> Any`, found `Unknown | ((parameters: dict[str, object]) -> bool) | ((headers: dict[str, object]) -> bool) | ((query: dict[str, object]) -> bool)`
[error] invalid-argument-type - Argument to bound method `map` is incorrect: Expected `(GeneratedValue, /) -> Unknown`, found `def quote_all(parameters: dict[str, Any]) -> dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `map` is incorrect: Expected `(GeneratedValue, /) -> Unknown`, found `def jsonify_python_specific_types(value: dict[str, Any]) -> dict[str, Any]`

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

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/_lib/_array_api_docs_tables.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, dict[str, str]]`, found `dict[str, dict[str, str] | defaultdict[Unknown, int]]`

scipy/_lib/_util.py

[error] invalid-assignment - Object of type `(seed=...) -> Unknown` is not assignable to attribute `default_rng` of type `def default_rng(seed: _SupportsArray[dtype[bool[bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[bool[bool] | integer[Any]]]] | int | ... omitted 6 union elements = None) -> Generator`
[error] invalid-assignment - Object of type `(seed=...) -> Generator` is not assignable to attribute `default_rng` of type `def default_rng(seed: _SupportsArray[dtype[bool[bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[bool[bool] | integer[Any]]]] | int | ... omitted 6 union elements = None) -> Generator`

scipy/stats/_kde.py

[error] unsupported-operator - Operator `**` is not supported between objects of type `Unknown | (generic[Any] & ~str) | int | ... omitted 4 union elements` and `Literal[2]`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Unknown | (generic[Any] & ~str) | int | ... omitted 4 union elements` and `Literal[2]`

scipy/stats/_sampling.py

[error] unsupported-operator - Operator `<` is not supported between objects of type `(Unknown & ~None) | int | float | ... omitted 5 union elements` and `Any | int | float`
[error] unsupported-operator - Operator `>` is not supported between objects of type `(Unknown & ~None) | int | float | ... omitted 5 union elements` and `Any | int | float`
[error] unresolved-attribute - Attribute `squeeze` is not defined on `int`, `float` in union `Unknown | int | float`
[error] unresolved-attribute - Attribute `reshape` is not defined on `int`, `float` in union `Unknown | int | float`
[error] unresolved-attribute - Attribute `reshape` is not defined on `int`, `float` in union `Unknown | int | float`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `None | int | float`, found `None | Unknown | generic[Any] | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `None | int | float`, found `None | Unknown | int | ... omitted 6 union elements`

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, ...]`

subprojects/cobyqa/cobyqa/main.py

[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`

subprojects/cobyqa/cobyqa/problem.py

[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`

subprojects/cobyqa/cobyqa/tests/test_problem.py

[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> str)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`

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

setuptools/build_meta.py

[error] invalid-assignment - Object of type `(attrs) -> Unknown` is not assignable to attribute `_install_setup_requires` of type `def _install_setup_requires(attrs) -> Unknown`
[error] invalid-assignment - Object of type `(attrs) -> None` is not assignable to attribute `_install_setup_requires` of type `def _install_setup_requires(attrs) -> Unknown`

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

sockeye_contrib/plot_metrics.py

[error] no-matching-overload - No overload of bound method `update` matches arguments

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

lib/spack/spack/util/file_cache.py

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

lib/spack/spack/detection/path.py

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

lib/spack/spack/spec.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `defaultdict[Unknown, Unknown] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `defaultdict[Unknown, int] | None`

lib/spack/spack/test/llnl/util/lock.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(() -> bool) | None | ContextManager[Unknown]`, found `def write(t, v, tb) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(() -> bool) | None | ContextManager[Unknown]`, found `def write(t, v, tb) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(() -> bool) | None | ContextManager[Unknown]`, found `def write(t, v, tb) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(() -> bool) | None | ContextManager[Unknown]`, found `def write(t, v, tb) -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(() -> bool) | None | ContextManager[Unknown]`, found `def write(t, v, tb) -> Unknown`

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[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]]`

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

sympy/core/singleton.py

[error] invalid-assignment - Object of type `(obj) -> Unknown` is not assignable to attribute `__getstate__` of type `def __getstate__(self) -> object`
[error] invalid-assignment - Object of type `(obj) -> None` is not assignable to attribute `__getstate__` of type `def __getstate__(self) -> object`

sympy/logic/tests/test_boolalg.py

[error] unsupported-operator - Unary operator `+` is not supported for object of type `BooleanTrue | BooleanFalse | Divergent`
[error] unsupported-operator - Unary operator `+` is not supported for object of type `BooleanTrue | BooleanFalse | Unknown | Zero | One`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `BooleanTrue | BooleanFalse | Divergent`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `BooleanTrue | BooleanFalse | Unknown | Zero | One`
[error] invalid-argument-type - Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `BooleanTrue | BooleanFalse | Divergent`
[error] invalid-argument-type - Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `BooleanTrue | BooleanFalse | Unknown | Zero | One`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `BooleanTrue | BooleanFalse | Divergent`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `BooleanTrue | BooleanFalse | Unknown | Zero | One`

sympy/parsing/tests/test_sympy_parser.py

[error] invalid-argument-type - Argument to function `parse_expr` is incorrect: Expected `tuple[(list[tuple[int, str]], dict[str, Any], dict[str, Any], /) -> list[tuple[int, str]], ...] | str`, found `(x, y) -> Unknown`
[error] invalid-argument-type - Argument to function `parse_expr` is incorrect: Expected `tuple[(list[tuple[int, str]], dict[str, Any], dict[str, Any], /) -> list[tuple[int, str]], ...] | str`, found `(x, y) -> Literal[1]`
[error] invalid-argument-type - Argument to function `parse_expr` is incorrect: Expected `tuple[(list[tuple[int, str]], dict[str, Any], dict[str, Any], /) -> list[tuple[int, str]], ...] | str`, found `tuple[(x, y) -> Unknown]`
[error] invalid-argument-type - Argument to function `parse_expr` is incorrect: Expected `tuple[(list[tuple[int, str]], dict[str, Any], dict[str, Any], /) -> list[tuple[int, str]], ...] | str`, found `tuple[(x, y) -> Literal[1]]`

sympy/physics/mechanics/kane.py

[error] no-matching-overload - No overload of bound method `fromkeys` matches arguments
[error] no-matching-overload - No overload of bound method `fromkeys` matches arguments

sympy/sets/tests/test_sets.py

[error] invalid-assignment - Object of type `(x) -> Unknown` is not assignable to `def f(x) -> Unknown`
[error] invalid-assignment - Object of type `(x) -> cos` is not assignable to `def f(x) -> Unknown`

sympy/physics/mechanics/tests/test_kane5.py

flaky
(7/10)
[error] unsupported-operator - Operator `-` is not supported between two objects of type `MutableDenseMatrix`
flaky
(7/10)
[error] unsupported-operator - Operator `-` is not supported between two objects of type `MutableDenseMatrix`

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

tornado/test/escape_test.py

[error] invalid-argument-type - Argument to function `linkify` is incorrect: Expected `bool`, found `Unknown | list[Unknown | str] | bool | str | ((href) -> Unknown)`
[error] invalid-argument-type - Argument to function `linkify` is incorrect: Expected `bool`, found `Unknown | list[Unknown | str] | bool | str | ((href) -> str)`
[error] invalid-argument-type - Argument to function `linkify` is incorrect: Expected `bool`, found `Unknown | list[Unknown | str] | bool | str | ((href) -> Unknown)`
[error] invalid-argument-type - Argument to function `linkify` is incorrect: Expected `list[str]`, found `Unknown | list[Unknown | str] | bool | str | ((href) -> str)`
[error] invalid-argument-type - Argument to function `linkify` is incorrect: Expected `list[str]`, found `Unknown | list[Unknown | str] | bool | str | ((href) -> Unknown)`
[error] invalid-argument-type - Argument to function `linkify` is incorrect: Expected `str | ((str, /) -> str)`, found `Unknown | list[Unknown | str] | bool | str | ((href) -> str)`
[error] invalid-argument-type - Argument to function `linkify` is incorrect: Expected `str | ((str, /) -> str)`, found `Unknown | list[Unknown | str] | bool | str | ((href) -> Unknown)`

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

src/trio/_core/_tests/test_run.py

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

src/trio/_tests/test_util.py

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

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

test/contrib/emscripten/test_emscripten.py

[error] invalid-assignment - Object of type `() -> Unknown` is not assignable to attribute `is_cross_origin_isolated` of type `def is_cross_origin_isolated() -> bool`
[error] invalid-assignment - Object of type `() -> Literal[False]` is not assignable to attribute `is_cross_origin_isolated` of type `def is_cross_origin_isolated() -> bool`

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

references/depth/stereo/transforms.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[tuple[Unknown, Unknown], tuple[Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None, Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None], tuple[Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None, Unknown | ndarray[tuple[Any, ...], dtype[Any]] | None]]`, found `tuple[tuple[Unknown, ...], tuple[None | Unknown, ...], tuple[None | Unknown, ...]]`

werkzeug (https://github.com/pallets/werkzeug)

tests/live_apps/run.py

[error] invalid-assignment - Object of type `(_) -> Unknown` is not assignable to attribute `address_string` of type `def address_string(self) -> str`
[error] invalid-assignment - Object of type `(_) -> Any` is not assignable to attribute `address_string` of type `def address_string(self) -> str`

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

xarray/tests/test_datatree_mapping.py

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

zope.interface (https://github.com/zopefoundation/zope.interface)

src/zope/interface/registry.py

[error] invalid-assignment - Object of type `(_) -> Unknown` is not assignable to attribute `changed` on type `Unknown | AdapterRegistry`
[error] invalid-assignment - Object of type `(_) -> None` is not assignable to attribute `changed` on type `Unknown | AdapterRegistry`

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

zerver/lib/upload/local.py

[error] invalid-argument-type - Argument is incorrect: Expected `() -> ReadableStream`, found `() -> BufferedReader[_BufferedReaderStream]`