Ecosystem report

Old: main (merge base) 6b742aa8 New: 23761/merge 137d8f26
Lint Rule Removed Added Changed
Total 21 636 177
invalid-argument-type 2 265 44
unresolved-attribute 0 121 75
invalid-assignment 2 67 22
invalid-return-type 0 45 11
unsupported-operator 0 37 11
not-subscriptable 0 46 0
no-matching-overload 1 38 0
not-iterable 0 10 13
unused-type-ignore-comment 16 0 0
call-top-callable 0 3 0
call-non-callable 0 2 0
invalid-key 0 1 0
invalid-raise 0 1 0
invalid-yield 0 0 1
Project Removed Added Changed
Total 21 636 177
sympy 3 100 11
dd-trace-py 0 57 42
cloud-init 0 69 12
pycryptodome 2 42 19
apprise 0 41 19
core 0 34 7
zulip 0 27 13
pandas 0 32 3
jax 2 23 0
prefect 0 18 2
scikit-learn 0 3 16
discord.py 0 18 0
comtypes 0 14 0
pywin32 0 12 2
rotki 4 6 1
scipy 0 7 4
ibis 0 9 1
meson 0 5 3
paasta 1 6 1
pip 0 8 0

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

aioredis/connection.py

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

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

src/aiortc/rtcpeerconnection.py

[error] invalid-return-type - Return type does not match returned value: expected `list[RTCRtpCodecParameters]`, found `list[RTCRtpCodecParameters | RTCRtpCodecCapability]`

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

alerta/webhooks/prometheus.py

[error] unresolved-attribute - Attribute `upper` is not defined on `None` in union `Unknown | None | Literal["unknown"]`
[error] unresolved-attribute - Attribute `upper` is not defined on `None` in union `Any | str | None`

altair (https://github.com/vega/altair)

altair/utils/_transformed_data.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[tuple[str, tuple[int, ...]], tuple[str, tuple[int, ...]]]`, found `dict[tuple[Any, tuple[*tuple[int, ...], int]] | tuple[str, tuple[int, ...]] | str, tuple[Any, tuple[int, ...]] | tuple[str, tuple[int, ...]] | tuple[int, ...]]`

altair/utils/core.py

[error] unresolved-attribute - Attribute `groupdict` is not defined on `None` in union `Match[str] | None`

apprise (https://github.com/caronc/apprise)

apprise/cli.py

[error] unresolved-attribute - Attribute `append` is not defined on `str`, `int` in union `list[NotifyBase] | str | int | list[Unknown] | Unknown`
[error] not-iterable - Object of type `list[NotifyBase] | str | int | list[Unknown] | Unknown` may not be iterable
[error] unresolved-attribute - Attribute `url` is not defined on `str` in union `NotifyBase | str | Unknown`
[error] unresolved-attribute - Attribute `tags` is not defined on `str` in union `NotifyBase | str | Unknown`
[error] unresolved-attribute - Attribute `tags` is not defined on `str` in union `NotifyBase | str | Unknown`

apprise/config/base.py

[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["tag"]` on object of type `str`
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["tag"]` on object of type `str`
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["schema"]` on object of type `str`
[error] invalid-argument-type - Argument expression after ** must be a mapping type: Found `Unknown | int | str`
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["asset"]` on object of type `str`
[error] not-iterable - Object of type `Unknown | None` may not be iterable
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Argument expression after ** must be a mapping type: Found `Unknown | int`
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-return-type - Return type does not match returned value: expected `list[NotifyBase]`, found `None | list[Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `list[NotifyBase]`, found `None | list[NotifyBase | Unknown]`
[error] unresolved-attribute - Attribute `pop` is not defined on `None` in union `None | list[Unknown]`
[error] unresolved-attribute - Attribute `pop` is not defined on `None` in union `None | list[NotifyBase | Unknown]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `None | list[Unknown]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `None | list[NotifyBase | Unknown]`

apprise/persistent_store.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `dict[str, str | bool]`, found `dict[str, int | str | bytes | PathLike[str] | PathLike[bytes]]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `str` and `None | dict[Unknown, Unknown]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `str` and `None | dict[Unknown, Unknown] | dict[Any, CacheObject]`
[error] unresolved-attribute - Attribute `get` is not defined on `None` in union `None | dict[Unknown, Unknown]`
[error] unresolved-attribute - Attribute `get` is not defined on `None` in union `None | dict[Unknown, Unknown] | dict[Any, CacheObject]`
[error] unresolved-attribute - Attribute `keys` is not defined on `None` in union `None | dict[Unknown, Unknown]`
[error] unresolved-attribute - Attribute `keys` is not defined on `None` in union `None | dict[Unknown, Unknown] | dict[Any, CacheObject]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `str` and `None | dict[Unknown, Unknown]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `str` and `None | dict[Unknown, Unknown] | dict[Any, CacheObject]`
[error] invalid-return-type - Return type does not match returned value: expected `bool`, found `Literal[False] | Unknown | CacheObject`
[error] unsupported-operator - Operator `not in` is not supported between objects of type `str` and `None | dict[Unknown, Unknown]`
[error] unsupported-operator - Operator `not in` is not supported between objects of type `str` and `None | dict[Unknown, Unknown] | dict[Any, CacheObject]`
[error] unresolved-attribute - Attribute `keys` is not defined on `None` in union `None | dict[Unknown, Unknown]`
[error] unresolved-attribute - Attribute `keys` is not defined on `None` in union `None | dict[Unknown, Unknown] | dict[Any, CacheObject]`
[error] invalid-return-type - Return type does not match returned value: expected `set[str]`, found `dict_keys[Unknown, Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `set[str]`, found `dict_keys[Unknown, Unknown] | dict_keys[Any, CacheObject]`

apprise/plugins/bulksms.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[list[Unknown]]` and `list[dict[str, str | Unknown]]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[list[Unknown]]` and `list[dict[str, str | Any]]`

apprise/plugins/email/base.py

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

apprise/plugins/mailgun.py

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

apprise/plugins/mastodon.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | str | int | ... omitted 4 union elements`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown]` and `set[Unknown] | list[Unknown] | set[Divergent]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str | Any]` and `set[Unknown] | list[Unknown] | set[Divergent]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown]` and `set[Unknown] | list[Unknown] | set[Divergent]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str | Any]` and `set[Unknown] | list[Unknown] | set[Divergent]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown]` and `set[Unknown] | list[Unknown] | set[Divergent]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str | Any]` and `set[Unknown] | list[Unknown] | set[Divergent]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown]` and `set[Unknown] | list[Unknown] | set[Divergent]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str | Any]` and `set[Unknown] | list[Unknown] | set[Divergent]`

apprise/plugins/mattermost.py

[error] invalid-argument-type - Argument to bound method `NotifyMattermost._channel_lookup` is incorrect: Expected `str`, found `Unknown | None`
[error] invalid-argument-type - Argument to bound method `NotifyMattermost._channel_lookup` is incorrect: Expected `str`, found `str | Any | None`

apprise/plugins/postmark.py

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

apprise/plugins/resend.py

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

apprise/plugins/ses.py

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

apprise/plugins/smtp2go.py

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

apprise/plugins/twitter.py

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

tests/test_plugin_twitter.py

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

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

src/attr/_make.py

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

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

beartype/_util/hint/pep/utilpepget.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[TypeVar | HintPep646692UnpackedType, ...]`, found `(tuple[TypeVar | ParamSpec | HintPep646TypeVarTupleType, ...] & ~AlwaysTruthy) | tuple[Unknown, ...]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[TypeVar | HintPep646692UnpackedType, ...]`, found `(tuple[TypeVar | ParamSpec | HintPep646TypeVarTupleType, ...] & ~AlwaysTruthy) | tuple[TypeVar | ParamSpec | Unknown, ...]`

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

src/blib2to3/pytree.py

[error] invalid-assignment - Object of type `list[object]` is not assignable to attribute `children` of type `list[Node | Leaf]`

cki-lib (https://gitlab.com/cki-project/cki-lib)

cki_lib/owners.py

[error] invalid-return-type - Return type does not match returned value: expected `None`, found `str`

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

cloudinit/config/cc_apt_configure.py

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

cloudinit/config/modules.py

[error] invalid-argument-type - Argument to bound method `Modules._run_modules` is incorrect: Expected `list[ModuleDetails]`, found `list[list[ModuleType | str | list[str]] | ModuleDetails]`

cloudinit/net/cmdline.py

[error] unresolved-attribute - Attribute `get` is not defined on `list[Unknown]` in union `list[Unknown] | Unknown`
[error] unresolved-attribute - Attribute `get` is not defined on `list[Unknown]` in union `list[Unknown] | Unknown`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `Literal["subnets"]` on object of type `list[Unknown]`

cloudinit/config/cc_mounts.py

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

cloudinit/distros/parsers/hosts.py

[error] not-iterable - Object of type `None | Unknown | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Divergent]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Divergent]` may not be iterable
[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Divergent]`
[error] not-iterable - Object of type `None | Unknown | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Divergent]` may not be iterable

cloudinit/distros/parsers/resolv_conf.py

[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Divergent]`
[error] not-iterable - Object of type `None | Unknown | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Divergent]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Divergent]` may not be iterable
[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Divergent]`
[error] not-iterable - Object of type `None | Unknown | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[Divergent]` may not be iterable
[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `append` is not defined on `None` in union `None | Unknown | list[Divergent]`

cloudinit/net/eni.py

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

cloudinit/net/network_state.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["routes"]` and value of type `list[Unknown]` on object of type `dict[str, str]`

cloudinit/netinfo.py

[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["ip"]` on object of type `str`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] unresolved-attribute - Attribute `append` is not defined on `str`, `bool` in union `list[Unknown] | str | bool`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["ip"]` on object of type `str`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method

cloudinit/sources/DataSourceAzure.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `bytes`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `bytes`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["ssh_pwauth"]` and value of type `bool` on object of type `dict[str, bytes]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["ssh_pwauth"]` and value of type `bool` on object of type `dict[str, dict[str, dict[str, str]]]`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `bytes`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `bytes`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `bytes`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["public-keys"]` and value of type `list[str] & ~AlwaysFalsy` on object of type `dict[str, bytes]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["public-keys"]` and value of type `list[str] & ~AlwaysFalsy` on object of type `dict[str, dict[str, dict[str, str]]]`

cloudinit/sources/DataSourceGCE.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["meta-data"]` and value of type `dict[Unknown, Unknown]` on object of type `dict[str, None | bool]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["meta-data"]` and value of type `dict[str, Divergent]` on object of type `dict[str, None | bool]`

