Ecosystem report

Old: main (merge base) 9622285e New: 22633/merge 03d46e93
Lint Rule Removed Added Changed
Total 26 165 188
invalid-argument-type 16 88 87
invalid-assignment 0 6 68
invalid-await 0 41 0
unresolved-attribute 0 7 28
unsupported-operator 0 9 2
no-matching-overload 0 7 0
invalid-return-type 0 3 2
type-assertion-failure 5 0 0
unused-type-ignore-comment 5 0 0
not-subscriptable 0 4 0
index-out-of-bounds 0 0 1
Project Removed Added Changed
Total 26 165 188
scipy 10 8 48
cryptography 0 65 0
prefect flaky 0 42 5
dd-trace-py 0 1 23
jax 0 6 10
spack 7 0 7
cloud-init 0 3 10
sympy 0 4 8
bokeh 0 2 8
pwndbg 0 5 3
discord.py 0 0 7
pandas 0 1 6
poetry 0 0 7
meson 1 1 4
jinja 0 0 5
pandas-stubs 5 0 0
Expression 0 4 0
attrs 0 1 3
ignite 0 1 3
rotki 0 2 2

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: Any) -> str`
[error] invalid-argument-type - Argument to bound method `or_else_with` is incorrect: Expected `(Any, /) -> Result[Literal["good"], Any]`, found `(error: Any) -> Result[str, Any]`
[error] invalid-argument-type - Argument to bound method `or_else_with` is incorrect: Expected `(Any, /) -> Result[Literal["good"], Any]`, found `(error: Any) -> 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: Literal["original 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: Any, b: Any) -> _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: Any) -> list[LegendItem]`

src/bokeh/models/layouts.py

[error] invalid-argument-type - Argument to bound method `accepts` is incorrect: Expected `(Any, /) -> TabPanel`, found `(items: Any) -> list[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 `UnspecializedTypeVar | Handler`
[error] unresolved-attribute - Attribute `export_logs` is not defined on `Handler` in union `UnspecializedTypeVar | Handler`
[error] unresolved-attribute - Attribute `clean_logs` is not defined on `Handler` in union `UnspecializedTypeVar | Handler`

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`

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

homeassistant/components/http/__init__.py

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

homeassistant/components/zabbix/__init__.py

[error] invalid-argument-type - Argument is incorrect: Expected `HassJob[(datetime, /), Coroutine[Any, Any, None] | None] | ((datetime, /) -> Coroutine[Any, Any, None] | None)`, found `(_: datetime) -> bool`

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

tests/hazmat/primitives/test_dsa.py

[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`

tests/hazmat/primitives/test_ec.py

[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `PrivateFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `private_bytes` is incorrect: Expected `KeySerializationEncryption`, found `Literal["notanencalg"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `Encoding`, found `Literal["notencoding"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `public_bytes` is incorrect: Expected `PublicFormat`, found `Literal["invalidformat"]`
[error] invalid-argument-type - Argument to bound method `exchange` is incorrect: Expected `ECDH`, found `None`

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 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 | Unknown | DerivedVariable[str]]`

ddtrace/debugging/_redaction.py

[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 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 | Unknown | DerivedVariable[str]]`

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/exploration/debugger.py

[error] invalid-assignment - Object of type `(f) -> Unknown` is not assignable to attribute `capture_stack` of type `def capture_stack(top_frame: FrameType, max_height: int = 4096) -> list[dict[Unknown, Unknown]]`
[error] invalid-assignment - Object of type `(f) -> list[dict[str, int]]` is not assignable to attribute `capture_stack` of type `def capture_stack(top_frame: FrameType, max_height: int = 4096) -> list[dict[Unknown, Unknown]]`

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`

egglog-python (https://github.com/egraphs-good/egglog-python)

python/egglog/exp/array_api.py

[error] invalid-argument-type - Argument to bound method `if_` is incorrect: Expected `() -> NDArray`, found `() -> Value | Unknown | Int`

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: str | None) -> 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: Engine) -> 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: Engine, batch: Any, 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: Engine) -> dict[str, 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`

jax/_src/core.py

[error] invalid-assignment - Object of type `(*_) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
[error] invalid-assignment - Object of type `(*_) -> Literal[True]` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`

jax/_src/hijax.py

[error] unresolved-attribute - Unresolved attribute `out_nzs` on type `() -> Unknown`
[error] unresolved-attribute - Unresolved attribute `out_nzs` on type `() -> None`
[error] invalid-assignment - Object of type `(*args, *, _prim) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
[error] invalid-assignment - Object of type `(*args, *, _prim) -> Literal[True]` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
[error] invalid-assignment - Object of type `(*args, *, _prim, **_) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
[error] invalid-assignment - Object of type `(*args, *, _prim, **_) -> Literal[True]` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`

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/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/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/jet.py

[error] unsupported-operator - Operator `*` is not supported between objects of type `int` and `None | Unknown | Array`
[error] unsupported-operator - Operator `*` is not supported between objects of type `int` and `None | Unknown | Array`

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

examples/basic/translate.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["ngettext"]` and value of type `(s, p, n) -> Unknown` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["ngettext"]` and value of type `(s: int, p: bool, n: int) -> str` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`

tests/test_async.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["add_each"]` and value of type `(v, x) -> Unknown` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["add_each"]` and value of type `(v: int, x: bool) -> list[Unknown]` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`

tests/test_ext.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["gettext"]` and value of type `(x) -> Unknown` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["gettext"]` and value of type `(x: int) -> Unknown` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`

tests/test_lexnparse.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["foo"]` and value of type `(a, b, c, e, g) -> Unknown` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["foo"]` and value of type `(a: int, b: bool, c: int, e: int, g) -> Unknown` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`

tests/test_regression.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["get_int"]` and value of type `() -> Unknown` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["get_int"]` and value of type `() -> Literal[42]` on object of type `dict[str, <class 'range'> | <class 'dict'> | ((n: int = 5, html: bool = True, min: int = 20, max: int = 100) -> str) | ... omitted 3 union elements]`

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`

manticore/utils/event.py

[error] unresolved-attribute - Attribute `_published_events` is not defined on `type` in union `Unknown | type`
[error] unresolved-attribute - Attribute `_published_events` is not defined on `type` in union `UnspecializedTypeVar | type`

materialize (https://github.com/MaterializeInc/materialize)

misc/python/materialize/cli/scratch/__main__.py

[error] index-out-of-bounds - Index 4 is out of bounds for tuple `tuple[str, (p) -> Unknown, () -> Unknown, str]` with length 4
[error] index-out-of-bounds - Index 4 is out of bounds for tuple `tuple[str, (p) -> Unknown, () -> None, str]` with length 4

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/backend/ninjabackend.py

[error] invalid-assignment - Object of type `str | Unknown` is not assignable to `Literal["2015", "2018", "2021"]`
[error] invalid-assignment - Object of type `str` is not assignable to `Literal["2015", "2018", "2021"]`

mesonbuild/dependencies/cuda.py

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

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

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

mitmproxy/tools/console/commands.py

[error] invalid-argument-type - Argument to bound method `connect` is incorrect: Expected `(text) -> None`, found `bound method Self@__init__.sig_mod(txt) -> Unknown`
[error] invalid-argument-type - Argument to bound method `connect` is incorrect: Expected `(text: UnspecializedTypeVar) -> None`, found `bound method Self@__init__.sig_mod(txt) -> Unknown`

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`

mkosi (https://github.com/systemd/mkosi)

mkosi/run.py

[error] invalid-assignment - Object of type `(filename=None) -> Unknown` is not assignable to attribute `checkcache` of type `def checkcache(filename: str | None = None) -> None`
[error] invalid-assignment - Object of type `(filename=None) -> None` is not assignable to attribute `checkcache` of type `def checkcache(filename: str | None = None) -> 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"], (tuple[Edition, AbstractBookProvider[Unknown] | None] | Unknown, /) -> int | float]]`, found `list[tuple[str, (rec) -> Unknown]]`
[error] invalid-argument-type - Argument to function `multisort_best` is incorrect: Expected `list[tuple[Literal["min", "max"], (tuple[Edition, AbstractBookProvider[Unknown] | None] | Unknown, /) -> int | float]]`, found `list[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

[error] invalid-argument-type - Argument to function `_run_trial` is incorrect: Expected `(Trial, /) -> int | float | Sequence[int | float]`, found `(_: Trial) -> None`
[error] invalid-argument-type - Argument to function `_run_trial` is incorrect: Expected `(Trial, /) -> int | float | Sequence[int | float]`, found `(_: Trial) -> object`

tests/visualization_tests/test_utils.py

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

paasta (https://github.com/yelp/paasta)

paasta_tools/setup_prometheus_adapter_config.py

[error] invalid-return-type - Return type does not match returned value: expected `PrometheusAdapterConfig`, found `dict[str, list[PrometheusAdapterRule | Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `PrometheusAdapterConfig`, found `dict[str, list[PrometheusAdapterRule | UnspecializedTypeVar]]`

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

pandas/io/pytables.py

[error] invalid-assignment - Object of type `(x, **kwds) -> Unknown` is not assignable to `type[Index]`
[error] invalid-assignment - Object of type `(x, **kwds) -> PeriodIndex` is not assignable to `type[Index]`

pandas/tests/frame/methods/test_map.py

[error] invalid-argument-type - Argument to bound method `map` is incorrect: Expected `(Any, /) -> Any`, found `(x, y) -> Unknown`
[error] invalid-argument-type - Argument to bound method `map` is incorrect: Expected `(Any, /) -> Any`, found `(x: Any, y) -> Unknown`

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[((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[((x) -> str) | None]`

pandas/tests/io/formats/test_to_latex.py

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

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 `Unknown` does not match asserted type `Series[Any]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Series[Any]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Series[Any]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Series[BaseOffset]`

tests/test_pandas.py

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

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

src/poetry/repositories/installed_repository.py

[error] unresolved-attribute - Attribute `_path` is not defined on `Distribution` in union `Distribution | Unknown`
[error] unresolved-attribute - Attribute `_path` is not defined on `Distribution` in union `Distribution | UnspecializedTypeVar`
[error] unresolved-attribute - Attribute `get` is not defined on `PackageMetadata & ~AlwaysFalsy` in union `(PackageMetadata & ~AlwaysFalsy) | (Unknown & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `get` is not defined on `PackageMetadata & ~AlwaysFalsy` in union `(PackageMetadata & ~AlwaysFalsy) | (UnspecializedTypeVar & ~AlwaysFalsy)`

tests/puzzle/test_provider.py

[error] invalid-assignment - Object of type `(name, version) -> Unknown` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> dict[str, Any]` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> Unknown` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> dict[str, Any]` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> Unknown` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> dict[str, Any]` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`

tests/repositories/test_cached_repository.py

[error] invalid-assignment - Object of type `(name, version) -> Unknown` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> dict[str, Any]` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> Unknown` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`
[error] invalid-assignment - Object of type `(name, version) -> dict[str, Any]` is not assignable to attribute `_get_release_info` of type `def _get_release_info(self, name: NormalizedName, version: Unknown) -> dict[str, Any]`

porcupine (https://github.com/Akuli/porcupine)

porcupine/plugins/run/terminal.py

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

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/cli/flow_run.py

[error] unresolved-attribute - Attribute `state_details` is not defined on `None` in union `State[Any] | None | Unknown`
[error] unresolved-attribute - Attribute `state_details` is not defined on `None` in union `State[Any] | None | UnspecializedTypeVar`
[error] unresolved-attribute - Attribute `is_scheduled` is not defined on `None` in union `State[Any] | None | Unknown`
[error] unresolved-attribute - Attribute `is_scheduled` is not defined on `None` in union `State[Any] | None | UnspecializedTypeVar`
[error] unresolved-attribute - Attribute `timestamp` is not defined on `None` in union `State[Any] | None | Unknown`
[error] unresolved-attribute - Attribute `timestamp` is not defined on `None` in union `State[Any] | None | UnspecializedTypeVar`
[error] unresolved-attribute - Attribute `type` is not defined on `None` in union `State[Any] | None | Unknown`
[error] unresolved-attribute - Attribute `type` is not defined on `None` in union `State[Any] | None | UnspecializedTypeVar`
[error] invalid-argument-type - Argument to bound method `create_executor` is incorrect: Expected `(FlowRun, /) -> Flow[(...), Unknown]`, found `(fr: FlowRun) -> Coroutine[Any, Any, Flow[(...), Any]]`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

src/prefect/utilities/_engine.py

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

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/aglib/onegadget.py

[error] invalid-argument-type - Argument to function `generateColorFunction` is incorrect: Expected `dict[str, (str, /) -> str]`, found `dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `generateColorFunction` is incorrect: Expected `dict[str, (str, /) -> str]`, found `dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `generateColorFunction` is incorrect: Expected `dict[str, (str, /) -> str]`, found `dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `generateColorFunction` is incorrect: Expected `dict[str, (str, /) -> str]`, found `dict[str, (x) -> str]`

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: int, s) -> bytes`

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

src/py/_pyodide/_base.py

[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `list[() -> Unknown]` on object of type `dict[str, tuple[() -> str | None] | tuple[int, int | float | None, list[str], str]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `list[() -> Unknown | str]` on object of type `dict[str, tuple[() -> str | None] | tuple[int, int | float | None, list[str], str]]`

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)

src/_pytest/junitxml.py

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

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/evm/decoding/velodrome/decoder.py

[error] invalid-assignment - Invalid subscript assignment with key of type `ChecksumAddress` and value of type `tuple[(context) -> Unknown]` on object of type `dict[Unknown | ChecksumAddress, tuple[bound method Self@addresses_to_decoders._decode_voting_escrow_events(context: DecoderContext) -> EvmDecodingOutput] | tuple[bound method Self@addresses_to_decoders._decode_vote_events(context: DecoderContext) -> EvmDecodingOutput]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `ChecksumAddress` and value of type `tuple[(context) -> EvmDecodingOutput]` on object of type `dict[Unknown | ChecksumAddress, tuple[bound method Self@addresses_to_decoders._decode_voting_escrow_events(context: DecoderContext) -> EvmDecodingOutput] | tuple[bound method Self@addresses_to_decoders._decode_vote_events(context: DecoderContext) -> EvmDecodingOutput]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `ChecksumAddress` and value of type `tuple[(context) -> Unknown]` on object of type `dict[Unknown | ChecksumAddress, tuple[bound method Self@addresses_to_decoders._decode_voting_escrow_events(context: DecoderContext) -> EvmDecodingOutput] | tuple[bound method Self@addresses_to_decoders._decode_vote_events(context: DecoderContext) -> EvmDecodingOutput]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `ChecksumAddress` and value of type `tuple[(context) -> EvmDecodingOutput]` on object of type `dict[Unknown | ChecksumAddress, tuple[bound method Self@addresses_to_decoders._decode_voting_escrow_events(context: DecoderContext) -> EvmDecodingOutput] | tuple[bound method Self@addresses_to_decoders._decode_vote_events(context: DecoderContext) -> EvmDecodingOutput]]`

rotkehlchen/chain/solana/decoding/decoder.py

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

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

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

[error] invalid-argument-type - Argument to bound method `map` is incorrect: Expected `(GeneratedValue, /) -> Unknown`, found `def _quote_all_safe(value: dict[str, Any]) -> dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `filter` is incorrect: Expected `(GeneratedValue, /) -> Any`, found `def is_valid_query(query: dict[str, object]) -> bool`
[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]`
[error] invalid-argument-type - Argument to bound method `filter` is incorrect: Expected `(GeneratedValue, /) -> Any`, found `def is_valid_header(headers: dict[str, object]) -> bool`

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

src/scikit_build_core/setuptools/build_cmake.py

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

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`

scipy/stats/tests/test_sampling.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[tuple[(x) -> Unknown, <class 'UNURANError'>, str]]` and `list[tuple[(x) -> Unknown, <class 'UNURANError'>, str] | tuple[(x) -> Unknown, <class 'TypeError'>, str] | tuple[(x) -> Unknown, <class 'NameError'>, str] | tuple[() -> Unknown, <class 'TypeError'>, str]]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[tuple[(x) -> int, <class 'UNURANError'>, str]]` and `list[tuple[(x) -> Unknown, <class 'UNURANError'>, str] | tuple[(x) -> list[Unknown], <class 'TypeError'>, str] | tuple[(x) -> Unknown, <class 'NameError'>, str] | tuple[(x) -> int | float, <class 'UNURANError'>, str] | tuple[() -> int | float, <class 'TypeError'>, str]]`

subprojects/cobyqa/cobyqa/main.py

[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (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 `int | dict[str, (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 `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (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 `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (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 `int | dict[str, (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 `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (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 `int | dict[str, (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 `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (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 `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (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 `int | dict[str, (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 `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `((ndarray[tuple[Any, ...], dtype[Any]], /) -> str) | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `int | dict[str, (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 `int | dict[str, (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 `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `SupportsIndex | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `_FormatDict | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `bool | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `int | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> str]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (x) -> Unknown]`
[error] invalid-argument-type - Argument to function `printoptions` is incorrect: Expected `str | None`, found `int | dict[str, (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/cmd/find.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["start_date", "end_date"]` and value of type `datetime` on object of type `dict[str, InstallRecordStatus | None | ((x) -> Unknown) | bool]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["start_date", "end_date"]` and value of type `datetime` on object of type `dict[str, InstallRecordStatus | None | ((x) -> bool) | bool]`

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/util/s3.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[tuple[str, str], Any].__getitem__(key: tuple[str, str], /) -> Any` cannot be called with key of type `tuple[None | str | Unknown, Unknown | Literal["fetch"]]` on object of type `dict[tuple[str, str], Any]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[tuple[str, str], Any].__getitem__(key: tuple[str, str], /) -> Any` cannot be called with key of type `tuple[None | str | UnspecializedTypeVar, Unknown | Literal["fetch"]]` on object of type `dict[tuple[str, str], Any]`
[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[None | str | Unknown, Unknown | Literal["fetch"]]` and value of type `Unknown` on object of type `dict[tuple[str, str], Any]`
[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[None | str | UnspecializedTypeVar, Unknown | Literal["fetch"]]` and value of type `Unknown` on object of type `dict[tuple[str, str], Any]`

lib/spack/spack/verify_libraries.py

[error] invalid-argument-type - Argument to function `candidate_matches` is incorrect: Expected `bytes`, found `bytes | Unknown | str | PathLike[str] | PathLike[bytes]`
[error] invalid-argument-type - Argument to function `candidate_matches` is incorrect: Expected `bytes`, found `bytes | UnspecializedTypeVar | str | PathLike[str] | PathLike[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-assignment - Invalid subscript assignment with key of type `bytes | UnspecializedTypeVar | str | PathLike[str] | PathLike[bytes]` and value of type `bytes | UnspecializedTypeVar | 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[bytes | Unknown | str | PathLike[str] | PathLike[bytes]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[bytes]`, found `list[bytes | UnspecializedTypeVar | 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/diffgeom/diffgeom.py

[error] unsupported-operator - Operator `<=` is not supported between objects of type `int | list[Unknown]` and `int | list[Unknown] | Unknown`
[error] unsupported-operator - Operator `<=` is not supported between objects of type `int | list[Unknown]` and `int | list[Unknown] | UnspecializedTypeVar`

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: list[tuple[int, str]], y: dict[str, Any]) -> 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/physics/mechanics/tests/test_kane5.py

[error] unsupported-operator - Operator `-` is not supported between two objects of type `MutableDenseMatrix`
[error] unsupported-operator - Operator `-` is not supported between two objects of type `MutableDenseMatrix`

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/solvers/ode/ode.py

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

sympy/strategies/branch/traverse.py

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

sympy/strategies/traverse.py

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

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

[error] invalid-argument-type - Argument to function `coroutine_or_error` is incorrect: Expected `(...) -> Awaitable[Unknown]`, found `() -> Deferred`

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`

test/test_poolmanager.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["http"]` and value of type `(x) -> Unknown` on object of type `dict[str, partial[PoolKey]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["http"]` and value of type `(x) -> tuple[Unknown, ...]` on object of type `dict[str, partial[PoolKey]]`

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[Unknown | None, ...], tuple[Unknown | None, ...]]`

torchvision/transforms/v2/_auto_augment.py

[error] invalid-argument-type - Argument to bound method `_get_random_item` is incorrect: Expected `dict[str, tuple[(...) -> Unknown, bool]]`, found `Unknown | dict[str, tuple[(num_bins, height, width) -> Unknown, bool]]`
[error] invalid-argument-type - Argument to bound method `_get_random_item` is incorrect: Expected `dict[str, tuple[(...) -> Unknown, bool]]`, found `Unknown | dict[str, tuple[(num_bins, height, width) -> None, bool] | tuple[(num_bins, height, width) -> Unknown, bool]]`
[error] invalid-argument-type - Argument to bound method `_get_random_item` is incorrect: Expected `dict[str, tuple[(...) -> Unknown, bool]]`, found `Unknown | dict[str, tuple[(num_bins, height, width) -> Unknown, bool]]`
[error] invalid-argument-type - Argument to bound method `_get_random_item` is incorrect: Expected `dict[str, tuple[(...) -> Unknown, bool]]`, found `Unknown | dict[str, tuple[(num_bins, height, width) -> None, bool] | tuple[(num_bins, height, width) -> Unknown, bool]]`
[error] invalid-argument-type - Argument to bound method `_get_random_item` is incorrect: Expected `dict[str, tuple[(...) -> Unknown, bool]]`, found `dict[str, tuple[(int, int, int, /) -> Unknown | None, bool]] | Unknown | dict[str, tuple[(num_bins, height, width) -> Unknown, bool]]`
[error] invalid-argument-type - Argument to bound method `_get_random_item` is incorrect: Expected `dict[str, tuple[(...) -> Unknown, bool]]`, found `dict[str, tuple[(int, int, int, /) -> Unknown | None, bool]] | Unknown | dict[str, tuple[(num_bins, height, width) -> Unknown, bool] | tuple[(num_bins, height, width) -> None, bool]]`

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

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

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

zerver/lib/users.py

[error] unresolved-attribute - Attribute `realm_id` is not defined on `UserProfile` in union `UserProfile | Unknown`
[error] unresolved-attribute - Attribute `realm_id` is not defined on `UserProfile` in union `UserProfile | UnspecializedTypeVar`

zerver/views/streams.py

[error] invalid-argument-type - Argument to function `compose_views` is incorrect: Expected `list[() -> HttpResponse]`, found `list[() -> Unknown]`
[error] invalid-argument-type - Argument to function `compose_views` is incorrect: Expected `list[() -> HttpResponse]`, found `list[() -> HttpResponse]`