cloudinit/sources/DataSourceNoCloud.py

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

cloudinit/sources/DataSourceOVF.py

[error] no-matching-overload - No overload of bound method `str.join` matches arguments

cloudinit/sources/DataSourceScaleway.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `bool` and `list[dict[str, bool | str]]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `tuple[str]` and `list[dict[str, bool | str]]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `bool` and `tuple[str]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[dict[str, Unknown | str]]` and `tuple[str]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[dict[str, bool | str]]` and `tuple[str]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `bool` and `list[dict[str, Unknown | str]]`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `tuple[str]` and `list[dict[str, Unknown | str]]`

cloudinit/url_helper.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `bool`

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

colour/continuous/multi_signals.py

[error] invalid-argument-type - Argument to `Signal.__init__` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 7 union elements`, found `Any | type[floating[_16Bit] | floating[_32Bit] | float64]`

colour/io/tm2714.py

[error] invalid-argument-type - Argument to function `as_float_array` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `list[str | None]`

colour/notation/munsell/centore2014.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[tuple[tuple[int | float, int | float], int | float], ...]`, found `tuple[tuple[tuple[Unknown, Unknown, Unknown], int | float], ...]`

colour/utilities/verbose.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `str | <class 'str'> | bool | Unknown`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `str | <class 'str'> | bool | Unknown`
[error] no-matching-overload - No overload of bound method `str.join` matches arguments

comtypes (https://github.com/enthought/comtypes)

comtypes/tools/codegenerator/comments.py

[error] unsupported-operator - Operator `|=` is not supported between objects of type `None` and `Literal[1]`
[error] unsupported-operator - Operator `|=` is not supported between objects of type `list[str]` and `Literal[1]`
[error] unsupported-operator - Operator `|=` is not supported between objects of type `str` and `Literal[1]`
[error] unsupported-operator - Operator `|=` is not supported between objects of type `None` and `Literal[2]`
[error] unsupported-operator - Operator `|=` is not supported between objects of type `list[str]` and `Literal[2]`
[error] unsupported-operator - Operator `|=` is not supported between objects of type `str` and `Literal[2]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `int | list[str] | str | None`
[error] no-matching-overload - No overload of bound method `str.join` matches arguments
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `int | list[str] | str | None`
[error] no-matching-overload - No overload of bound method `str.join` matches arguments
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `int | list[str] | str | None`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `int | list[str] | str | None`
[error] no-matching-overload - No overload of bound method `str.join` matches arguments
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `int | list[str] | str | None`

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

homeassistant/components/airvisual/__init__.py

[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `MappingProxyType[str, tuple[DiscoveryKey, ...]] | UndefinedType`, found `Any | dict[str, bool] | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `Any | dict[str, bool] | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `Any | dict[str, bool] | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `int | UndefinedType`, found `Any | dict[str, bool] | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `int | UndefinedType`, found `Any | dict[str, bool] | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `str | None | UndefinedType`, found `Any | dict[str, bool] | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `str | UndefinedType`, found `Any | dict[str, bool] | dict[str, Any]`

homeassistant/components/asuswrt/bridge.py

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

homeassistant/components/cast/media_player.py

[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[Unknown]`, found `Sequence[BrowseMedia] | None`
[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[BrowseMedia]`, found `Sequence[BrowseMedia] | None`

homeassistant/components/cloud/client.py

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

homeassistant/components/cppm_tracker/device_tracker.py

[error] not-iterable - Object of type `None | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | list[dict[str, Unknown]]` may not be iterable
[error] not-iterable - Object of type `None | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | list[dict[str, Unknown]]` may not be iterable

homeassistant/components/diagnostics/__init__.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["issues"]` and value of type `list[dict[str, Any]]` on object of type `dict[str, Mapping[str, Any] | dict[Unknown, Unknown] | Manifest | Mapping[str | None, dict[SetupPhases, int | float]]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["issues"]` and value of type `list[dict[str, Any]]` on object of type `dict[str, Mapping[str, Any] | dict[str, dict[str, str | None | Unknown | list[str]]] | Manifest | Mapping[str | None, dict[SetupPhases, int | float]]]`

homeassistant/components/doods/image_processing.py

[error] invalid-argument-type - Argument to function `draw_box` is incorrect: Expected `tuple[int | float, int | float, int | float, int | float]`, found `list[int] | list[Any]`

homeassistant/components/gtfs/sensor.py

[error] unsupported-operator - Operator `>` is not supported between two objects of type `Unknown | str | None | bool`
[error] unsupported-operator - Operator `<` is not supported between two objects of type `Unknown | str | None | bool`
[error] unsupported-operator - Operator `<` is not supported between two objects of type `Unknown | str | None | bool`

homeassistant/components/jewish_calendar/calendar.py

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

homeassistant/components/notify/legacy.py

[error] invalid-argument-type - Argument to bound method `BaseNotificationService.async_send_message` is incorrect: Expected `str`, found `Any | list[Any] | None | str`

homeassistant/components/simplisafe/__init__.py

[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `MappingProxyType[str, tuple[DiscoveryKey, ...]] | UndefinedType`, found `Any | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `Any | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `Any | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `int | UndefinedType`, found `Any | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `int | UndefinedType`, found `Any | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `str | None | UndefinedType`, found `Any | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `str | UndefinedType`, found `Any | dict[str, Any]`

homeassistant/components/uk_transport/sensor.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["atcocode", "locality", "stop_name", "request_time"]` and value of type `Unknown | None` on object of type `dict[str, list[Unknown]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["atcocode", "locality", "stop_name", "request_time"]` and value of type `Unknown | None` on object of type `dict[str, list[Unknown] | list[dict[str, Unknown]]]`

homeassistant/components/vizio/media_player.py

[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `MappingProxyType[str, tuple[DiscoveryKey, ...]] | UndefinedType`, found `dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `bool | UndefinedType`, found `dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `int | UndefinedType`, found `dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `int | UndefinedType`, found `dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `str | None | UndefinedType`, found `dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `ConfigEntries.async_update_entry` is incorrect: Expected `str | UndefinedType`, found `dict[str, Any]`

homeassistant/components/zestimate/sensor.py

[error] invalid-argument-type - Argument to constructor `float.__new__` is incorrect: Expected `str | Buffer | SupportsFloat | SupportsIndex`, found `None | Unknown`
[error] invalid-argument-type - Argument to constructor `float.__new__` is incorrect: Expected `str | Buffer | SupportsFloat | SupportsIndex`, found `None | Unknown | int`

homeassistant/runner.py

[error] invalid-argument-type - Argument to bound method `Logger.error` is incorrect: Expected `Mapping[str, object] | None`, found `tuple[type[@Todo], Any, Any]`
[error] invalid-argument-type - Argument to bound method `Logger.error` is incorrect: Expected `bool`, found `tuple[type[@Todo], Any, Any]`
[error] invalid-argument-type - Argument to bound method `Logger.error` is incorrect: Expected `int`, found `tuple[type[@Todo], Any, Any]`
[error] invalid-argument-type - Argument to bound method `Logger.error` is incorrect: Expected `Mapping[str, object] | None`, found `tuple[type[@Todo], Any, Any]`
[error] invalid-argument-type - Argument to bound method `Logger.error` is incorrect: Expected `bool`, found `tuple[type[@Todo], Any, Any]`
[error] invalid-argument-type - Argument to bound method `Logger.error` is incorrect: Expected `int`, found `tuple[type[@Todo], Any, Any]`

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

scripts/validate_wheel.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["="]` and `(str & ~AlwaysFalsy) | (int & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `split` is not defined on `int & ~AlwaysFalsy` in union `(str & ~AlwaysFalsy) | (int & ~AlwaysFalsy)`

ddtrace/contrib/internal/botocore/patch.py

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

ddtrace/contrib/internal/celery/utils.py

[error] invalid-argument-type - Argument to function `set_flattened_tags` is incorrect: Expected `Iterator[tuple[str, Any]]`, found `list[Unknown]`
[error] invalid-argument-type - Argument to function `set_flattened_tags` is incorrect: Expected `Iterator[tuple[str, Any]]`, found `list[tuple[str, Any | None]]`

ddtrace/contrib/internal/grpc/client_interceptor.py

[error] invalid-argument-type - Argument to function `is_otlp_export` is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown]`
[error] invalid-argument-type - Argument to function `is_otlp_export` is incorrect: Expected `tuple[Unknown, ...]`, found `list[tuple[Unknown, Unknown]] | list[Unknown]`

ddtrace/contrib/internal/subprocess/patch.py

[error] not-iterable - Object of type `list[Unknown] | None | list[str] | Unknown` may not be iterable
[error] not-iterable - Object of type `list[Unknown] | None | list[str] | Unknown | list[_T@deque | str]` may not be iterable
[error] invalid-argument-type - Argument to `deque.__init__` is incorrect: Expected `Iterable[Unknown | str]`, found `list[Unknown] | None | list[str] | Unknown`
[error] invalid-argument-type - Argument to `deque.__init__` is incorrect: Expected `Iterable[Unknown | str]`, found `list[Unknown] | None | list[str] | Unknown | list[Unknown | str]`

ddtrace/internal/remoteconfig/client.py

[error] invalid-assignment - Object of type `list[dict[str, str | int | None | list[dict[str, str | None]]]]` is not assignable to attribute `cached_target_files` of type `list[dict[str, ConfigMetadata]]`

ddtrace/llmobs/_integrations/utils.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, str].__getitem__(key: str, /) -> str` cannot be called with key of type `Sized` on object of type `dict[str, str]`

ddtrace/vendor/ply/lex.py

[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `(Unknown & <Protocol with members '__call__'>) | None` on object of type `dict[Unknown, Unknown & <Protocol with members '__call__'>]`
[error] not-iterable - Object of type `None | Unknown` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[tuple[Unknown, Unknown]]` may not be iterable

ddtrace/vendor/ply/yacc.py

[error] invalid-argument-type - Argument to function `getsourcefile` is incorrect: Expected `ModuleType | type[Any] | ((...) -> Any) | ... omitted 3 union elements`, found `ModuleType | None`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol` in union `(Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol` in union `(Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexer` on type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lexer'>)`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexer` on type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | Divergent`
[error] unresolved-attribute - Attribute `lineno` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `lineno` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy) | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy) | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] invalid-assignment - Object of type `Divergent` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] invalid-assignment - Object of type `Divergent` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol` in union `(Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol` in union `(Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexer` on type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lexer'>)`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexer` on type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | Divergent`
[error] unresolved-attribute - Attribute `lineno` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `lineno` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy) | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy) | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] invalid-assignment - Object of type `Divergent` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] invalid-assignment - Object of type `Divergent` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol` in union `(Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol` in union `(Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexer` on type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lexer'>)`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `lexer` on type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lexer'>) | Divergent`
[error] unresolved-attribute - Attribute `lineno` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `lineno` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy) | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `type` is not defined on `YaccSymbol & ~AlwaysFalsy` in union `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy) | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] unresolved-attribute - Attribute `type` is not defined on `None`, `YaccSymbol` in union `None | (Unknown & ~AlwaysFalsy) | YaccSymbol | Divergent`
[error] invalid-assignment - Object of type `list[Unknown]` is not assignable to attribute `lr_items` on type `None | Unknown`
[error] invalid-assignment - Object of type `list[LRItem]` is not assignable to attribute `lr_items` on type `None | Unknown`
[error] not-iterable - Object of type `None | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `None | list[MiniProduction]` may not be iterable
[error] not-iterable - Object of type `Unknown | None | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `Unknown | None | list[MiniProduction]` may not be iterable
[error] not-iterable - Object of type `Unknown | None | list[Unknown]` may not be iterable
[error] not-iterable - Object of type `Unknown | None | list[MiniProduction]` may not be iterable

ddtrace/vendor/psutil/setup.py

[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`
[error] invalid-argument-type - Argument to `Extension.__init__` is incorrect: Expected `list[tuple[str, str | None]] | None`, found `list[tuple[str, int] | tuple[str, str] | tuple[str, Unknown] | tuple[str, None]]`

scripts/diff.py

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

tests/appsec/appsec/test_remoteconfiguration.py

[error] unresolved-attribute - Object of type `object` has no attribute `metadata`
[error] unresolved-attribute - Object of type `object` has no attribute `metadata`

tests/appsec/iast/aspects/test_template_string_aspect.py

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

tests/integration/test_sampling.py

[error] unsupported-operator - Operator `>` is not supported between objects of type `int | float | None` and `Literal[0]`

tests/internal/test_tracer_flare.py

[error] unresolved-attribute - Attribute `startswith` is not defined on `int`, `float`, `None` in union `str | int | float | None`
[error] unresolved-attribute - Attribute `startswith` is not defined on `int`, `float`, `None` in union `str | int | float | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["ZeroDivisionError"]` and `str | int | float | None`

tests/internal/test_wrapping.py

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

tests/llmobs/test_experiments.py

[error] invalid-argument-type - Argument to `Dataset.__init__` is incorrect: Expected `list[DatasetRecord]`, found `list[dict[str, Unknown | None] | DatasetRecord]`

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

tests/tracer/test_propagation.py

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

tests/utils.py

[error] invalid-argument-type - Argument to constructor `SpanData.__new__` is incorrect: Expected `str | None`, found `list[Unknown]`
[error] invalid-argument-type - Argument to constructor `SpanData.__new__` is incorrect: Expected `str | None`, found `list[TestSpanNode]`

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

discord/app_commands/installs.py

[error] invalid-return-type - Return type does not match returned value: expected `list[Literal[0, 1]]`, found `list[int]`
[error] invalid-return-type - Return type does not match returned value: expected `list[Literal[0, 1, 2]]`, found `list[int]`

discord/audit_logs.py

[error] invalid-return-type - Return type does not match returned value: expected `list[tuple[Object, PermissionOverwrite]]`, found `list[tuple[Role | Member | User | Object, PermissionOverwrite]]`

discord/abc.py

[error] invalid-argument-type - Argument to bound method `HTTPClient.bulk_channel_update` is incorrect: Expected `list[ChannelPositionUpdate]`, found `list[dict[str, Any]]`

discord/ext/commands/core.py

[error] invalid-return-type - Return type does not match returned value: expected `list[Group[Any, (...), Any]]`, found `list[GroupMixin[Any]]`
[error] invalid-argument-type - Argument is incorrect: Expected `ContextT@check_any`, found `Context[BotT@predicate]`
[error] invalid-argument-type - Argument to `CheckAnyFailure.__init__` is incorrect: Expected `list[(Context[Unknown], /) -> bool]`, found `list[(ContextT@check_any, /) -> Coroutine[Any, Any, bool]]`

discord/ext/commands/help.py

[error] no-matching-overload - No overload of bound method `list.sort` matches arguments

discord/http.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["replied_user"]` and value of type `bool` on object of type `list[Embed]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["replied_user"]` and value of type `bool` on object of type `list[Unknown]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["replied_user"]` and value of type `bool` on object of type `list[dict[str, Any] | Attachment]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["replied_user"]` and value of type `bool` on object of type `list[dict[str, Any]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["replied_user"]` and value of type `bool` on object of type `list[str | int]`
[error] invalid-key - Unknown key "replied_user" for TypedDict `MessageReference` (subscripted object has type `list[Embed] | list[Unknown] | str | ... omitted 8 union elements`)
[error] invalid-argument-type - Argument to bound method `ClientSession.get` is incorrect: Expected `bool`, found `str | BasicAuth`

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

dragonchain/lib/queue.py

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

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

dulwich/server.py

[error] invalid-argument-type - Argument to bound method `ReceivePackHandler._on_post_receive` is incorrect: Expected `dict[bytes, tuple[bytes, bytes]]`, found `list[Unknown]`
[error] invalid-argument-type - Argument to bound method `ReceivePackHandler._on_post_receive` is incorrect: Expected `dict[bytes, tuple[bytes, bytes]]`, found `list[tuple[ObjectID, ObjectID, Ref]]`

dulwich/walk.py

[error] invalid-argument-type - Argument to function `tree_changes` is incorrect: Expected `ObjectID | None`, found `None | Unknown | ShaFile | list[Unknown]`
[error] invalid-argument-type - Argument to function `tree_changes` is incorrect: Expected `ObjectID | None`, found `None | Unknown | ShaFile | list[Unknown] | list[ObjectID]`

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

python/egglog/egraph.py

[error] invalid-return-type - Return type does not match returned value: expected `[**P'return, BASE_EXPR_NONE'return]((**P'return) -> BASE_EXPR_NONE'return, /) -> ((**P'return) -> BASE_EXPR_NONE'return)`, found `(fn: (**P@method) -> BASE_EXPR_NONE@method) -> _WrappedMethod`

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

hydpy/core/timetools.py

[error] invalid-argument-type - Argument to constructor `datetime.__new__` is incorrect: Expected `tzinfo | None`, found `Any | int`

hydpy/models/conv/conv_control.py

[error] invalid-assignment - Object of type `tuple[Device, ...]` is not assignable to attribute `nodes` of type `tuple[Node, ...]`
[error] invalid-assignment - Object of type `tuple[Device, ...]` is not assignable to attribute `nodes` of type `tuple[Node, ...]`

hydpy/core/modeltools.py

[error] no-matching-overload - No overload of bound method `MutableMapping.update` matches arguments
[error] invalid-argument-type - Argument to bound method `set.add` is incorrect: Expected `Model`, found `Any | None`
[error] invalid-argument-type - Argument to function `_find_submodels` is incorrect: Expected `Model`, found `Any | None`

hydpy/models/kinw/kinw_model.py

[error] invalid-argument-type - Argument to bound method `BaseModelProfile.calculate_qgvector` is incorrect: Expected `Iterable[int | float]`, found `list[int | float | Unknown | Parameter]`

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

src/hydra_zen/structured_configs/_implementations.py

[error] no-matching-overload - No overload of bound method `BuildsFn.builds` matches arguments

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

ibis/backends/clickhouse/tests/conftest.py

[error] unresolved-attribute - Object of type `Mapping[_KT@Mapping, _VT_co@Mapping]` has no attribute `setdefault`
[error] unresolved-attribute - Object of type `Mapping[_KT@Mapping, _VT_co@Mapping]` has no attribute `setdefault`

ibis/backends/sql/datatypes.py

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

ibis/examples/gen_registry.py

[error] invalid-argument-type - Argument to function `add_movielens_example` is incorrect: Expected `dict[str, dict[str, str] | None]`, found `dict[str, dict[str, str]]`
[error] invalid-argument-type - Argument to function `add_wowah_example` is incorrect: Expected `dict[str, dict[str, str] | None]`, found `dict[str, dict[str, str]]`
[error] invalid-argument-type - Argument to function `add_nycflights13_example` is incorrect: Expected `dict[str, dict[str, str] | None]`, found `dict[str, dict[str, str]]`
[error] invalid-argument-type - Argument to class `partial` is incorrect: Expected `dict[str, dict[str, str] | None]`, found `dict[str, dict[str, str]]`

ibis/expr/types/relations.py

[error] invalid-return-type - Return type does not match returned value: expected `Mapping[str, ibis.expr.types.generic.Value]`, found `dict[Unknown, ibis.expr.operations.core.Value[Unknown, Any]]`
[error] no-matching-overload - No overload of constructor `zip.__new__` matches arguments
[error] not-iterable - Object of type `_T_co@zip` is not iterable

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

jax/_src/scipy/ndimage.py

[error] invalid-argument-type - Argument to function `_nonempty_prod` is incorrect: Expected `Sequence[Array]`, found `tuple[Array | ndarray[tuple[Any, ...], dtype[Any]] | numpy.bool[builtins.bool] | ... omitted 4 union elements, ...]`

jax/_src/pallas/mpmd.py

[error] invalid-return-type - Return type does not match returned value: expected `Mapping[str, int]`, found `dict[object, int]`
[error] invalid-argument-type - Argument to function `freeze` is incorrect: Expected `Ref`, found `Unknown | Array`

jax/experimental/jax2tf/tests/sharding_test.py

[error] invalid-assignment - Object of type `JitWrapped` is not assignable to `def f_jax(x) -> Unknown`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `Device | None`, found `P | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `bool`, found `P | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `bool`, found `P | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `dict[str, Any] | None`, found `P | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `int | Sequence[int] | None`, found `P | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `int | Sequence[int] | None`, found `P | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `str | None`, found `P | None`
[error] invalid-assignment - Object of type `JitWrapped` is not assignable to `def f_jax(x) -> Unknown`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `Device | None`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `Iterable[str] | None`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `Iterable[str] | None`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `bool`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `bool`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `dict[str, Any] | None`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `int | Sequence[int] | None`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `int | Sequence[int] | None`, found `NamedSharding | None`
[error] invalid-argument-type - Argument to function `jit` is incorrect: Expected `str | None`, found `NamedSharding | None`

jax/experimental/mosaic/gpu/core.py

[error] call-top-callable - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
[error] call-top-callable - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
[error] call-top-callable - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known

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

[error] invalid-argument-type - Argument to function `_get_mask_info_for_shard` is incorrect: Expected `dict[tuple[int, int, int], int]`, found `dict[tuple[int, ...], int]`

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

koda_validate/_internal.py

[error] invalid-argument-type - Argument is incorrect: Expected `list[Invalid]`, found `list[object]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[Invalid]`, found `list[object]`

koda_validate/list.py

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

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

manticore/core/state.py

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

manticore/platforms/decree.py

[error] invalid-argument-type - Argument to bound method `list.index` is incorrect: Expected `Socket`, found `None`
[error] invalid-assignment - Invalid subscript assignment with key of type `Unknown` and value of type `None` on object of type `list[Socket]`

manticore/utils/emulate.py

[error] invalid-argument-type - Argument to bound method `bytes.join` is incorrect: Expected `Iterable[Buffer]`, found `GeneratorType[bytes | Unknown | str, None, None]`

tests/wasm/json2mc.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `None` on object of type `list[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Module, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Module]]` cannot be called with key of type `None` on object of type `list[Module]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `None` on object of type `list[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Module, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Module]]` cannot be called with key of type `None` on object of type `list[Module]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `None` on object of type `list[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Module, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Module]]` cannot be called with key of type `None` on object of type `list[Module]`

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

misc/python/materialize/output_consistency/query/query_template.py

[error] invalid-return-type - Return type does not match returned value: expected `list[Expression]`, found `list[Expression | None]`

misc/python/materialize/cli/crate_diagram.py

[error] invalid-argument-type - Argument to function `write_dot_graph` is incorrect: Expected `dict[str, dict[str, str]]`, found `dict[Any | str, dict[str, bool | Any] | dict[str, bool | str]]`

misc/python/materialize/parallel_workload/parallel_workload.py

[error] unresolved-attribute - Attribute `mz_service` is not defined on `None` in union `Executor | None`
[error] unresolved-attribute - Attribute `last_log` is not defined on `None` in union `Executor | None`
[error] unresolved-attribute - Attribute `last_status` is not defined on `None` in union `Executor | None`

misc/python/materialize/scalability/plot/plot.py

[error] invalid-argument-type - Argument to function `_plot_distribution` is incorrect: Expected `list[str]`, found `list[int]`

misc/python/materialize/workload_replay/stats.py

[error] invalid-argument-type - Argument to function `upload_plots` is incorrect: Expected `list[str]`, found `list[Path]`

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

mesonbuild/backend/ninjabackend.py

[error] invalid-argument-type - Argument to bound method `NinjaBackend.generate_single_compile` is incorrect: Expected `list[File | str] | None`, found `list[str]`
[error] invalid-argument-type - Argument to bound method `NinjaBackend.create_target_source_introspection` is incorrect: Expected `list[File | str]`, found `list[File]`
[error] invalid-argument-type - Argument to bound method `NinjaBackend.create_target_source_introspection` is incorrect: Expected `list[File | str]`, found `list[str]`
[error] invalid-argument-type - Argument to bound method `NinjaBackend.create_target_source_introspection` is incorrect: Expected `list[File | str]`, found `list[str]`

mesonbuild/backend/xcodebackend.py

[error] invalid-assignment - Invalid subscript assignment with key of type `(CustomTarget & ~ExtractedObjects & ~File & ~str) | (CustomTargetIndex & ~ExtractedObjects & ~File & ~str) | (GeneratedList & ~ExtractedObjects & ~File & ~str) | str` and value of type `Unknown` on object of type `dict[str, str]`

mesonbuild/dependencies/ui.py

[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str] | None` and `list[Unknown]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str] | None` and `list[str]`

mesonbuild/mintro.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["error_list"]` and value of type `list[str]` on object of type `dict[str, dict[str, str | int] | dict[str, str] | dict[str, dict[str, str | int] | dict[Unknown, Unknown]] | bool]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["error_list"]` and value of type `list[str]` on object of type `dict[str, dict[str, str | int] | dict[str, str] | dict[str, dict[str, str | int] | dict[str, dict[str, str | bool]]] | bool]`

mesonbuild/scripts/symbolextractor.py

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

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

mitmproxy/contentviews/_view_mqtt.py

[error] invalid-argument-type - Argument to function `bytes_to_escaped_str` is incorrect: Expected `bytes`, found `(Unknown & ~AlwaysFalsy) | (dict[Unknown, Unknown] & ~AlwaysFalsy)`
[error] invalid-argument-type - Argument to function `bytes_to_escaped_str` is incorrect: Expected `bytes`, found `(Unknown & ~AlwaysFalsy) | (dict[str, Unknown] & ~AlwaysFalsy)`

mitmproxy/utils/debug.py

[error] call-non-callable - Object of type `object` is not callable

test/mitmproxy/proxy/tutils.py

[error] unresolved-attribute - Attribute `name` is not defined on `Command`, `Event` in union `Command | Event | Unknown`
[error] unresolved-attribute - Object of type `Command | Event` has no attribute `name`

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

mkdocs/config/config_options.py

[error] invalid-argument-type - Argument to bound method `Markdown.registerExtensions` is incorrect: Expected `Sequence[Extension | str]`, found `tuple[object]`
[error] invalid-return-type - Return type does not match returned value: expected `list[str]`, found `list[object]`
[error] invalid-return-type - Return type does not match returned value: expected `Mapping[str, Any]`, found `dict[object, Unknown]`

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)

pymongo/synchronous/topology.py

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

mypy (https://github.com/python/mypy)

mypyc/annotate.py

[error] no-matching-overload - No overload of bound method `MutableMapping.update` matches arguments
[error] invalid-argument-type - Argument to `AnnotatedSource.__init__` is incorrect: Expected `dict[int, list[Annotation]]`, found `dict[Unknown | str | int, Unknown | list[Annotation]]`

mypy/checkpattern.py

[error] invalid-argument-type - Argument to bound method `PatternChecker.contract_starred_pattern_types` is incorrect: Expected `list[Type]`, found `list[Type] | list[Unknown] | list[AnyType]`
[error] invalid-argument-type - Argument to bound method `PatternChecker.contract_starred_pattern_types` is incorrect: Expected `list[Type]`, found `list[Type] | list[AnyType] | list[Unknown]`

mypyc/irbuild/statement.py

[error] invalid-return-type - Return type does not match returned value: expected `() -> None`, found `() -> Value`

mypyc/test-data/driver/driver.py

[error] invalid-raise - Cannot raise object of type `BaseException | None | UnspecializedTypeVar`: Not an instance or subclass of `BaseException`

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

openlibrary/coverstore/archive.py

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

openlibrary/plugins/upstream/models.py

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

operator (https://github.com/canonical/operator)

ops/lib/__init__.py

[error] invalid-argument-type - Argument to `_Missing.__init__` is incorrect: Expected `bool`, found `dict[Unknown, Unknown]`
[error] invalid-argument-type - Argument to `_Missing.__init__` is incorrect: Expected `bool`, found `dict[str | Any, (Any & str) | (Any & int)]`
[error] invalid-argument-type - Argument to `_Missing.__init__` is incorrect: Expected `bool`, found `dict[Unknown, Unknown]`
[error] invalid-argument-type - Argument to `_Missing.__init__` is incorrect: Expected `bool`, found `dict[str | Any, (Any & str) | (Any & int)]`

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

optuna/samplers/_grid.py

[error] invalid-argument-type - Argument to bound method `RandomState.shuffle` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `list[tuple[str | int | float | None, ...]]`

optuna/storages/_rdb/alembic/versions/v3.0.0.a.py

[error] invalid-argument-type - Argument to function `persist` is incorrect: Expected `list[BaseDistribution]`, found `list[TrialParamModel] | list[Unknown]`
[error] invalid-argument-type - Argument to function `persist` is incorrect: Expected `list[BaseDistribution]`, found `list[TrialParamModel] | list[Unknown]`

optuna/storages/_rdb/storage.py

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

optuna/study/_dataframe.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[list[dict[tuple[str, str], Any]], list[tuple[str, str]]]`, found `tuple[list[dict[tuple[str, Any] | tuple[str, int | str], object] | dict[tuple[str, str], Any]], list[tuple[str, str]]]`

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

paasta_tools/secret_tools.py

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

paasta_tools/cli/cmds/spark_run.py

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

paasta_tools/cli/cmds/status.py

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

paasta_tools/cli/utils.py

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

paasta_tools/kubernetes_tools.py

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

paasta_tools/setup_kubernetes_job.py

[error] invalid-return-type - Return type does not match returned value: expected `list[tuple[bool, KubernetesDeploymentConfig]]`, found `list[tuple[bool, KubernetesDeploymentConfig] | tuple[bool, None]]`

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

paasta_tools/utils.py

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

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

pandas/core/frame.py

[error] invalid-argument-type - Argument to function `maybe_reorder` is incorrect: Expected `list[ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]]`, found `list[object]`

pandas/core/indexes/multi.py

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

pandas/io/excel/_xlsxwriter.py

[error] invalid-argument-type - Argument to bound method `list.index` is incorrect: Expected `str`, found `Unknown | int | str`
[error] invalid-argument-type - Argument to bound method `list.index` is incorrect: Expected `str`, found `Unknown | int | str`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, int].__getitem__(key: str, /) -> int` cannot be called with key of type `int` on object of type `dict[str, int]`

pandas/io/formats/style.py

[error] invalid-argument-type - Argument to bound method `Styler.set_table_styles` is incorrect: Expected `dict[Any, list[CSSDict]] | list[CSSDict] | None`, found `list[CSSDict] | list[dict[str, str]] | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `Styler.set_table_styles` is incorrect: Expected `dict[Any, list[CSSDict]] | list[CSSDict] | None`, found `list[CSSDict] | list[dict[str, str]]`

pandas/io/parsers/python_parser.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[Any, ndarray[tuple[Any, ...], dtype[Any]]]`, found `dict[Unknown, Unknown | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]]`
[error] invalid-argument-type - Argument to bound method `PythonParser._remove_skipped_rows` is incorrect: Expected `list[list[str | bytes | date | ... omitted 10 union elements]]`, found `list[list[str] | list[str | bytes | date | ... omitted 10 union elements]]`
[error] invalid-argument-type - Argument to bound method `PythonParser._remove_skipped_rows` is incorrect: Expected `list[list[str | bytes | date | ... omitted 10 union elements]]`, found `list[list[str] | list[str | bytes | date | ... omitted 10 union elements]] | list[list[str | bytes | date | ... omitted 10 union elements]]`

pandas/io/pytables.py

[error] invalid-argument-type - Argument to constructor `Index.__new__` is incorrect: Expected `bool`, found `Unknown | None`
[error] invalid-argument-type - Argument to constructor `Index.__new__` is incorrect: Expected `bool`, found `Unknown | None`
[error] invalid-argument-type - Argument to constructor `Index.__new__` is incorrect: Expected `bool`, found `Unknown | None`

pandas/plotting/_matplotlib/core.py

[error] invalid-return-type - Return type does not match returned value: expected `builtins.bool | list[tuple[int, ...]]`, found `list[tuple[Unknown, ...] | tuple[Unknown | int | slice[Any, Any, Any] | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]] | tuple[int, ...]]`

pandas/tests/groupby/aggregate/test_aggregate.py

[error] invalid-argument-type - Argument to bound method `MultiIndex.from_tuples` is incorrect: Expected `Iterable[tuple[Hashable, ...]]`, found `tuple[list[Unknown], ...]`

pandas/tests/io/pytables/test_round_trip.py

[error] invalid-argument-type - Argument to `HDFStore.__init__` is incorrect: Expected `bool`, found `str`
[error] invalid-argument-type - Argument to `HDFStore.__init__` is incorrect: Expected `int | None`, found `str`
[error] invalid-argument-type - Argument to `HDFStore.__init__` is incorrect: Expected `bool`, found `str`
[error] invalid-argument-type - Argument to `HDFStore.__init__` is incorrect: Expected `int | None`, found `str`

pandas/tests/io/test_sql.py

[error] invalid-argument-type - Argument to function `create_and_load_types_sqlite3` is incorrect: Expected `list[dict[Unknown, Unknown]]`, found `list[tuple[Unknown, ...]]`

pandas/tests/io/test_stata.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[2]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[3]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[4]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[5]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[2]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[3]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[4]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[5]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[6]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[2]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[3]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[4]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[5]` and value of type `datetime` on object of type `list[NaTType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[6]` and value of type `datetime` on object of type `list[NaTType]`

pandas/tseries/holiday.py

[error] invalid-return-type - Return type does not match returned value: expected `DatetimeIndex`, found `Index`

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

tests/pandas/test_pandas_engine.py

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

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

src/pip/_internal/operations/check.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[dict[NormalizedName, list[tuple[NormalizedName, Requirement]]], dict[NormalizedName, list[tuple[NormalizedName, Version, Requirement]]]]`, found `tuple[dict[NormalizedName, list[tuple[NormalizedName, Requirement] | Buffer] | list[tuple[NormalizedName, Requirement]]], dict[NormalizedName, list[tuple[NormalizedName, Version, Requirement] | Buffer] | list[tuple[NormalizedName, Version, Requirement]]]]`

src/pip/_internal/vcs/versioncontrol.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, VersionControl].__getitem__(key: str, /) -> VersionControl` cannot be called with key of type `Sized` on object of type `dict[str, VersionControl]`

src/pip/_vendor/distlib/util.py

[error] invalid-argument-type - Argument to bound method `SSLContext.wrap_socket` is incorrect: Expected `SSLSession | None`, found `str`
[error] invalid-argument-type - Argument to bound method `SSLContext.wrap_socket` is incorrect: Expected `bool`, found `str`
[error] invalid-argument-type - Argument to bound method `SSLContext.wrap_socket` is incorrect: Expected `bool`, found `str`
[error] invalid-argument-type - Argument to bound method `SSLContext.wrap_socket` is incorrect: Expected `bool`, found `str`
[error] invalid-argument-type - Argument to function `compile` is incorrect: Expected `int`, found `PycInvalidationMode`
[error] invalid-argument-type - Argument to function `compile` is incorrect: Expected `int`, found `PycInvalidationMode`

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

src/integrations/prefect-dbt/prefect_dbt/cloud/jobs.py

[error] invalid-assignment - Object of type `list[Any | list[str]]` is not assignable to attribute `steps_override` of type `list[str] | None`

src/integrations/prefect-gcp/prefect_gcp/workers/cloud_run_v2.py

[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[dict[str, str | None]]`, found `list[dict[str, str | dict[str, Unknown]]]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `dict[str, str | None]`, found `dict[str, str | None | dict[str, Unknown]]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `dict[str, str | None]`, found `dict[str, str | None | dict[str, Unknown]]`

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

[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `dict[Unknown | str, Unknown]`

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

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

src/prefect/cli/flow_run.py

[error] invalid-argument-type - Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[Unknown, Unknown] & ~AlwaysFalsy`
[error] invalid-argument-type - Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[str, dict[str, list[str]]] & ~AlwaysFalsy`

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

psycopg/psycopg/types/enum.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[tuple[bytes, E@_make_load_map], ...]`, found `tuple[tuple[bytes | Unknown, E@_make_load_map | Unknown | str], ...]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[tuple[E@_make_dump_map, bytes], ...]`, found `tuple[tuple[E@_make_dump_map | Unknown | str, bytes | Unknown], ...]`

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

pwndbg/commands/kmod.py

[error] invalid-argument-type - Argument to bound method `Process.add_symbol_file` is incorrect: Expected `int | None`, found `str | int`

pwndbg/dbg_mod/gdb/__init__.py

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

pwndbg/dbg_mod/lldb/repl/fuzzy.py

[error] invalid-argument-type - Argument to `FzfTabCompletePreviewThread.__init__` is incorrect: Expected `dict[int, str]`, found `dict[int, str | None]`

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

lib/Crypto/IO/_PBES.py

[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `int`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `int`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `int`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `int`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `dict[Unknown, Unknown]`, found `int`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `dict[Unknown, Unknown]`, found `int`

lib/Crypto/SelfTest/Hash/test_KMAC.py

[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Divergent`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Divergent`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Divergent`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int]`, found `str | Unknown`

lib/Crypto/SelfTest/Hash/test_TupleHash.py

[error] not-iterable - Object of type `tuple[str, str] | tuple[str, str, str] | None | Unknown` may not be iterable
[error] invalid-argument-type - Argument to function `tobytes` is incorrect: Expected `bytes | str`, found `str | None | Unknown`
[error] unresolved-attribute - Attribute `replace` is not defined on `None` in union `str | None | Unknown`
[error] invalid-assignment - Object of type `list[list[None | Unknown]]` is not assignable to attribute `test_data` of type `list[tuple[tuple[str, str], str, str, str, <module 'Crypto.Hash.TupleHash128'>] | tuple[tuple[str, str, str], str, str, str, <module 'Crypto.Hash.TupleHash128'>] | tuple[tuple[str, str], str, str, str, <module 'Crypto.Hash.TupleHash256'>] | tuple[tuple[str, str, str], str, str, str, <module 'Crypto.Hash.TupleHash256'>]]`
[error] not-iterable - Object of type `tuple[str, str] | tuple[str, str, str] | None | Unknown` may not be iterable
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `int`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `int`, found `str | None | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `int`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `str | None | Unknown`
[error] unresolved-attribute - Attribute `new` is not defined on `None` in union `<module 'Crypto.Hash.TupleHash128'> | <module 'Crypto.Hash.TupleHash256'> | None | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `int`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `int`, found `str | None | Unknown`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `int`, found `str | Unknown`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `str | None | Unknown`
[error] unresolved-attribute - Attribute `new` is not defined on `None` in union `<module 'Crypto.Hash.TupleHash128'> | <module 'Crypto.Hash.TupleHash256'> | None | Unknown`
[error] not-iterable - Object of type `tuple[str, str] | tuple[str, str, str] | None | Unknown` may not be iterable

lib/Crypto/SelfTest/IO/test_PKCS8.py

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

lib/Crypto/SelfTest/Protocol/test_KDF.py

[error] not-subscriptable - Cannot subscript object of type `TestVector` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `TestVector` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `TestVector` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `TestVector` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `TestVector` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `TestVector` with no `__getitem__` method
[error] invalid-assignment - Object of type `list[Unknown]` is not assignable to attribute `data` of type `tuple[tuple[str, str, int, int, int, str], tuple[str, str, int, int, int, str], tuple[str, str, int, int, int, str], tuple[str, str, int, int, int, str]]`
[error] invalid-assignment - Object of type `list[TestVector]` is not assignable to attribute `data` of type `tuple[tuple[str, str, int, int, int, str], tuple[str, str, int, int, int, str], tuple[str, str, int, int, int, str], tuple[str, str, int, int, int, str]]`
[error] unresolved-attribute - Attribute `P` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `P`
[error] unresolved-attribute - Attribute `S` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `S`
[error] unresolved-attribute - Attribute `dkLen` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `dkLen`
[error] unresolved-attribute - Attribute `N` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `N`
[error] unresolved-attribute - Attribute `r` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `r`
[error] unresolved-attribute - Attribute `p` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `p`
[error] unresolved-attribute - Attribute `N` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `N`
[error] unresolved-attribute - Attribute `output` is not defined on `tuple[str, str, int, int, int, str]` in union `tuple[str, str, int, int, int, str] | Unknown`
[error] unresolved-attribute - Object of type `tuple[str, str, int, int, int, str] | TestVector` has no attribute `output`

lib/Crypto/SelfTest/PublicKey/test_ElGamal.py

[error] invalid-argument-type - Argument to function `bytes_to_long` is incorrect: Expected `bytes`, found `Unknown | int | list[Unknown]`

lib/Crypto/SelfTest/Signature/test_dss.py

[error] invalid-assignment - Not enough values to unpack: Expected 6
[error] invalid-assignment - Object of type `list[TestSig]` is not assignable to attribute `signatures` of type `list[tuple[str, str, str, str, <module 'Crypto.Hash.SHA1'>, str] | tuple[str, str, str, str, <module 'Crypto.Hash.SHA224'>, str] | tuple[str, str, str, str, <module 'Crypto.Hash.SHA256'>, str] | tuple[str, str, str, str, <module 'Crypto.Hash.SHA384'>, str] | tuple[str, str, str, str, <module 'Crypto.Hash.SHA512'>, str]]`
[error] invalid-assignment - Object of type `dict[Unknown, Unknown]` is not assignable to attribute `keys` of type `list[tuple[str, str, str, str, str, str]]`
[error] invalid-assignment - Object of type `dict[Divergent, TestKey]` is not assignable to attribute `keys` of type `list[tuple[str, str, str, str, str, str]]`
[error] invalid-argument-type - Argument to function `construct` is incorrect: Expected `tuple[int, int, int, int] | tuple[int, int, int, int, int]`, found `list[Unknown]`
[error] invalid-argument-type - Argument to function `construct` is incorrect: Expected `tuple[int, int, int, int] | tuple[int, int, int, int, int]`, found `list[Any]`

lib/Crypto/SelfTest/Signature/test_eddsa.py

[error] invalid-argument-type - Argument to function `import_private_key` is incorrect: Expected `bytes`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | None`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to bound method `EdDSASigScheme.sign` is incorrect: Expected `bytes | Hash | XOF`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] unresolved-attribute - Attribute `new` is not defined on `bytes` in union `bytes | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to bound method `EdDSASigScheme.sign` is incorrect: Expected `bytes | Hash | XOF`, found `SHA512Hash | SHAKE256_XOF`
[error] invalid-argument-type - Argument to function `import_public_key` is incorrect: Expected `bytes`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | None`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to bound method `EdDSASigScheme.verify` is incorrect: Expected `bytes | Hash | XOF`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to bound method `EdDSASigScheme.verify` is incorrect: Expected `bytes`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] unresolved-attribute - Attribute `new` is not defined on `bytes` in union `bytes | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to function `new` is incorrect: Expected `bytes | bytearray | memoryview[int] | None`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`
[error] invalid-argument-type - Argument to bound method `EdDSASigScheme.verify` is incorrect: Expected `bytes | Hash | XOF`, found `SHA512Hash | SHAKE256_XOF`
[error] invalid-argument-type - Argument to bound method `EdDSASigScheme.verify` is incorrect: Expected `bytes`, found `bytes | None | <module 'Crypto.Hash.SHA512'> | <module 'Crypto.Hash.SHAKE256'>`

lib/Crypto/Util/asn1.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `Literal[b""]` and `Unknown | int`
[error] unresolved-attribute - Attribute `encode` is not defined on `int` in union `Unknown | int`
[error] invalid-argument-type - Argument to bound method `bytes.join` is incorrect: Expected `Iterable[Buffer]`, found `list[Unknown | int]`

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

pydantic/v1/main.py

[error] invalid-argument-type - Argument to `ValidationError.__init__` is incorrect: Expected `Sequence[Sequence[Any] | ErrorWrapper]`, found `list[object] & ~AlwaysFalsy`

pydantic/v1/schema.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["required"]` and value of type `list[Unknown] & ~AlwaysFalsy` on object of type `dict[str, str | dict[Unknown, Unknown]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["required"]` and value of type `list[str] & ~AlwaysFalsy` on object of type `dict[str, str | dict[str, dict[str, Any]]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["additionalProperties"]` and value of type `Literal[False]` on object of type `dict[str, str | dict[Unknown, Unknown]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["additionalProperties"]` and value of type `Literal[False]` on object of type `dict[str, str | dict[str, dict[str, Any]]]`

pydantic/v1/typing.py

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

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

src/_pytest/config/__init__.py

[error] invalid-argument-type - Argument to bound method `Config._getini_ini` is incorrect: Expected `str | list[str]`, found `str | Top[list[Unknown]]`

src/_pytest/mark/structures.py

[error] invalid-argument-type - Argument to function `normalize_mark_list` is incorrect: Expected `Iterable[Mark | MarkDecorator]`, found `list[object] | (Any & Top[list[Unknown]]) | list[Any]`

pywin32 (https://github.com/mhammond/pywin32)

com/win32com/client/genpy.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

com/win32comext/adsi/demos/scp.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[LiteralString, (po) -> Unknown].__getitem__(key: LiteralString, /) -> ((po) -> Unknown)` cannot be called with key of type `str` on object of type `dict[LiteralString, (po) -> Unknown]`

com/win32comext/axdebug/codecontainer.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[int, int]`, found `int`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[int, int]`, found `int`

pythonwin/pywin/Demos/app/basictimerapp.py

[error] invalid-argument-type - Argument to function `mktime` is incorrect: Expected `tuple[int, int, int, int, int, int, int, int, int]`, found `tuple[int | Unknown, ...]`

win32/Demos/security/explicit_entries.py

[error] invalid-argument-type - Argument to bound method `PyACL.SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[Unknown]`
[error] invalid-argument-type - Argument to bound method `PyACL.SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[dict[str, dict[str, None | int | Unknown] | Unknown | int] | dict[str, dict[str, None | int | Unknown | str] | Unknown | int]]`
[error] invalid-argument-type - Argument to bound method `PyACL.SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[Unknown]`
[error] invalid-argument-type - Argument to bound method `PyACL.SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[dict[str, dict[str, None | int | Unknown | str] | Unknown | int] | dict[str, dict[str, None | int | Unknown | PySID] | Unknown | int] | dict[str, dict[str, None | int | Unknown] | Unknown | int]]`

win32/scripts/pywin32_postinstall.py

[error] invalid-argument-type - Argument to function `RegisterClasses` is incorrect: Expected `() -> None`, found `Any | None`
[error] invalid-argument-type - Argument to function `RegisterClasses` is incorrect: Expected `bool`, found `Any | None`
[error] invalid-argument-type - Argument to function `RegisterClasses` is incorrect: Expected `bool`, found `Any | None`
[error] invalid-argument-type - Argument to function `UnregisterClasses` is incorrect: Expected `() -> None`, found `Any | None`
[error] invalid-argument-type - Argument to function `UnregisterClasses` is incorrect: Expected `bool`, found `Any | None`

win32/test/test_win32inet.py

[error] invalid-argument-type - Argument to bound method `bytes.join` is incorrect: Expected `Iterable[Buffer]`, found `list[str]`

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

rotkehlchen/data_import/utils.py

[error] unresolved-attribute - Attribute `append` is not defined on `bool` in union `Unknown | list[Unknown] | bool`

rotkehlchen/db/unresolved_conflicts.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`

rotkehlchen/chain/ethereum/transactions.py

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

rotkehlchen/db/settings.py

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

rotkehlchen/api/v1/fields.py

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

rotkehlchen/db/dbhandler.py

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

rotkehlchen/exchanges/kucoin.py

[error] invalid-return-type - Return type does not match returned value: expected `list[SwapEvent] | list[AssetMovement]`, found `list[SwapEvent | AssetMovement]`
[error] invalid-return-type - Return type does not match returned value: expected `list[SwapEvent] | list[AssetMovement]`, found `list[SwapEvent | AssetMovement]`

rotkehlchen/externalapis/google_calendar.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["errors"]` and value of type `list[Unknown] & ~AlwaysFalsy` on object of type `dict[str, int | str]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["errors"]` and value of type `list[str] & ~AlwaysFalsy` on object of type `dict[str, int | str]`

rotkehlchen/tests/unit/test_data_updates.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[int | str, Any].__getitem__(key: int | str, /) -> Any` cannot be called with key of type `None` on object of type `dict[int | str, Any]`

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

sklearn/preprocessing/_discretization.py

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

sklearn/decomposition/tests/test_factor_analysis.py

[error] unresolved-attribute - Unresolved attribute `verbose` on type `FactorAnalysis`

sklearn/ensemble/_forest.py

[error] unresolved-attribute - Attribute `take` is not defined on `list[Unknown]` in union `list[Unknown] | Divergent`
[error] unresolved-attribute - Attribute `take` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `list[ndarray[tuple[Any, ...], dtype[Unknown]]] | Divergent`

sklearn/neighbors/_classification.py

[error] unresolved-attribute - Attribute `dtype` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | Any | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `take` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `take` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | Any | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `take` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `take` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | Any | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `size` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | list[ndarray[tuple[Any, ...], dtype[Unknown]]]`

sklearn/preprocessing/_data.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], int]` on object of type `list[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> list[int] | Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[list[int] | Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], int]` on object of type `list[list[int] | Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], int]` on object of type `list[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> list[int] | Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[list[int] | Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], int]` on object of type `list[list[int] | Unknown]`

sklearn/preprocessing/_polynomial.py

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

sklearn/preprocessing/tests/test_data.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0]]` on object of type `list[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> list[int] | Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[list[int] | Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0]]` on object of type `list[list[int] | Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], slice[Literal[1], None, None]]` on object of type `list[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> list[int] | Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[list[int] | Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], slice[Literal[1], None, None]]` on object of type `list[list[int] | Unknown]`

sklearn/tree/_classes.py

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

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

scipy/special/utils/makenpz.py

[error] invalid-argument-type - Argument to function `savez_compressed` is incorrect: Expected `bool`, found `ndarray[tuple[Any, ...], dtype[float64]]`

doc/source/array_api_capabilities_table.py

[error] invalid-argument-type - Argument to function `_make_reST_table` is incorrect: Expected `list[str]`, found `list[list[str] | str]`
[error] invalid-argument-type - Argument to function `_make_reST_table` is incorrect: Expected `list[str]`, found `list[list[Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[list[dict[str, str]], list[str]]`, found `tuple[list[dict[str, str | int]], list[Unknown] | list[str]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[list[dict[str, str]], list[str]]`, found `tuple[list[dict[str, str | int]], list[str]]`

scipy/optimize/_shgo_lib/_complex.py

[error] unresolved-attribute - Attribute `x` is not defined on `None`, `list[Unknown]` in union `None | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `x` is not defined on `None`, `list[Unknown]` in union `None | Divergent | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `x` is not defined on `None`, `list[Unknown]` in union `None | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `x` is not defined on `None`, `list[Unknown]` in union `None | Divergent | Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `x` is not defined on `list[Unknown]` in union `Unknown | list[Unknown]`
[error] unresolved-attribute - Attribute `x` is not defined on `list[Unknown]` in union `Unknown | Divergent | list[Unknown]`

scipy/sparse/_index.py

[error] unresolved-attribute - Attribute `shape` is not defined on `slice[Any, Any, Any]`, `int` in union `Unknown | slice[Any, Any, Any] | int | ndarray[tuple[int], dtype[signedinteger[_64Bit]]]`
[error] unresolved-attribute - Attribute `shape` is not defined on `slice[Any, Any, Any]`, `int` in union `Unknown | slice[Any, Any, Any] | int | ndarray[tuple[int], dtype[signedinteger[_64Bit]]]`

scipy/sparse/tests/test_construct.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Any & <Protocol with members '__len__'>) | ndarray[tuple[Any, ...], dtype[Unknown]] | (int & <Protocol with members '__len__'>) | (float & <Protocol with members '__len__'>)`

scipy/special/tests/test_support_alternative_backends.py

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

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

tests/test_addons.py

[error] unresolved-attribute - Object of type `type` has no attribute `number`

tests/test_downloadermiddleware_cookies.py

[error] invalid-argument-type - Argument to `Request.__init__` is incorrect: Expected `dict[str, str] | list[VerboseCookie] | None`, found `list[dict[str | Unknown, str | Unknown]]`
[error] invalid-argument-type - Argument to `Request.__init__` is incorrect: Expected `dict[str, str] | list[VerboseCookie] | None`, found `list[dict[str, str | Unknown]]`

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

setuptools/command/build_clib.py

[error] invalid-argument-type - Argument is incorrect: Expected `Iterable[str | (Iterable[str | bytes | PathLike[str] | PathLike[bytes]] & bytes) | (Iterable[str | bytes | PathLike[str] | PathLike[bytes]] & PathLike[str]) | (Iterable[str | bytes | PathLike[str] | PathLike[bytes]] & PathLike[bytes])]`, found `list[list[Unknown]]`

setuptools/_distutils/command/bdist.py

[error] unresolved-attribute - Unresolved attribute `owner` on type `Command`
[error] unresolved-attribute - Unresolved attribute `group` on type `Command`
[error] unresolved-attribute - Unresolved attribute `keep_temp` on type `Command`
[error] unresolved-attribute - Unresolved attribute `format` on type `Command`

setuptools/_distutils/sysconfig.py

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

setuptools/_vendor/backports/tarfile/__init__.py

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

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

sockeye/data_io.py

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

sockeye/evaluate.py

[error] invalid-argument-type - Argument to function `_print_mean_std_score` is incorrect: Expected `list[tuple[str, (...) -> Unknown]]`, found `list[tuple[Any, partial[(hypotheses: Iterable[str], references: Iterable[str], *, offset: int | float | None = ...) -> int | float] | ((hypotheses: Iterable[str], references: Iterable[str]) -> int | float)]]`
[error] invalid-argument-type - Argument to function `_print_mean_std_score` is incorrect: Expected `list[tuple[str, (...) -> Unknown]]`, found `list[tuple[Any, partial[(hypotheses: Iterable[str], references: Iterable[str], *, offset: int | float | None = ...) -> int | float] | ((hypotheses: Iterable[str], references: Iterable[str]) -> int | float)]]`

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

lib/spack/spack/cmd/repo.py

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

lib/spack/spack/cmd/__init__.py

[error] unresolved-attribute - Attribute `prefix` is not defined on `None` in union `Unknown | None`
[error] invalid-argument-type - Argument to function `colify` is incorrect: Expected `list[Any]`, found `GeneratorType[Unknown, None, None]`
[error] invalid-argument-type - Argument to function `colify` is incorrect: Expected `list[Any]`, found `GeneratorType[Unknown | str, None, None]`

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

[error] invalid-argument-type - Argument to bound method `_RmtreeType.__call__` is incorrect: Expected `(((...) -> Any, str, tuple[type[BaseException], BaseException, TracebackType], /) -> object) | None`, found `bool | Unknown`

lib/spack/spack/solver/asp.py

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

var/spack/test_repos/spack_repo/builtin_mock/build_systems/compiler.py

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

speedrun.com_global_scoreboard_webapp (https://github.com/Avasam/speedrun.com_global_scoreboard_webapp)

backend/services/user_updater_helpers.py

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

sphinx (https://github.com/sphinx-doc/sphinx)

sphinx/domains/c/_symbol.py

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

sphinx/domains/cpp/_symbol.py

[error] unresolved-attribute - Attribute `objectType` is not defined on `None` in union `ASTDeclaration | None`
[error] unresolved-attribute - Attribute `get_newest_id` is not defined on `None` in union `ASTDeclaration | None`

sphinx/domains/python/_annotations.py

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

sphinx/ext/autodoc/_dynamic/_member_finder.py

[error] invalid-return-type - Return type does not match returned value: expected `_AutodocObjType | None`, found `str`

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

tests/test_formparsers.py

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

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

static_frame/core/memory_measure.py

[error] invalid-yield - Yield type `tuple[str, list[Unknown]]` does not match annotated yield type `tuple[tuple[str, ...], list[int]]`
[error] invalid-yield - Yield type `tuple[str, list[int]]` does not match annotated yield type `tuple[tuple[str, ...], list[int]]`

strawberry (https://github.com/strawberry-graphql/strawberry)

strawberry/extensions/utils.py

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

strawberry/federation/schema.py

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

strawberry/printer/printer.py

[error] no-matching-overload - No overload of bound method `str.join` matches arguments

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

sympy/combinatorics/generators.py

[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`

sympy/combinatorics/pc_groups.py

[error] unresolved-attribute - Attribute `array_form` is not defined on `tuple[()]` in union `Unknown | tuple[()]`

sympy/parsing/latex/__init__.py

[error] unsupported-operator - Operator `-` is not supported between objects of type `int | None` and `Literal[10]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None` and `Literal[10]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, str].__getitem__(key: str, /) -> str` cannot be called with key of type `None` on object of type `dict[str, str]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, str].__getitem__(key: str, /) -> str` cannot be called with key of type `None` on object of type `dict[str, str]`
[error] unsupported-operator - Operator `>` is not supported between objects of type `int | None` and `Literal[0]`
[error] unsupported-operator - Operator `<` is not supported between objects of type `int | None` and `int`

sympy/vector/functions.py

[error] no-matching-overload - No overload of bound method `Expr.subs` matches arguments

sympy/categories/diagram_drawing.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> list[Unknown], (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[list[Unknown]]]` cannot be called with key of type `None` on object of type `list[list[Unknown]]`

sympy/combinatorics/tests/test_permutations.py

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

sympy/core/basic.py

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

sympy/core/exprtools.py

[error] no-matching-overload - No overload of bound method `Expr.subs` matches arguments
[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Unknown | Basic`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[Number, One | NegativeOne].__getitem__(key: Number, /) -> One | NegativeOne` cannot be called with key of type `Basic` on object of type `dict[Number, One | NegativeOne]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[Number, One | NegativeOne].__getitem__(key: Number, /) -> One | NegativeOne` cannot be called with key of type `Basic` on object of type `dict[Number, One | NegativeOne]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[Number, One | NegativeOne].__getitem__(key: Number, /) -> One | NegativeOne` cannot be called with key of type `Basic` on object of type `dict[Number, One | NegativeOne]`

sympy/core/function.py

[error] no-matching-overload - No overload of bound method `Expr.subs` matches arguments

sympy/core/mod.py

[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Basic`
[error] invalid-argument-type - Argument to constructor `Add.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Unknown | Basic`

sympy/core/mul.py

[error] no-matching-overload - No overload of bound method `MutableMapping.setdefault` matches arguments
[error] not-iterable - Object of type `Self@flatten` is not iterable
[error] unresolved-attribute - Attribute `is_Integer` is not defined on `int` in union `Expr | int`
[error] unresolved-attribute - Object of type `Expr | int` has no attribute `p`
[error] unresolved-attribute - Object of type `Expr | int` has no attribute `p`
[error] unresolved-attribute - Object of type `Expr | int` has no attribute `p`
[error] unresolved-attribute - Attribute `as_base_exp` is not defined on `int` in union `Expr | int`
[error] unresolved-attribute - Attribute `is_even` is not defined on `int` in union `Expr | int`
[error] unresolved-attribute - Object of type `Expr` has no attribute `p`

sympy/functions/elementary/exponential.py

[error] invalid-argument-type - Argument to constructor `Add.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Basic | Unknown`
[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Basic`

sympy/functions/elementary/piecewise.py

[error] no-matching-overload - No overload of bound method `MutableMapping.setdefault` matches arguments
[error] not-iterable - Object of type `Boolean` is not iterable
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[Unknown, Boolean]`, found `tuple[Unknown, Literal[True]]`

sympy/integrals/manualintegrate.py

[error] invalid-argument-type - Argument to `PartsRule.__init__` is incorrect: Expected `Symbol`, found `Expr | Unknown`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[RewriteRule, Equality | BooleanFalse | BooleanTrue] | tuple[RewriteRule, Unknown]`, found `tuple[ArctanRule, BooleanTrue]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[RewriteRule, Equality | BooleanFalse | BooleanTrue]`, found `tuple[(Unknown & ~AlwaysTruthy) | ConstantTimesRule, Literal[True]]`
[error] invalid-argument-type - Argument to `PartsRule.__init__` is incorrect: Expected `Symbol`, found `Expr | Unknown`

sympy/integrals/tests/test_meijerint.py

[error] invalid-argument-type - Argument is incorrect: Expected `dict[Basic, Basic | int | float] | None`, found `dict[Unknown, int | float]`

sympy/matrices/sparse.py

[error] unsupported-operator - Operator `>=` is not supported between objects of type `(Expr & ~AlwaysFalsy) | (int & ~AlwaysFalsy) | (Unknown & ~AlwaysFalsy)` and `None | Unknown`

sympy/ntheory/ecm.py

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

sympy/parsing/mathematica.py

[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[tuple[str, int] | str, dict[str, Any] | int].__getitem__(key: tuple[str, int] | str, /) -> dict[str, Any] | int` cannot be called with key of type `tuple[Unknown, Literal["*"]]` on object of type `dict[tuple[str, int] | str, dict[str, Any] | int]`
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[tuple[str, int] | str, dict[str, Any] | int].__getitem__(key: tuple[str, int] | str, /) -> dict[str, Any] | int` cannot be called with key of type `tuple[Unknown, Literal["*"]]` on object of type `dict[tuple[str, int] | str, dict[str, Any] | int]`
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[tuple[str, int] | str, dict[str, Any] | int].__getitem__(key: tuple[str, int] | str, /) -> dict[str, Any] | int` cannot be called with key of type `tuple[Unknown, Literal["*"]]` on object of type `dict[tuple[str, int] | str, dict[str, Any] | int]`

sympy/physics/continuum_mechanics/beam.py

[error] unsupported-operator - Operator `-` is not supported between two objects of type `Unknown | int | str`

sympy/physics/quantum/hilbert.py

[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic` and `Literal[2]`
[error] unresolved-attribute - Attribute `base` is not defined on `Basic`, `None` in union `Unknown | Basic | None`
[error] unresolved-attribute - Attribute `exp` is not defined on `Basic`, `None` in union `Unknown | Basic | None`

sympy/physics/secondquant.py

[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Basic | Unknown`

sympy/plotting/experimental_lambdify.py

[error] call-non-callable - Object of type `ModuleType` is not callable

sympy/plotting/pygletplot/color_scheme.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-iterable - Object of type `None | list[Unknown] | Unknown` may not be iterable
[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-iterable - Object of type `None | list[Unknown]` may not be iterable

sympy/polys/domains/domain.py

[error] invalid-return-type - Return type does not match returned value: expected `list[Er@Domain]`, found `list[list[Er@Domain] | Er@Domain]`

sympy/polys/numberfields/modules.py

[error] unresolved-attribute - Attribute `items` is not defined on `None` in union `None | dict[Unknown, Unknown]`
[error] unresolved-attribute - Attribute `items` is not defined on `None` in union `None | dict[int, dict[Unknown, Unknown]]`
[error] unresolved-attribute - Attribute `items` is not defined on `None` in union `Unknown | None | dict[Unknown, Unknown]`
[error] unresolved-attribute - Attribute `items` is not defined on `None` in union `Unknown | None | dict[int, dict[Unknown, Unknown]]`

sympy/polys/polyfuncs.py

[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Unknown] | Unknown` and `tuple[list[tuple[Unknown, Unknown]]]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[Divergent] | Divergent` and `tuple[list[tuple[Unknown, Unknown]]]`

sympy/printing/codeprinter.py

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

sympy/printing/julia.py

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

sympy/printing/mathml.py

[error] invalid-argument-type - Argument to bound method `Element.appendChild` is incorrect: Argument type `Element | str` does not satisfy upper bound `Element | ProcessingInstruction | Comment | Text | DocumentFragment` of type variable `_ElementChildrenPlusFragment`

sympy/printing/octave.py

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

sympy/printing/pretty/pretty.py

[error] unresolved-attribute - Object of type `str` has no attribute `width`
[error] unresolved-attribute - Object of type `str` has no attribute `width`
[error] unresolved-attribute - Object of type `str` has no attribute `width`
[error] unresolved-attribute - Object of type `str` has no attribute `right`
[error] invalid-argument-type - Argument to function `prettyForm.__mul__` is incorrect: Expected `prettyForm`, found `prettyForm | str`
[error] unresolved-attribute - Attribute `width` is not defined on `str` in union `str | prettyForm`
[error] unresolved-attribute - Attribute `width` is not defined on `str` in union `str | prettyForm`
[error] unresolved-attribute - Attribute `width` is not defined on `str` in union `str | prettyForm`
[error] unresolved-attribute - Attribute `right` is not defined on `str` in union `str | prettyForm`

sympy/printing/tableform.py

[error] no-matching-overload - No overload of bound method `str.join` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[1]` and value of type `list[Unknown]` on object of type `list[range]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[1]` and value of type `list[str]` on object of type `list[range]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[1]` and value of type `list[Unknown]` on object of type `list[range]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[1]` and value of type `list[str]` on object of type `list[range]`

sympy/simplify/fu.py

[error] invalid-assignment - Invalid subscript assignment with key of type `int` and value of type `Unknown | Expr` on object of type `list[tuple[Unknown, Unknown | Expr]]`
[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `tuple[Unknown, Unknown | Expr]`

sympy/simplify/simplify.py

[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Unknown | Basic`
[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Basic`

sympy/simplify/tests/test_hyperexpand.py

[error] no-matching-overload - No overload of bound method `Expr.subs` matches arguments

sympy/solvers/ode/hypergeometric.py

[error] unsupported-operator - Operator `+` is not supported between objects of type `Literal[1]` and `Basic`
[error] unresolved-attribute - Attribute `lhs` is not defined on `BooleanFalse`, `BooleanTrue` in union `Equality | BooleanFalse | BooleanTrue`
[error] unresolved-attribute - Attribute `lhs` is not defined on `BooleanFalse`, `BooleanTrue` in union `Equality | BooleanFalse | BooleanTrue`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Basic` and `Literal[1]`
[error] unresolved-attribute - Attribute `lhs` is not defined on `BooleanFalse`, `BooleanTrue` in union `Equality | BooleanFalse | BooleanTrue`

sympy/solvers/ode/ode.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["func"]` and value of type `list[Unknown]` on object of type `dict[str, int]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["func"]` and value of type `list[Divergent]` on object of type `dict[str, int]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["order"]` and value of type `dict[Unknown, Unknown]` on object of type `dict[str, int]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["order"]` and value of type `dict[Unknown, int | Unknown]` on object of type `dict[str, int]`
[error] unresolved-attribute - Attribute `subs` is not defined on `int` in union `int | Unknown`

sympy/solvers/solvers.py

[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Unknown | Basic`

sympy/stats/stochastic_process_types.py

[error] invalid-return-type - Return type does not match returned value: expected `list[tuple[list[Basic], Boolean, Integer]]`, found `list[tuple[list[Unknown], Unknown, _S@map]]`
[error] invalid-return-type - Return type does not match returned value: expected `list[tuple[list[Basic], Boolean, Integer]]`, found `list[tuple[list[Unknown], BooleanTrue | BooleanFalse, _S@map]]`
[error] invalid-argument-type - Argument to constructor `map.__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Integer'>`
[error] invalid-argument-type - Argument to constructor `map.__new__` is incorrect: Expected `(int | Unknown, /) -> Unknown`, found `<class 'Integer'>`

sympy/tensor/array/array_derivatives.py

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

sympy/tensor/tensor.py

[error] unresolved-attribute - Attribute `comm` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `comm` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `comm` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `comm` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `symmetry` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `symmetry` is not defined on `int` in union `Unknown | int`
[error] unresolved-attribute - Attribute `coeff` is not defined on `Basic` in union `Basic | Unknown`

sympy/utilities/codegen.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `InOutArgument`, found `InputArgument`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `InOutArgument`, found `InputArgument`

sympy/vector/basisdependent.py

[error] invalid-assignment - Object of type `dict[Unknown, Unknown]` is not assignable to attribute `_components` on type `Expr & ~Mul`
[error] invalid-assignment - Object of type `dict[Unknown, Divergent]` is not assignable to attribute `_components` on type `Expr & ~Mul`

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

test/test_image.py

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

test/test_models.py

[error] invalid-argument-type - Argument to `Inception3.__init__` is incorrect: Expected `list[(...) -> Unknown] | None`, found `bool`
[error] invalid-argument-type - Argument to `GoogLeNet.__init__` is incorrect: Expected `list[(...) -> Unknown] | None`, found `bool`

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

src/werkzeug/http.py

[error] no-matching-overload - No overload of bound method `str.join` matches arguments

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

xarray/backends/common.py

[error] invalid-return-type - Return type does not match returned value: expected `NestedSequence[str | ReadBuffer[Unknown]]`, found `list[str | PathLike[Unknown] | ReadBuffer[Unknown] | NestedSequence[str | PathLike[Unknown] | ReadBuffer[Unknown]]]`

xarray/core/dataset.py

[error] invalid-argument-type - Argument to function `merge_coordinates_without_align` is incorrect: Expected `list[Coordinates]`, found `list[Unknown & DataArrayCoordinates[Unknown]]`

xarray/core/groupby.py

[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `Hashable`

xarray/core/indexing.py

[error] invalid-argument-type - Argument to bound method `ChunkManagerEntrypoint.from_array` is incorrect: Expected `tuple[tuple[int, ...], ...]`, found `list[Unknown]`
[error] invalid-argument-type - Argument to bound method `ChunkManagerEntrypoint.from_array` is incorrect: Expected `tuple[tuple[int, ...], ...]`, found `list[Unknown | tuple[int]]`

xarray/core/variable.py

[error] invalid-argument-type - Argument to `OuterIndexer.__init__` is incorrect: Expected `tuple[int | integer[Any] | slice[Any, Any, Any] | ndarray[Any, dtype[generic[Any]]], ...]`, found `tuple[(Unknown & int) | (Unknown & Top[integer[Any]]) | (Unknown & slice[object, object, object]) | ... omitted 5 union elements, ...]`

xarray/tests/test_combine.py

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

xarray/tests/test_interp.py

[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `Hashable`
[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `Hashable`

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

zerver/lib/display_recipient.py

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

zerver/lib/streams.py

[error] unresolved-attribute - Object of type `Stream` has no attribute `realm_id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `realm_id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `realm_id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `Stream` has no attribute `id`
[error] unresolved-attribute - Object of type `UserGroup` has no attribute `id`
[error] unresolved-attribute - Object of type `UserGroup` has no attribute `id`
[error] unresolved-attribute - Object of type `UserGroup` has no attribute `id`

zerver/lib/test_classes.py

[error] unresolved-attribute - Object of type `RealmEmoji` has no attribute `realm_id`
[error] unresolved-attribute - Object of type `RealmEmoji` has no attribute `realm_id`

zerver/lib/user_groups.py

[error] unresolved-attribute - Object of type `object` has no attribute `date_created`
[error] unresolved-attribute - Object of type `object` has no attribute `date_created`
[error] unresolved-attribute - Object of type `object` has no attribute `name`
[error] unresolved-attribute - Object of type `object` has no attribute `description`
[error] unresolved-attribute - Object of type `object` has no attribute `is_system_group`
[error] unresolved-attribute - Object of type `object` has no attribute `deactivated`
[error] unresolved-attribute - Object of type `object` has no attribute `is_system_group`
[error] unresolved-attribute - Attribute `id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `id`
[error] unresolved-attribute - Attribute `id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `id`
[error] unresolved-attribute - Attribute `id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `id`
[error] unresolved-attribute - Attribute `creator_id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `creator_id`
[error] unresolved-attribute - Attribute `id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `id`
[error] unresolved-attribute - Attribute `can_add_members_group_id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `can_add_members_group_id`
[error] unresolved-attribute - Attribute `can_join_group_id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `can_join_group_id`
[error] unresolved-attribute - Attribute `can_leave_group_id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `can_leave_group_id`
[error] unresolved-attribute - Attribute `can_manage_group_id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `can_manage_group_id`
[error] unresolved-attribute - Attribute `can_mention_group_id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `can_mention_group_id`
[error] unresolved-attribute - Attribute `can_remove_members_group_id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `can_remove_members_group_id`
[error] unresolved-attribute - Attribute `id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `id`
[error] unresolved-attribute - Attribute `id` is not defined on `NamedUserGroup` in union `NamedUserGroup | Unknown`
[error] unresolved-attribute - Object of type `object` has no attribute `id`
[error] unresolved-attribute - Object of type `object` has no attribute `name`

zerver/views/user_groups.py

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