Ecosystem report

Old: main (merge base) d1e1b1f6 → New: 26680/merge f4367ee2
Lint Rule Removed Added Changed
Total 1208 89 131
unsound-return-statement 582 15 25
unsound-assignment 484 6 14
invalid-argument-type 57 18 56
invalid-assignment 29 13 5
invalid-return-type 26 4 5
unresolved-attribute 10 0 12
type-assertion-failure 3 2 6
no-matching-overload 4 6 0
redundant-cast 0 10 0
redundant-condition-strict 2 6 0
unsound-yield 5 0 2
unused-type-ignore-comment 2 5 0
truthiness-test-of-none-union 1 2 3
unsupported-operator 2 0 3
deprecated 0 1 0
disjoint-cast 1 0 0
redundant-condition 0 1 0
Project Removed Added Changed
Total 1208 89 131
core strict 183 5 5
prefect strict 99 4 3
steam.py non-strict 90 0 0
spark strict 59 0 8
jax non-strict 45 0 2
hydpy non-strict 43 0 2
Expression non-strict 36 1 3
xarray strict 17 9 12
openlibrary non-strict 32 0 3
static-frame non-strict 28 4 1
sympy non-strict 17 12 3
colour non-strict 23 0 8
pyochain non-strict 19 11 1
schemathesis non-strict 19 0 12
dedupe strict 29 1 0
sphinx strict 27 1 0
Tanjun non-strict 27 0 0
pandas strict 20 2 5
meson strict 26 0 0
zulip strict 21 0 2

CPython (peg_generator) non-strict (https://github.com/python/cpython)

Tools/peg_generator/pegen/grammar.py

[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `AbstractSet[str]`

Tools/peg_generator/pegen/grammar_parser.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str] | None`

Expression non-strict (https://github.com/cognitedata/Expression)

tests/test_parser.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[Expression]`

README.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`

expression/collections/array.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `TypedArray[_TSource@TypedArray]`
[warning] unsound-return-statement - Unsound return statement: `Iterator[Any]` is not a subtype of `Iterator[_TSource@TypedArray]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

expression/collections/block.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `_TResult@sum_by`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Block[_TSource@Block]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Block[_TSource@concat]`

expression/collections/seq.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `_TSource@Seq`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Option[_TResult@try_pick]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterable[_TSource@Seq]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterable[_TResult@choose]`

expression/effect/result.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Result[_TResult@bind, _TError@ResultBuilder]`

expression/extra/parser.py

[warning] unsound-return-statement - Unsound return statement: `Parser[Block[Any]]` is not a subtype of `Parser[Block[_A@sequence]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[tuple[_A@Parser, _B@and_then]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[_A@Parser]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[_B@map]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[_B@bind]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[str]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[_B@apply]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[str]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Parser[Option[_A@opt]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[_A@then_ignore]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[_B@ignore_then]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[int]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[_A@between]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Parser[None]`

expression/extra/result/catch.py

[warning] unsound-return-statement - Unsound return statement: `Result[_TSource@catch, Any]` is not a subtype of `Result[_TSource@catch, _TError@catch]`
[warning] unsound-return-statement - Unsound return statement: `Result[_TSource@catch & ~Result[object, object], Any]` is not a subtype of `Result[_TSource@catch, _TError@catch]`

expression/extra/result/traversable.py

[warning] unsound-assignment - Unsound assignment: `Result[Block[Any], Any]` is not a subtype of `Result[Block[_TResult@traverse], _TError@traverse]`
[warning] unsound-assignment - Unsound assignment: `Result[Block[_TResult@traverse], Any]` is not a subtype of `Result[Block[_TResult@traverse], _TError@traverse]`

tests/test_array.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TypedArray[str]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TypedArray[uint8]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TypedArray[uint16]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TypedArray[uint32]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TypedArray[float32]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TypedArray[int16]`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(TypedArray[int16], /) -> TypedArray[int16] | _A'return@curry_flip`, found `(_A'return@curry_flip, /) -> _A'return@curry_flip`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(TypedArray[int16], /) -> TypedArray[int16]`, found `(_A'return@curry_flip, /) -> _A'return@curry_flip`

tests/test_compose.py

[error] invalid-assignment - Object of type `(_A@compose, /) -> _A@compose` is not assignable to `(int, /) -> int`

tests/test_option.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Option[int]`
[warning] unsound-assignment - Unsound assignment: `Option[Any]` is not a subtype of `Option[int]`

PyGithub non-strict (https://github.com/PyGithub/PyGithub)

github/GithubObject.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unsound-return-statement - Unsound return statement: `_BadAttribute[Unknown]` is not a subtype of `Attribute[list[T_gh@_makeListOfClassesAttribute]]`
[warning] unsound-return-statement - Unsound return statement: `_BadAttribute[Unknown]` is not a subtype of `Attribute[list[T_gh@_makeListOfUnionClassesAttributeFromTypeKey]]`
[warning] unsound-return-statement - Unsound return statement: `_BadAttribute[Unknown]` is not a subtype of `Attribute[dict[str, T_gh@_makeDictOfStringsToClassesAttribute]]`

github/RepositoryDiscussionComment.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `RepositoryDiscussionComment`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `RepositoryDiscussionComment`

Tanjun non-strict (https://github.com/FasterSpeeding/Tanjun)

tanjun/annotations.py

[warning] unsound-return-statement - Unsound return statement: `<class 'Snowflake'> | type[Unknown]` is not a subtype of `<class 'Snowflake'> | type[_T@__getitem__]`

tanjun/clients.py

[warning] unsound-return-statement - Unsound return statement: `filter[Unknown]` is not a subtype of `Iterator[BaseSlashCommand]`
[error] invalid-return-type - Return type does not match returned value: expected `((...) -> Coroutine[Any, Any, _T@get_callback_override] | _T@get_callback_override) | None`, found `((...) -> Coroutine[Any, Any, _T@get_callback_override | Coroutine[Any, Any, _T@get_callback_override]] | _T@get_callback_override) | None`

tanjun/components.py

[error] invalid-return-type - Return type does not match returned value: expected `_CommandT@with_command | ((_CommandT@with_command, /) -> _CommandT@with_command)`, found `ExecutableCommand[Any] | ((ExecutableCommand[Any], /) -> ExecutableCommand[Any])`
[error] invalid-return-type - Return type does not match returned value: expected `_MenuCommandT@with_menu_command | ((_MenuCommandT@with_menu_command, /) -> _MenuCommandT@with_menu_command)`, found `MenuCommand[Any, Any] | ((MenuCommand[Any, Any], /) -> MenuCommand[Any, Any])`
[error] invalid-return-type - Return type does not match returned value: expected `_BaseSlashCommandT@with_slash_command | ((_BaseSlashCommandT@with_slash_command, /) -> _BaseSlashCommandT@with_slash_command)`, found `BaseSlashCommand | ((BaseSlashCommand, /) -> BaseSlashCommand)`
[error] invalid-return-type - Return type does not match returned value: expected `_MessageCommandT@with_message_command | ((_MessageCommandT@with_message_command, /) -> _MessageCommandT@with_message_command)`, found `MessageCommand[Any] | ((MessageCommand[Any], /) -> MessageCommand[Any])`

tanjun/context/menu.py

[warning] unsound-return-statement - Unsound return statement: `InteractionMember | Unknown` is not a subtype of `User | Message`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Message`
[warning] unsound-return-statement - Unsound return statement: `(InteractionMember & ~AlwaysFalsy) | Unknown` is not a subtype of `User`

tanjun/conversion.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | CacheComponents` is not a subtype of `CacheComponents`
[warning] unsound-return-statement - Unsound return statement: `Unknown | Intents` is not a subtype of `Intents`
[warning] unsound-return-statement - Unsound return statement: `PermissibleGuildChannel | Unknown` is not a subtype of `PartialChannel`
[warning] unsound-return-statement - Unsound return statement: `GuildThreadChannel | Unknown` is not a subtype of `PartialChannel`
[warning] unsound-return-statement - Unsound return statement: `DMChannel | Unknown` is not a subtype of `PartialChannel`
[warning] unsound-return-statement - Unsound return statement: `KnownCustomEmoji | Unknown` is not a subtype of `KnownCustomEmoji`
[warning] unsound-return-statement - Unsound return statement: `Guild | Unknown` is not a subtype of `Guild`
[warning] unsound-return-statement - Unsound return statement: `InviteWithMetadata | Unknown` is not a subtype of `Invite`
[warning] unsound-return-statement - Unsound return statement: `Member | Unknown` is not a subtype of `Member`
[warning] unsound-return-statement - Unsound return statement: `Role | Unknown` is not a subtype of `Role`
[warning] unsound-return-statement - Unsound return statement: `User | Unknown` is not a subtype of `User`
[warning] unsound-return-statement - Unsound return statement: `Message | Unknown` is not a subtype of `Message`

tanjun/dependencies/data.py

[error] invalid-return-type - Return type does not match returned value: expected `_T@inject_lc`, found `_T@inject_lc | Coroutine[Any, Any, _T@inject_lc]`
[error] invalid-return-type - Return type does not match returned value: expected `(...) -> Coroutine[Any, Any, _T@cache_callback]`, found `_CacheCallback[_T@cache_callback | Coroutine[Any, Any, _T@cache_callback]]`
[error] invalid-return-type - Return type does not match returned value: expected `_T@cached_inject`, found `_T@cached_inject | Coroutine[Any, Any, _T@cached_inject | Coroutine[Any, Any, _T@cached_inject]]`

tanjun/dependencies/limiters.py

[warning] unsound-return-statement - Unsound return statement: `Role | Unknown` is not a subtype of `Role | None`

tanjun/permissions.py

[warning] unsound-assignment - Unsound assignment: `Guild | Unknown` is not a subtype of `Guild | None`

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

aiohttp/abc.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[URL]`

aiohttp/client.py

[warning] unsound-assignment - Unsound assignment: `CIMultiDict[Unknown]` is not a subtype of `Mapping[str, str] | Mapping[istr, str] | Iterable[tuple[str, str]] | None`
[error] invalid-argument-type - Argument to bound method `ClientWebSocketResponse.__aenter__` is incorrect: Argument type `_RetType_co@_BaseRequestContextManager` does not satisfy upper bound `ClientWebSocketResponse[bool]` of type variable `Self`

aiohttp/cookiejar.py

[warning] unsound-return-statement - Unsound return statement: `MappingProxyType[tuple[str, str], Unknown]` is not a subtype of `MappingProxyType[tuple[str, str], SimpleCookie]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[tuple[str, str, str]]`

aiohttp/multipart.py

[warning] unsound-assignment - Unsound assignment: `CIMultiDict[Unknown]` is not a subtype of `Mapping[str, str] | None`
[warning] unsound-assignment - Unsound assignment: `CIMultiDict[Unknown]` is not a subtype of `Mapping[str, str] | None`
[warning] unsound-assignment - Unsound assignment: `CIMultiDict[Unknown]` is not a subtype of `Mapping[str, str] | None`
[warning] unsound-assignment - Unsound assignment: `list[tuple[Unknown, Unknown] | tuple[str, str]]` is not a subtype of `Sequence[tuple[str, str]] | Mapping[str, str]`

aiohttp/web_app.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `PrefixedSubAppResource`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `MatchedSubAppResource`

aiohttp/web_request.py

[warning] unsound-return-statement - Unsound return statement: `MappingProxyType[str, str | Any]` is not a subtype of `Mapping[str, str]`

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

tests/test_runserver_watch.py

[warning] unsound-assignment - Unsound assignment: `set[tuple[MagicMock, str] | tuple[WebSocketResponse[Literal[True]], str]]` is not a subtype of `set[tuple[WebSocketResponse[Literal[True]], str]]`

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

aioredis/client.py

[warning] unsound-assignment - Unsound assignment: `list[Unknown]` is not a subtype of `bytes | Sequence[bytes | str | memoryview[int]] | memoryview[int]`

aiortc non-strict (https://github.com/aiortc/aiortc)

src/aiortc/rtcpeerconnection.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `RTCRtpTransceiver | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `RTCRtpTransceiver | None`

src/aiortc/rtcsctptransport.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

src/aiortc/sdp.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `RTCRtpCodecParameters`

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

altair/vegalite/v6/schema/_typing.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `Pattern[str]`

antidote strict (https://github.com/Finistere/antidote)

src/antidote/core/wiring.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

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

src/anyio/_backends/_asyncio.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `T_Retval@run`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `T_Retval@run`
[error] invalid-argument-type - Argument to bound method `AbstractEventLoop.run_until_complete` is incorrect: Expected `Generator[Any, None, T_Retval@run] | Awaitable[T_Retval@run]`, found `Unknown | Task[_T@create_task]`

src/anyio/_core/_sockets.py

[error] invalid-argument-type - Argument to bound method `AsyncBackend.connect_unix` is incorrect: Expected `str | bytes`, found `str | bytes | PathLike[Any]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `ConnectedUNIXDatagramSocket`
[error] no-matching-overload - No overload of bound method `AsyncBackend.create_unix_datagram_socket` matches arguments

src/anyio/_core/_tempfile.py

[warning] unsound-return-statement - Unsound return statement: `AsyncFile[Any]` is not a subtype of `AsyncFile[AnyStr@TemporaryFile]`
[warning] unsound-return-statement - Unsound return statement: `AsyncFile[Unknown]` is not a subtype of `AsyncFile[AnyStr@NamedTemporaryFile]`

apprise non-strict (https://github.com/caronc/apprise)

apprise/apprise.py

[warning] unsound-return-statement - Unsound return statement: `chain[Unknown | NotifyBase]` is not a subtype of `Iterator[NotifyBase]`

apprise/apprise_attachment.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[AttachBase]`

apprise/dispatch.py

[warning] unsound-return-statement - Unsound return statement: `Any | float` is not a subtype of `float`

archinstall non-strict (https://github.com/archlinux/archinstall)

archinstall/lib/menu/helpers.py

[warning] unsound-return-statement - Unsound return statement: `Result[Unknown]` is not a subtype of `Result[bool]`
[warning] unsound-return-statement - Unsound return statement: `Result[Unknown]` is not a subtype of `Result[ValueT@Loading]`

archinstall/lib/global_menu.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str | None`

archinstall/lib/models/device.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `PartitionModification | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `PartitionModification | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `PartitionModification | None`

archinstall/lib/profile/profiles_handler.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `Profile | None`

archinstall/lib/translationhandler.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Language`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Language`

artigraph non-strict (https://github.com/artigraph/artigraph)

docs/examples/spend/demo.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

src/arti/fingerprints/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | Self@combine` is not a subtype of `Fingerprint`

src/arti/storage/__init__.py

[warning] unsound-return-statement - Unsound return statement: `frozendict[str, Any]` is not a subtype of `frozendict[str, str]`

bandersnatch strict (https://github.com/pypa/bandersnatch)

src/bandersnatch/delete.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

beartype non-strict (https://github.com/beartype/beartype)

beartype/_data/cls/datacls.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[type]`

beartype/_data/py/databuiltins.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[type]`

beartype/_util/api/external/utilnumpy.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[type]`

bidict non-strict (https://github.com/jab/bidict)

bidict/_base.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Any]` is not a subtype of `Iterator[VT@BidictValuesView]`
[warning] unsound-return-statement - Unsound return statement: `Iterator[Any]` is not a subtype of `Iterator[VT@BidictValuesView]`

bidict/_iter.py

[warning] unsound-return-statement - Unsound return statement: `map[Any]` is not a subtype of `Iterator[tuple[VT@inverted, KT@inverted]]`

bokeh non-strict (https://github.com/bokeh/bokeh)

src/bokeh/core/property/datetime.py

[warning] redundant-condition-strict - Condition `isinstance(value, datetime.date)` is always true

src/bokeh/core/property/wrappers.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `T_Val@PropertyValueDict`

src/bokeh/layouts.py

[warning] unsound-assignment - Unsound assignment: `list[UIElement | None | Sequence[GridChild] | Unknown]` is not a subtype of `str | GridChildren | Row | Column`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int | None`
[error] invalid-argument-type - Argument is incorrect: Expected `list[row | col]`, found `list[UIElement | None | Sequence[GridChild] | Unknown]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[row | col]`, found `list[GridChild]`

src/bokeh/models/layouts.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

src/bokeh/models/sources.py

[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[str]`, found `Property[dict[str, Any]]`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `Property[dict[str, Any]]`
[warning] unsound-return-statement - Unsound return statement: `list[Unknown]` is not a subtype of `list[str]`

src/bokeh/palettes.py

[error] invalid-assignment - Object of type `dict[str, dict[int, Palette] | dict[int, tuple[str, str, str] | tuple[str, str, str, str] | tuple[str, str, str, str, str] | ... omitted 4 union elements] | dict[int, tuple[str, str, str] | tuple[str, str, str, str] | tuple[str, str, str, str, str] | ... omitted 5 union elements] | ... omitted 3 union elements]` is not assignable to `PaletteMap`
[error] invalid-assignment - Object of type `dict[Divergent | str, Divergent | dict[int, tuple[str, str, str] | tuple[str, str, str, str] | tuple[str, str, str, str, str] | ... omitted 4 union elements] | dict[int, tuple[str, str, str] | tuple[str, str, str, str] | tuple[str, str, str, str, str] | ... omitted 5 union elements] | ... omitted 3 union elements]` is not assignable to `PaletteMap`

src/bokeh/plotting/contour.py

[error] invalid-argument-type - Argument to `ContourRenderer.__init__` is incorrect: Expected `Sequence[float]`, found `list[Any | float64 | ndarray[_AnyShape, dtype[float64]]]`

src/bokeh/server/auth.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str | None`
[error] invalid-argument-type - Argument to function `_run_in_executor` is incorrect: Expected `(...) -> str | None`, found `(str & ((...) -> object)) | ((ServerRequest, /) -> str | None)`

src/bokeh/server/views/auth_request_handler.py

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

boostedblob strict (https://github.com/hauntsaninja/boostedblob)

boostedblob/read.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[bytes] | Boostable[bytes]`

cibuildwheel non-strict (https://github.com/pypa/cibuildwheel)

cibuildwheel/selector.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Self@parse_option_value | Unknown]` is not a subtype of `frozenset[Self@parse_option_value]`

cibuildwheel/typing.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[Literal["linux", "macos", "windows", "pyodide", "android", "ios"]]`

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

cloudinit/sources/DataSourceVMware.py

[warning] unsound-assignment - Unsound assignment: `dict[EventScope | Unknown, set[EventType]]` is not a subtype of `dict[EventScope, set[EventType]]`

tests/unittests/sources/test_oracle.py

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

tests/unittests/test_net.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["devices"]` and value of type `set[str | Unknown]` on object of type `dict[str, list[str] | dict[str, str | None] | dict[Unknown, Unknown]]`
[error] unresolved-attribute - Attribute `keys` is not defined on `list[str]` in union `list[str] | dict[str, str | None] | dict[Unknown, Unknown]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["devices"]` and value of type `set[str]` on object of type `dict[str, list[str] | dict[str, str | None] | dict[str, str]]`
[error] unresolved-attribute - Attribute `keys` is not defined on `list[str]` in union `list[str] | dict[str, str | None] | dict[str, str]`

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

colour/colorimetry/lefs.py

[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`

colour/colorimetry/photometry.py

[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`

colour/characterisation/aces_it.py

[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`

colour/colorimetry/spectrum.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `TypeMultiSpectralDistributions@reshape_msds`

colour/colorimetry/tristimulus_values.py

[warning] unsound-assignment - Unsound assignment: `MultiSpectralDistributions | Any` is not a subtype of `MultiSpectralDistributions | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-return-statement - Unsound return statement: `tuple[MultiSpectralDistributions | Any, SpectralDistribution | Any]` is not a subtype of `tuple[MultiSpectralDistributions, SpectralDistribution]`

colour/io/ctl.py

[warning] unsound-assignment - Unsound assignment: `Sequence[str] | list[Unknown]` is not a subtype of `Sequence[str] | None`
[warning] unsound-assignment - Unsound assignment: `Sequence[str] | list[Unknown]` is not a subtype of `Sequence[str] | None`

colour/plotting/models.py

[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `Colorizer | None`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `Colorizer | None`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `Mapping[str, Any] | None`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `Mapping[str, Any] | None`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `Sequence[tuple[float, float, float] | str | tuple[float, float, float, float] | tuple[tuple[float, float, float] | str, float] | tuple[tuple[float, float, float, float], float]] | tuple[float, float, float] | tuple[float, float, float, float] | ... omitted 3 union elements`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `Sequence[tuple[float, float, float] | str | tuple[float, float, float, float] | tuple[tuple[float, float, float] | str, float] | tuple[tuple[float, float, float, float], float]] | tuple[float, float, float] | tuple[float, float, float, float] | ... omitted 3 union elements`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `bool`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `bool`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `float | None`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `float | None`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `float | Sequence[float] | None`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `float | Sequence[float] | None`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `str | Colormap | None`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `str | Colormap | None`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `str | Normalize | None`, found `complex | Any | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `Axes.scatter` is incorrect: Expected `str | Normalize | None`, found `complex | ndarray[tuple[Any, ...], dtype[Any]] | _Buffer | ... omitted 6 union elements`

colour/plotting/temperature.py

[warning] unsound-assignment - Unsound assignment: `Sequence[str] | list[Unknown]` is not a subtype of `Sequence[str] | None`

colour/recovery/gaussian.py

[warning] unsound-assignment - Unsound assignment: `MultiSpectralDistributions | Any` is not a subtype of `MultiSpectralDistributions | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`
[warning] unsound-assignment - Unsound assignment: `MultiSpectralDistributions | Any` is not a subtype of `MultiSpectralDistributions | None`
[warning] unsound-assignment - Unsound assignment: `SpectralDistribution | Any` is not a subtype of `SpectralDistribution | None`

comtypes non-strict (https://github.com/enthought/comtypes)

comtypes/server/register.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

comtypes/typeinfo.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `tagTLIBATTR`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `tagTYPEATTR`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `tagFUNCDESC`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `tagVARDESC`

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

homeassistant/components/actron_air/cover.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/advantage_air/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/alexa/handlers.py

[warning] unsound-assignment - Unsound assignment: `Any | int` is not a subtype of `float | None`

homeassistant/components/anglian_water/coordinator.py

[warning] truthiness-test-of-none-union - Boolean test on `list[StatisticsRow] | None` does not distinguish `None` from other falsy values: `None` and an empty list are both falsy
[warning] truthiness-test-of-none-union - Boolean test on `list[Any] | None` does not distinguish `None` from other falsy values: `None` and an empty list are both falsy

homeassistant/components/arris_tg2492lg/device_tracker.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/awair/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

homeassistant/components/bosch_shc/cover.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/bring/util.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/cambridge_audio/media_player.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/cambridge_audio/select.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/casper_glow/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/control4/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/crownstone/config_flow.py

[warning] truthiness-test-of-none-union - Boolean test on `None | str` does not distinguish `None` from other falsy values: `None` and the empty string are both falsy
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str | None`

homeassistant/components/deconz/services.py

[warning] redundant-condition-strict - Condition `hub is None` is always true
[warning] unsound-assignment - Unsound assignment: `Any | None` is not a subtype of `DeconzHub | None`

homeassistant/components/devolo_home_control/climate.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `float | None`

homeassistant/components/dwd_weather_warnings/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Any | Literal[0]` is not a subtype of `int | None`

homeassistant/components/ecobee/weather.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

homeassistant/components/elevenlabs/config_flow.py

[warning] unsound-return-statement - Unsound return statement: `tuple[dict[UnspecializedTypeVar, UnspecializedTypeVar], dict[UnspecializedTypeVar, UnspecializedTypeVar]]` is not a subtype of `tuple[dict[str, str], dict[str, str]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[dict[Unknown, Unknown], dict[Unknown, Unknown]]` is not a subtype of `tuple[dict[str, str], dict[str, str]]`

homeassistant/components/elgato/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/enphase_envoy/coordinator.py

[warning] unsound-return-statement - Unsound return statement: `Literal[False] | Unknown` is not a subtype of `bool`

homeassistant/components/esphome/climate.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/esphome/cover.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/esphome/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, Unknown, Unknown]` is not a subtype of `tuple[int, int, int]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, Unknown, Unknown]` is not a subtype of `tuple[int, int, int]`

homeassistant/components/esphome/valve.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/evohome/climate.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `float | None`

homeassistant/components/ffmpeg/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bytes | None`

homeassistant/components/flux_led/light.py

[warning] unsound-return-statement - Unsound return statement: `int | (Any & ~None)` is not a subtype of `int`

homeassistant/components/flux_led/number.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | int` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown | int` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown | int` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown | int` is not a subtype of `int`

homeassistant/components/fressnapf_tracker/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/fritz/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

homeassistant/components/frontend/__init__.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/goodwe/number.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | Literal[""]` is not a subtype of `str`

homeassistant/components/google_assistant/helpers.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | Literal[204]` is not a subtype of `int`

homeassistant/components/google_sheets/services.py

[warning] unsound-assignment - Unsound assignment: `Unknown | list[str]` is not a subtype of `list[str]`

homeassistant/components/heos/media_player.py

[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `int | None`

homeassistant/components/here_travel_time/coordinator.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`

homeassistant/components/hikvision/binary_sensor.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/homematicip_cloud/fan.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/homematicip_cloud/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/homematicip_cloud/weather.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

homeassistant/components/homewizard/number.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

homeassistant/components/honeywell/climate.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

homeassistant/components/hue/v2/binary_sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/hue/v2/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/hue/v2/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

homeassistant/components/hunterdouglas_powerview/cover.py

[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/iaqualink/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/incomfort/water_heater.py

[warning] unsound-return-statement - Unsound return statement: `Unknown & ~None` is not a subtype of `float | None`

homeassistant/components/knx/config_flow.py

[warning] redundant-condition - `None` is always falsy
[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `int | None`

homeassistant/components/knx/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/knx/llm_api.py

[warning] unsound-return-statement - Unsound return statement: `Any | None` is not a subtype of `str | None`

homeassistant/components/knx/storage/expose_controller.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `KNXExposeDataModel`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `ExposeConfig`

homeassistant/components/knx/storage/time_server.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `TimeServerConfig`

homeassistant/components/kodi/browse_media.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/lg_netcast/remote.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/lg_thinq/mqtt.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/liebherr/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/litterrobot/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/lunatone/light.py

[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~AlwaysTruthy) | tuple[Unknown, Unknown, Unknown]` is not a subtype of `tuple[int, int, int] | None`
[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~AlwaysTruthy) | tuple[int, int, int]` is not a subtype of `tuple[int, int, int] | None`
[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~AlwaysTruthy) | tuple[Unknown, Unknown, Unknown, Unknown]` is not a subtype of `tuple[int, int, int, int] | None`
[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~AlwaysTruthy) | tuple[int, int, int, int]` is not a subtype of `tuple[int, int, int, int] | None`

homeassistant/components/lyngdorf/media_player.py

[warning] unsound-return-statement - Unsound return statement: `float* | Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/maxcube/climate.py

[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~AlwaysFalsy) | float*` is not a subtype of `float`

homeassistant/components/mcp_server/http.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[str]`

homeassistant/components/melcloud_home/coordinator.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `float | None`

homeassistant/components/mfi/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `StateType`

homeassistant/components/min_max/sensor.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `float`

homeassistant/components/modbus/validators.py

[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int`

homeassistant/components/mqtt/client.py

[warning] unsound-return-statement - Unsound return statement: `(topic: str) -> Unknown | Literal[False]` is not a subtype of `(str, /) -> bool`

homeassistant/components/mqtt/date.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/mqtt/datetime.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/mqtt/entity.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/mqtt/infrared.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/mqtt/lawn_mower.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/mqtt/time.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/netatmo/api.py

[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `Iterable[str]`
[warning] unsound-return-statement - Unsound return statement: `list[Unknown]` is not a subtype of `Iterable[str]`

homeassistant/components/nissan_leaf/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `StateType`

homeassistant/components/nws/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | datetime | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | datetime | None`

homeassistant/components/ollama/models.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/playstation_network/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/powerwall/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `None | Unknown` is not a subtype of `float | None`
[warning] unsound-return-statement - Unsound return statement: `None | Unknown` is not a subtype of `float | None`
[warning] unsound-return-statement - Unsound return statement: `None | Unknown` is not a subtype of `float | None`

homeassistant/components/rainmachine/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/rehlko/binary_sensor.py

[warning] unsound-return-statement - Unsound return statement: `Any | None` is not a subtype of `bool | None`

homeassistant/components/sense/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

homeassistant/components/shelly/light.py

[warning] unsound-return-statement - Unsound return statement: `int | Any` is not a subtype of `int`

homeassistant/components/smartthings/switch.py

[warning] unsound-assignment - Unsound assignment: `Any | list[bool]` is not a subtype of `list[bool]`

homeassistant/components/splunk/__init__.py

[warning] unsound-assignment - Unsound assignment: `EntityFilter | Unknown` is not a subtype of `EntityFilter`

homeassistant/components/spotify/media_player.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/switchbot/light.py

[warning] unsound-return-statement - Unsound return statement: `Literal[0, 255] | Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Literal[0, 255] | Unknown` is not a subtype of `int | None`

homeassistant/components/system_bridge/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

homeassistant/components/systemmonitor/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

homeassistant/components/systemmonitor/util.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

homeassistant/components/tradfri/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/tuya/alarm_control_panel.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/tuya/binary_sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`

homeassistant/components/tuya/climate.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `bool | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/tuya/cover.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`

homeassistant/components/tuya/fan.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`

homeassistant/components/tuya/humidifier.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`

homeassistant/components/tuya/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`
[warning] unsound-return-statement - Unsound return statement: `None | Unknown` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `int | None`

homeassistant/components/tuya/number.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `float | None`

homeassistant/components/tuya/select.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/tuya/sensor.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `StateType`

homeassistant/components/tuya/siren.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`

homeassistant/components/tuya/switch.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `bool | None`

homeassistant/components/tuya/vacuum.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

homeassistant/components/unifiprotect/event.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/components/utility_meter/sensor.py

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

homeassistant/components/uvc/camera.py

[warning] redundant-cast - Value is already of type `str`

homeassistant/components/vicare/utils.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | float` is not a subtype of `float`

homeassistant/components/vizio/coordinator.py

[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `bool | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `str | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `int | None`

homeassistant/components/wled/coordinator.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[tuple[Unknown, Unknown, Unknown]]` is not a subtype of `frozenset[tuple[bool, bool, bool]] | None`

homeassistant/components/xbox/media_source.py

[warning] unsound-assignment - Unsound assignment: `ConfigEntry[Any]` is not a subtype of `XboxConfigEntry`
[warning] unsound-assignment - Unsound assignment: `ConfigEntry[Any]` is not a subtype of `XboxConfigEntry`

homeassistant/components/xiaomi_miio/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/xthings_cloud/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/zimi/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int | None`

homeassistant/components/zwave_js/config_flow.py

[warning] unsound-assignment - Unsound assignment: `Task[Unknown]` is not a subtype of `Task[None] | None`

homeassistant/components/zwave_js/cover.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/components/zwave_js/helpers.py

[warning] unsound-return-statement - Unsound return statement: `ConfigEntry[Any]` is not a subtype of `ZwaveJSConfigEntry`

homeassistant/components/zwave_js/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | Literal[0]` is not a subtype of `int | None`

homeassistant/components/zwave_me/light.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

homeassistant/config_entries.py

[warning] unsound-assignment - Unsound assignment: `dict[str, str | Unknown]` is not a subtype of `Mapping[str, str] | None`

homeassistant/helpers/entity.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

homeassistant/helpers/selector.py

[warning] unsound-assignment - Unsound assignment: `ReadOnlyDict[str, Unknown]` is not a subtype of `Mapping[str, frozenset[str]]`

homeassistant/util/hass_dict.pyi

[error] type-assertion-failure - Type `Unknown` does not match asserted type `dict[int, bool]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `set[str]`

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

cwltool/builder.py

[warning] redundant-cast - Value is already of type `list[str]`

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

ddtrace/appsec/_api_security/_normalized_route.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[int]`
[warning] unsound-assignment - Unsound assignment: `frozenset[int] | frozenset[Unknown]` is not a subtype of `frozenset[int]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[int]`

ddtrace/appsec/_contrib/filesystem/patch.py

[warning] unsound-assignment - Unsound assignment: `str | bytes | Unknown` is not a subtype of `bytes | str | None`
[warning] truthiness-test-of-none-union - Boolean test on `None | str | bytes | Unknown` does not distinguish `None` from other falsy values: Both `None` and non-`None` values can be falsy
[warning] truthiness-test-of-none-union - Boolean test on `None | str | bytes` does not distinguish `None` from other falsy values: Both `None` and non-`None` values can be falsy

ddtrace/appsec/_iast/reporter.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | int` is not a subtype of `int`

ddtrace/debugging/_signal/utils.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[type]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[type]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[type]`
[warning] unsound-assignment - Unsound assignment: `frozenset[<class 'int'> | <class 'float'> | <class 'str'> | ... omitted 7 union elements]` is not a subtype of `frozenset[type]`

ddtrace/internal/writer/writer.py

[warning] unsound-assignment - Unsound assignment: `(int & ~AlwaysFalsy) | Any` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `(int & ~AlwaysFalsy) | Any` is not a subtype of `int | None`

ddtrace/propagation/http.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[str | Unknown]` is not a subtype of `frozenset[str]`

scripts/get_latest_version.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

tests/aiguard/api/test_redaction.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

tests/contrib/vllm/api_app.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 `SupportsInt` on object of type `list[Unknown]`

dedupe strict (https://github.com/dedupeio/dedupe)

dedupe/api.py

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

dedupe/convenience.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[tuple[int, int]]`
[warning] unsound-return-statement - Unsound return statement: `zip[tuple[Unknown, Unknown]]` is not a subtype of `Iterator[tuple[int, int]]`
[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[tuple[int, int]]`
[warning] unsound-return-statement - Unsound return statement: `zip[tuple[Unknown, Unknown]]` is not a subtype of `Iterator[tuple[int, int]]`

dedupe/predicate_functions.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Any]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[str | Any]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[str | Any]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Any]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[str | Any]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

dedupe/predicates.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, ...]` is not a subtype of `Sequence[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

dedupe/variables/price.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

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

discord/app_commands/tree.py

[warning] unsound-assignment - Unsound assignment: `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements] | Unknown | list[Unknown]` is not a subtype of `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements]`
[warning] unsound-assignment - Unsound assignment: `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements] | Unknown` is not a subtype of `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements]`
[warning] unsound-assignment - Unsound assignment: `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements] | Unknown | list[Unknown]` is not a subtype of `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements]`
[warning] unsound-assignment - Unsound assignment: `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements] | Unknown` is not a subtype of `list[_CommandGroupApplicationCommandInteractionDataOption | _StringValueApplicationCommandInteractionDataOption | _IntegerValueApplicationCommandInteractionDataOption | ... omitted 3 union elements]`

discord/guild.py

[error] unresolved-attribute - Attribute `name` is not defined on `None` in union `Member | None`
[error] unresolved-attribute - Attribute `discriminator` is not defined on `None` in union `Member | None`

discord/ui/modal.py

[warning] unsound-return-statement - Unsound return statement: `Task[Unknown]` is not a subtype of `Task[None]`

discord/ui/section.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Item[V@Section]`, found `(str & Item[BaseView]) | Item[BaseView & Any] | TextDisplay[Unknown]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Item[V@Section]`, found `(str & Item[BaseView]) | Item[BaseView & Any] | TextDisplay[Any]`

discord/ui/view.py

[warning] unsound-return-statement - Unsound return statement: `Task[Unknown]` is not a subtype of `Task[None] | None`

discord/utils.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `T@_find | None`

django-test-migrations non-strict (https://github.com/wemake-services/django-test-migrations)

django_test_migrations/checks/autonames.py

[warning] unsound-assignment - Unsound assignment: `Any | frozenset[Unknown]` is not a subtype of `frozenset[tuple[str, str]]`
[warning] unsound-assignment - Unsound assignment: `Any | frozenset[tuple[str, str]]` is not a subtype of `frozenset[tuple[str, str]]`

downforeveryone strict (https://github.com/rpdelaney/downforeveryone)

downforeveryone/useragents.py

[warning] redundant-cast - Value is already of type `str`

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

dulwich/config.py

[warning] unsound-return-statement - Unsound return statement: `_UniqueKeysView[Divergent]` is not a subtype of `KeysView[K@CaseInsensitiveOrderedMultiDict]`
[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[tuple[bytes, bytes]]`

dulwich/object_store.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[ObjectID]`

dulwich/pack.py

[warning] unsound-assignment - Unsound assignment: `Iterator[Unknown]` is not a subtype of `Iterator[UnpackedObject] | None`

dulwich/porcelain/__init__.py

[warning] unsound-return-statement - Unsound return statement: `enumerate[tuple[Any, Any]]` is not a subtype of `Iterator[tuple[int, tuple[bytes, bytes]]]`

dulwich/repo.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Literal[0], Iterator[Unknown]]` is not a subtype of `tuple[int, Iterator[UnpackedObject]]`

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

python/egglog/builtins.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[T@Map]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[T@Set]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[T@MultiSet]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[T@Vec]`

python/egglog/declarations.py

[warning] unsound-return-statement - Unsound return statement: `chain[TypeVarRef | TypeRefWithVars | Unknown]` is not a subtype of `Iterable[TypeVarRef | TypeRefWithVars]`

python/tests/test_bindings.py

[error] invalid-argument-type - Argument to constructor `CostModel.__new__` is incorrect: Argument type `Literal[0] | UnspecializedTypeVar` does not satisfy upper bound `_Cost` of type variable `_COST`
[error] invalid-argument-type - Argument to constructor `CostModel.__new__` is incorrect: Argument type `Literal[0]` does not satisfy upper bound `_Cost` of type variable `_COST`

python/tests/test_high_level.py

[error] unresolved-attribute - Object of type `BaseExpr` has no attribute `insert`
[error] unresolved-attribute - Object of type `BaseExpr` has no attribute `insert`
[error] unresolved-attribute - Object of type `BaseExpr` has no attribute `insert`
[error] unsupported-operator - Operator `+` is not supported between objects of type `BaseExpr` and `f64`

freqtrade non-strict (https://github.com/freqtrade/freqtrade)

freqtrade/exchange/exchange.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `float | Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Any | float*` is not a subtype of `float | None`

freqtrade/freqtradebot.py

[warning] unsound-return-statement - Unsound return statement: `Literal[0] | Any` is not a subtype of `int`

freqtrade/optimize/backtesting.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `float | Unknown` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Unknown` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `tuple[float | Unknown, Unknown, float, (int & ~AlwaysFalsy) | (float* & ~AlwaysFalsy) | Literal[0]]` is not a subtype of `tuple[float, float, float, float]`
[warning] unsound-return-statement - Unsound return statement: `tuple[float, Unknown, float, (int & ~AlwaysFalsy) | (float* & ~AlwaysFalsy) | Literal[0]]` is not a subtype of `tuple[float, float, float, float]`

freqtrade/optimize/optimize_reports/optimize_reports.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

freqtrade/persistence/trade_model.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | datetime` is not a subtype of `datetime`

freqtrade/wallets.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | float` is not a subtype of `float`

graphql-core strict (https://github.com/graphql-python/graphql-core)

tests/execution/incremental/test_work_queue.py

[error] invalid-assignment - Object of type `Computation[WorkResult | CoroutineType[Any, Any, WorkResult]]` is not assignable to `Computation[WorkResult]`
[error] invalid-assignment - Object of type `Computation[WorkResult | CoroutineType[Any, Any, WorkResult]]` is not assignable to `Computation[WorkResult]`
[error] invalid-argument-type - Argument to `WorkTask.__init__` is incorrect: Expected `Computation[WorkResult]`, found `Computation[WorkResult | CoroutineType[Any, Any, WorkResult]]`
[error] invalid-argument-type - Argument to `WorkTask.__init__` is incorrect: Expected `Computation[WorkResult]`, found `Computation[WorkResult | CoroutineType[Any, Any, WorkResult]]`

src/graphql/type/definition.py

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

tests/execution/incremental/test_incremental_executor.py

[error] invalid-assignment - Object of type `Computation[WorkResult | CoroutineType[Any, Any, WorkResult]]` is not assignable to `Computation[WorkResult]`

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

hydpy/models/gland/gland_derived.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

hydpy/core/filetools.py

[warning] unsound-yield - Unsound `yield from`: `tuple[str, Any]` is not a subtype of `tuple[str, str]`

hydpy/core/indextools.py

[warning] unsound-assignment - Unsound assignment: `ndarray[tuple[int], Unknown]` is not a subtype of `ndarray[tuple[int], dtype[float64]]`
[warning] unsound-assignment - Unsound assignment: `ndarray[tuple[int], dtype[Any]]` is not a subtype of `ndarray[tuple[int], dtype[float64]]`

hydpy/core/modeltools.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `float`

hydpy/core/objecttools.py

[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(~str & ~Real) | (Integral & ~str) | (Unknown & ~Real) | (Unknown & Integral) | float*`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `~Real | Integral | float*`

hydpy/exe/xmltools.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `ExchangeItem`

hydpy/models/dam/dam_model.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`

hydpy/models/evap/evap_model.py

[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`

hydpy/models/exch/exch_model.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`

hydpy/models/ga/ga_model.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`

hydpy/models/gland/gland_model.py

[warning] unsound-assignment - Unsound assignment: `Any | float` is not a subtype of `float`

hydpy/models/hland/hland_model.py

[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float` is not a subtype of `float`

hydpy/models/kinw/kinw_model.py

[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`

hydpy/models/lland/lland_model.py

[warning] unsound-return-statement - Unsound return statement: `Any | float` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `Any | float` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any | float*` is not a subtype of `float`

hydpy/models/manager/manager_model.py

[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float* | Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`

hydpy/models/meteo/meteo_model.py

[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `float | Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`

hydpy/models/musk/musk_model.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`

hydpy/models/rconc/rconc_model.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `float`

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

src/hydra_zen/structured_configs/_utils.py

[warning] redundant-cast - Value is already of type `Field[Any]`

tests/annotations/behaviors.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`

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

ibis/backends/sql/compilers/base.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[type[Node]]`

ibis/common/collections.py

[warning] unsound-return-statement - Unsound return statement: `V@RewindableIterator | Unknown` is not a subtype of `V@RewindableIterator`

ibis/common/egraph.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[K@DisjointSet]`

ibis/common/graph.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, ...]` is not a subtype of `tuple[Node, ...]`

ibis/expr/api.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | BooleanValue | bool` is not a subtype of `BooleanValue | bool`
[warning] unsound-return-statement - Unsound return statement: `Unknown | BooleanValue | bool` is not a subtype of `BooleanValue | bool`

ibis/expr/datatypes/core.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[str]`

ibis/expr/operations/core.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `DataShape`
[error] invalid-return-type - Return type does not match returned value: expected `Self@__coerce__`, found `Literal[T@Value]`
[error] invalid-return-type - Return type does not match returned value: expected `Self@__coerce__`, found `Literal[Unknown]`

ibis/expr/schema.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[str]`

ibis/expr/types/relations.py

[warning] unsound-assignment - Unsound assignment: `list[Unknown]` is not a subtype of `Iterable[str] | None`
[warning] unsound-assignment - Unsound assignment: `list[Unknown]` is not a subtype of `Iterable[str] | None`

ibis/expr/types/strings.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `BooleanValue`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `BooleanValue`

ibis/selectors.py

[warning] unsound-return-statement - Unsound return statement: `list[Unknown]` is not a subtype of `Sequence[Value]`
[error] invalid-argument-type - Argument to function `reduce` is incorrect: Expected `(Value, Value, /) -> Value`, found `(BooleanValue, BooleanValue, /) -> BooleanValue`
[warning] unsound-return-statement - Unsound return statement: `frozenset[str | Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

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

ignite/engine/engine.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `State`

ignite/handlers/time_profilers.py

[warning] unsound-assignment - Unsound assignment: `Unknown | Literal["not triggered"]` is not a subtype of `str | float`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str | float`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str | float`
[warning] unsound-assignment - Unsound assignment: `tuple[Unknown, Unknown]` is not a subtype of `tuple[str | float, str | float]`
[warning] unsound-assignment - Unsound assignment: `tuple[str, Unknown]` is not a subtype of `tuple[str | float, str | float]`
[warning] unsound-assignment - Unsound assignment: `tuple[Unknown, Unknown]` is not a subtype of `tuple[str | float, str | float]`
[warning] unsound-assignment - Unsound assignment: `tuple[str, Unknown]` is not a subtype of `tuple[str | float, str | float]`

tests/ignite/metrics/test_mutual_information.py

[warning] unsound-return-statement - Unsound return statement: `float* | Unknown` is not a subtype of `float`

janus non-strict (https://github.com/aio-libs/janus)

janus/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `T@PriorityQueue`

jax non-strict (https://github.com/google/jax)

jax/_src/effects.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `AbstractSet[Effect]`

jax/experimental/pallas/ops/tpu/ragged_paged_attention/tuned_block_sizes.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown | int, Unknown | int]` is not a subtype of `tuple[int, int]`

jax/_src/api_util.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, ...]` is not a subtype of `tuple[int, ...]`

jax/_src/core.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[Hashable]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[Hashable]`

jax/_src/hijax.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[int]`

jax/_src/interpreters/mlir.py

[error] invalid-argument-type - Argument to `ShapePolyLoweringState.__init__` is incorrect: Expected `tuple[str, ...]`, found `tuple[Top[SupportsDunderLT[Never]] | Top[SupportsDunderGT[Never]] | Unknown, ...]`
[error] unresolved-attribute - Object of type `Iterable[(Unknown & Top[SupportsDunderLT[Never]]) | (Unknown & Top[SupportsDunderGT[Never]])]` has no attribute `union`
[error] unresolved-attribute - Object of type `Iterable[Unknown]` has no attribute `union`

jax/_src/interpreters/partial_eval.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Literal[0], Unknown, str]` is not a subtype of `tuple[int, int, str] | None`
[warning] unsound-return-statement - Unsound return statement: `tuple[Literal[0], Unknown, str]` is not a subtype of `tuple[int, int, str] | None`
[warning] unsound-return-statement - Unsound return statement: `tuple[Literal[2], Unknown & ~AlwaysFalsy, Literal["Debug info doesn't match."]]` is not a subtype of `tuple[int, int, str] | None`

jax/_src/numpy/hijax.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, Array | (ndarray[tuple[int, ...], dtype[generic[object]]] & Unknown) | (numpy.bool[builtins.bool] & Unknown) | ... omitted 4 union elements]` is not a subtype of `tuple[Array, Array]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, Array]` is not a subtype of `tuple[Array, Array]`

jax/_src/numpy/lax_numpy.py

[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int | None`

jax/_src/pallas/fuser/block_spec.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `BlockSpec | NoBlockSpec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `BlockSpec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `BlockSpec`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `BlockSpec`

jax/_src/pallas/fuser/custom_fusion_lib.py

[warning] unsound-return-statement - Unsound return statement: `list[Unknown]` is not a subtype of `Sequence[set[Usage]]`

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

[warning] unsound-return-statement - Unsound return statement: `tuple[int | Any, ...]` is not a subtype of `tuple[int, ...]`

jax/_src/pallas/mosaic/lowering.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoweringRuleContext`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoweringRuleContext`

jax/_src/pallas/mosaic/pallas_call_registration.py

[warning] unsound-return-statement - Unsound return statement: `Any | None` is not a subtype of `Hashable`

jax/_src/pallas/mosaic/pipeline.py

[warning] unsound-assignment - Unsound assignment: `Unknown | Literal[0]` is not a subtype of `int | None`

jax/_src/pallas/mosaic_gpu/lowering.py

[warning] unsound-return-statement - Unsound return statement: `chain[Hashable | Unknown]` is not a subtype of `Iterator[Hashable]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoweringRuleContext`

jax/_src/pallas/mosaic_gpu/pipeline.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, ...]` is not a subtype of `tuple[Slice | Array, ...]`

jax/_src/pallas/triton/lowering.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoweringRuleContext`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoweringRuleContext`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoweringRuleContext`

jax/_src/random/philox2x32.py

[warning] unsound-assignment - Unsound assignment: `tuple[Unknown, ...]` is not a subtype of `tuple[int, ...]`

jax/_src/random/philox4x32.py

[warning] unsound-assignment - Unsound assignment: `tuple[Unknown, ...]` is not a subtype of `tuple[int, ...]`

jax/_src/random/threefry2x32.py

[warning] unsound-assignment - Unsound assignment: `tuple[Unknown, ...]` is not a subtype of `tuple[int, ...]`

jax/_src/random/threefry4x32.py

[warning] unsound-assignment - Unsound assignment: `tuple[Unknown, ...]` is not a subtype of `tuple[int, ...]`

jax/_src/tree_util.py

[warning] unsound-return-statement - Unsound return statement: `T@tree_reduce | Any` is not a subtype of `T@tree_reduce`

jax/experimental/jax2tf/jax2tf.py

[warning] unsound-return-statement - Unsound return statement: `tuple[None | Unknown, ...]` is not a subtype of `tuple[int | None, ...]`

jax/experimental/mosaic/gpu/examples/matmul.py

[warning] unsound-assignment - Unsound assignment: `int | Unknown` is not a subtype of `int`

jax/experimental/mosaic/gpu/examples/matmul_blackwell.py

[warning] unsound-assignment - Unsound assignment: `int | Unknown` is not a subtype of `int`

jax/experimental/pallas/ops/gpu/collective_matmul_mgpu.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

jax/experimental/pallas/ops/gpu/decode_attention.py

[warning] unsound-assignment - Unsound assignment: `int | Unknown` is not a subtype of `int`

jax/experimental/pallas/ops/gpu/layer_norm.py

[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int | None`

jax/experimental/pallas/ops/gpu/rms_norm.py

[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | int` is not a subtype of `int | None`

jax/experimental/rnn.py

[warning] unsound-return-statement - Unsound return statement: `int | Any` is not a subtype of `int`

jax/experimental/source_mapper/common.py

[warning] unsound-return-statement - Unsound return statement: `list[Unknown]` is not a subtype of `Sequence[Pass]`

jinja non-strict (https://github.com/pallets/jinja)

src/jinja2/filters.py

[warning] unsound-assignment - Unsound assignment: `map[Any]` is not a subtype of `Iterable[V@sync_do_sum]`

src/jinja2/lexer.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Token | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Token`

src/jinja2/sandbox.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

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

kopf/_cogs/structs/dicts.py

[warning] unsound-yield - Unsound `yield from`: `_T@walk | Unknown` is not a subtype of `_T@walk`
[warning] unsound-yield - Unsound `yield`: `Any` is not a subtype of `_T@walk`
[warning] unsound-yield - Unsound `yield`: `Any | _T@walk` is not a subtype of `_T@walk`
[warning] unsound-yield - Unsound `yield`: `Any` is not a subtype of `_T@walk`
[warning] unsound-yield - Unsound `yield`: `Any | _T@walk` is not a subtype of `_T@walk`
[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `_V@MappingView`
[warning] unsound-return-statement - Unsound return statement: `Any | _V@MappingView` is not a subtype of `_V@MappingView`

kornia strict (https://github.com/kornia/kornia)

kornia/core/mixin/image_module.py

[warning] unsound-assignment - Unsound assignment: `Literal[1] | Unknown` is not a subtype of `int | None`
[warning] unsound-assignment - Unsound assignment: `Literal[1] | Unknown` is not a subtype of `int | None`

kornia/enhance/equalization.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `Unknown | Literal[1]` is not a subtype of `float`

kornia/feature/sold2/backbones.py

[warning] unsound-assignment - Unsound assignment: `Unknown | list[int]` is not a subtype of `list[int]`

manticore non-strict (https://github.com/trailofbits/manticore)

manticore/core/workspace.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str | None`

manticore/native/cpu/disasm.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Instruction`

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

misc/python/materialize/mzexplore/extract.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `str`

misc/python/materialize/pgbench.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float | None`

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

mesonbuild/cargo/builder.py

[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to bound method `Builder._token` is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to bound method `Builder._token` is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to bound method `Builder._token` is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to bound method `Builder._token` is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `UnaryOperatorNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to bound method `Builder._token` is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `CodeBlockNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to bound method `Builder._token` is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`

mesonbuild/backend/ninjabackend.py

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

mesonbuild/build.py

[warning] unsound-return-statement - Unsound return statement: `OrderedSet[Unknown]` is not a subtype of `AbstractSet[str]`

mesonbuild/interpreter/interpreter.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Test`

mesonbuild/modules/rust.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Test`

mesonbuild/rewriter.py

[error] invalid-argument-type - Argument is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument is incorrect: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`
[error] invalid-argument-type - Argument to `ArgumentNode.__init__` is incorrect: Expected `Token[TV_TokenTypes@__init__]`, found `Token[int | str]`: Inferred lower bound `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`

mitmproxy non-strict (https://github.com/mitmproxy/mitmproxy)

docs/scripts/clirecording/clidirector.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

mitmproxy/tools/console/commands.py

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

test/mitmproxy/addons/test_proxyserver.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `bytes`

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

mkdocs/utils/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

mkosi non-strict (https://github.com/systemd/mkosi)

mkosi/config.py

[error] invalid-argument-type - Argument is incorrect: Expected `(str | None, UUID | None, /) -> UUID | None`, found `def config_parse_uuid(value: str | None, old: str | None) -> UUID | None`
[error] invalid-argument-type - Argument is incorrect: Expected `((str, str | Any | None, /) -> bool) | None`, found `(str, str, /) -> bool`
[error] invalid-argument-type - Argument is incorrect: Expected `(str | None, dict[str, Path | str] | dict[str, str] | None, /) -> dict[str, Path | str] | dict[str, str] | None`, found `(str | None, dict[str, Path | str] | None, /) -> dict[str, Path | str] | None`
[error] invalid-argument-type - Argument is incorrect: Expected `((str, dict[str, Path | str] | dict[str, str], /) -> bool) | None`, found `def config_match_key_value(match: str, value: dict[str, str]) -> bool`

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

pymongo/asynchronous/bulk.py

[warning] redundant-condition-strict - Condition `self.next_run is None` is always true

pymongo/asynchronous/database.py

[warning] redundant-cast - Value is already of type `Mapping[str, Any]`
[warning] redundant-cast - Value is already of type `Mapping[str, Any]`

pymongo/asynchronous/mongo_client.py

[warning] unsound-return-statement - Unsound return statement: `tuple[tuple[Unknown, ...], str | None, Any, Any]` is not a subtype of `tuple[tuple[tuple[str, int | None], ...], str | None, str | None, str]`
[warning] unsound-return-statement - Unsound return statement: `tuple[tuple[tuple[str, int | None], ...], str | None, Any, Any]` is not a subtype of `tuple[tuple[tuple[str, int | None], ...], str | None, str | None, str]`

pymongo/read_preferences.py

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

pymongo/synchronous/bulk.py

[warning] redundant-condition-strict - Condition `self.next_run is None` is always true

pymongo/synchronous/database.py

[warning] redundant-cast - Value is already of type `Mapping[str, Any]`
[warning] redundant-cast - Value is already of type `Mapping[str, Any]`

pymongo/synchronous/mongo_client.py

[warning] unsound-return-statement - Unsound return statement: `tuple[tuple[Unknown, ...], str | None, Any, Any]` is not a subtype of `tuple[tuple[tuple[str, int | None], ...], str | None, str | None, str]`
[warning] unsound-return-statement - Unsound return statement: `tuple[tuple[tuple[str, int | None], ...], str | None, Any, Any]` is not a subtype of `tuple[tuple[tuple[str, int | None], ...], str | None, str | None, str]`

mypy non-strict (https://github.com/python/mypy)

mypyc/analysis/dataflow.py

[warning] unsound-return-statement - Unsound return statement: `tuple[set[Unknown], set[Register]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Register], set[Unknown]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Unknown], set[Register]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Unknown], set[RegisterOp] | set[Unknown]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Unknown], set[Register]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Unknown], set[Register]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Value], set[Unknown]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Value], set[Unknown]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Value], set[Unknown]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[Value], set[Unknown]]` is not a subtype of `tuple[AbstractSet[Value], AbstractSet[Value]]`

mypyc/analysis/selfleaks.py

[warning] unsound-assignment - Unsound assignment: `tuple[set[Unknown], set[Unknown]]` is not a subtype of `tuple[AbstractSet[None], AbstractSet[None]]`

mypyc/transform/borrow_generator_attrs.py

[warning] unsound-assignment - Unsound assignment: `tuple[frozenset[Unknown], frozenset[Unknown]]` is not a subtype of `tuple[AbstractSet[GetAttr], AbstractSet[GetAttr]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[frozenset[Unknown], set[GetAttr]]` is not a subtype of `tuple[AbstractSet[GetAttr], AbstractSet[GetAttr]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[set[GetAttr], frozenset[Unknown]]` is not a subtype of `tuple[AbstractSet[GetAttr], AbstractSet[GetAttr]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[frozenset[Unknown], set[GetAttr]]` is not a subtype of `tuple[AbstractSet[GetAttr], AbstractSet[GetAttr]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[frozenset[Unknown], set[GetAttr] | frozenset[Unknown]]` is not a subtype of `tuple[AbstractSet[GetAttr], AbstractSet[GetAttr]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[frozenset[Unknown], set[GetAttr]]` is not a subtype of `tuple[AbstractSet[GetAttr], AbstractSet[GetAttr]]`

nionutils strict (https://github.com/nion-software/nionutils)

nion/utils/Stream.py

[warning] unsound-return-statement - Unsound return statement: `Task[Any]` is not a subtype of `Task[None]`

openlibrary non-strict (https://github.com/internetarchive/openlibrary)

openlibrary/plugins/worksearch/schemes/authors.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `MappingProxyType[str, Unknown]` is not a subtype of `MappingProxyType[str, str]`
[warning] unsound-assignment - Unsound assignment: `MappingProxyType[tuple[str, str], Unknown]` is not a subtype of `MappingProxyType[tuple[str, str], str | (() -> str)]`

openlibrary/plugins/worksearch/schemes/editions.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `MappingProxyType[tuple[str, str], Unknown]` is not a subtype of `MappingProxyType[tuple[str, str], str | (() -> str)]`

openlibrary/plugins/worksearch/schemes/lists.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `MappingProxyType[str, Unknown]` is not a subtype of `MappingProxyType[str, str]`
[warning] unsound-assignment - Unsound assignment: `MappingProxyType[tuple[str, str], Unknown]` is not a subtype of `MappingProxyType[tuple[str, str], str | (() -> str)]`

openlibrary/plugins/worksearch/schemes/subjects.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `MappingProxyType[str, Unknown]` is not a subtype of `MappingProxyType[str, str]`
[warning] unsound-assignment - Unsound assignment: `MappingProxyType[tuple[str, str], Unknown]` is not a subtype of `MappingProxyType[tuple[str, str], str | (() -> str)]`

openlibrary/bookworm/harvest.py

[warning] unsound-assignment - Unsound assignment: `Unknown | None` is not a subtype of `str | None`
[warning] truthiness-test-of-none-union - Boolean test on `str | Unknown | None` does not distinguish `None` from other falsy values: Both `None` and non-`None` values can be falsy
[warning] truthiness-test-of-none-union - Boolean test on `str | None` does not distinguish `None` from other falsy values: `None` and the empty string are both falsy

openlibrary/catalog/add_book/load_book.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | Author` is not a subtype of `Author`

openlibrary/contribute/feed.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | Literal[""]` is not a subtype of `str`

openlibrary/core/helpers.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

openlibrary/core/waitinglist.py

[warning] unsound-return-statement - Unsound return statement: `float* | Unknown` is not a subtype of `float`

openlibrary/i18n/validators.py

[warning] unsound-return-statement - Unsound return statement: `tuple[tuple[Unknown & ~Literal["%%"], ...], frozenset[Unknown]]` is not a subtype of `tuple[tuple[str, ...], frozenset[str]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[tuple[Unknown & ~Literal["%%"], ...], frozenset[str]]` is not a subtype of `tuple[tuple[str, ...], frozenset[str]]`

openlibrary/plugins/openlibrary/partials.py

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

openlibrary/plugins/openlibrary/status.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[int]`

openlibrary/plugins/upstream/utils.py

[warning] unsound-yield - Unsound `yield`: `Unknown` is not a subtype of `str | None`
[warning] unsound-yield - Unsound `yield`: `Unknown` is not a subtype of `str | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Nothing | str`
[warning] unsound-return-statement - Unsound return statement: `(Nothing & ~AlwaysFalsy) | Unknown` is not a subtype of `Nothing | str`

openlibrary/plugins/upstream/yearly_reading_goals.py

[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~None) | Literal[100, 0]` is not a subtype of `int`

openlibrary/solr/updater/edition.py

[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~Literal[-1]) | None` is not a subtype of `int | None`

openlibrary/solr/updater/work.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

openlibrary/solr/utils.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `None`

openlibrary/utils/template_usage.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[str]`

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

optuna/artifacts/_backoff.py

[warning] unsound-return-statement - Unsound return statement: `Any | float` is not a subtype of `float`

optuna/pruners/_hyperband.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

optuna/samplers/_tpe/sampler.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | Literal[25]` is not a subtype of `int`

optuna/terminator/improvement/emmr.py

[warning] unsound-return-statement - Unsound return statement: `float | Unknown` is not a subtype of `float`

paasta non-strict (https://github.com/yelp/paasta)

paasta_tools/cli/cmds/status.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `KubernetesContainerV2 | None`

paasta_tools/long_running_service_tools.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `int`

paasta_tools/paasta_service_config_loader.py

[warning] unsound-return-statement - Unsound return statement: `InstanceConfigDict | Unknown` is not a subtype of `InstanceConfigDict`

paasta_tools/tron/client.py

[warning] unsound-return-statement - Unsound return statement: `UnspecializedTypeVar` is not a subtype of `str`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

paasta_tools/utils.py

[warning] unsound-assignment - Unsound assignment: `Any | SystemPaastaConfigDict` is not a subtype of `SystemPaastaConfigDict`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, InstanceConfigDict]`, found `dict[str, Any | dict[str, Any] | InstanceConfigDict]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, InstanceConfigDict]`, found `dict[str, dict[str, Any] | InstanceConfigDict]`

packaging non-strict (https://github.com/pypa/packaging)

src/packaging/tags.py

[warning] unsound-assignment - Unsound assignment: `list[str | Unknown]` is not a subtype of `Iterable[str] | None`

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

pandas/core/accessor.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

pandas/tests/io/formats/test_to_latex.py

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

pandas/core/array_algos/masked_accumulations.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[Overload[(a: _SupportsArray[dtype[numpy.bool[builtins.bool]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[unsignedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]]] | int | _NestedSequence[int], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]]] | float | _NestedSequence[float], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[floating[Any]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | _NestedSequence[complex], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], (a: _SupportsArray[dtype[object_]] | _NestedSequence[_SupportsArray[dtype[object_]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[object_]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]) | Overload[[_ScalarT](a: _SupportsArray[dtype[_ScalarT]] | _NestedSequence[_SupportsArray[dtype[_ScalarT]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]), int | Unknown].__getitem__(key: Overload[(a: _SupportsArray[dtype[numpy.bool[builtins.bool]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[unsignedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]]] | int | _NestedSequence[int], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]]] | float | _NestedSequence[float], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[floating[Any]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | _NestedSequence[complex], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], (a: _SupportsArray[dtype[object_]] | _NestedSequence[_SupportsArray[dtype[object_]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[object_]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]) | Overload[(a: _SupportsArray[dtype[_ScalarT]] | _NestedSequence[_SupportsArray[dtype[_ScalarT]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]), /) -> int | Unknown` cannot be called with key of type `(...) -> ndarray[tuple[Any, ...], dtype[Any]]` on object of type `dict[Overload[(a: _SupportsArray[dtype[numpy.bool[builtins.bool]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[unsignedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]]] | int | _NestedSequence[int], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]]] | float | _NestedSequence[float], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[floating[Any]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | _NestedSequence[complex], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], (a: _SupportsArray[dtype[object_]] | _NestedSequence[_SupportsArray[dtype[object_]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[object_]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]) | Overload[[_ScalarT](a: _SupportsArray[dtype[_ScalarT]] | _NestedSequence[_SupportsArray[dtype[_ScalarT]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]), int | Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[Overload[(a: _SupportsArray[dtype[numpy.bool[builtins.bool]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[unsignedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]]] | int | _NestedSequence[int], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]]] | float | _NestedSequence[float], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[floating[Any]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | _NestedSequence[complex], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], (a: _SupportsArray[dtype[object_]] | _NestedSequence[_SupportsArray[dtype[object_]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[object_]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]) | Overload[[_ScalarT](a: _SupportsArray[dtype[_ScalarT]] | _NestedSequence[_SupportsArray[dtype[_ScalarT]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]), int | floating[Any]].__getitem__(key: Overload[(a: _SupportsArray[dtype[numpy.bool[builtins.bool]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[unsignedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]]] | int | _NestedSequence[int], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]]] | float | _NestedSequence[float], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[floating[Any]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | _NestedSequence[complex], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], (a: _SupportsArray[dtype[object_]] | _NestedSequence[_SupportsArray[dtype[object_]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[object_]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]) | Overload[(a: _SupportsArray[dtype[_ScalarT]] | _NestedSequence[_SupportsArray[dtype[_ScalarT]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]), /) -> int | floating[Any]` cannot be called with key of type `(...) -> ndarray[tuple[Any, ...], dtype[Any]]` on object of type `dict[Overload[(a: _SupportsArray[dtype[numpy.bool[builtins.bool]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | unsignedinteger[Any]]]] | builtins.bool | _NestedSequence[builtins.bool], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[unsignedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]]] | int | _NestedSequence[int], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any] | floating[Any]]]] | float | _NestedSequence[float], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[floating[Any]]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | _NestedSequence[complex], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], (a: _SupportsArray[dtype[object_]] | _NestedSequence[_SupportsArray[dtype[object_]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[object_]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]) | Overload[[_ScalarT](a: _SupportsArray[dtype[_ScalarT]] | _NestedSequence[_SupportsArray[dtype[_ScalarT]]], axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: None = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], [_ScalarT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, *, dtype: type[_ScalarT] | dtype[_ScalarT] | _HasDType[dtype[_ScalarT]] | _HasNumPyDType[dtype[_ScalarT]], out: None = None) -> ndarray[tuple[Any, ...], dtype[_ScalarT]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: None = None) -> ndarray[tuple[Any, ...], dtype[Any]], [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements, out: _ArrayT) -> _ArrayT, [_ArrayT](a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, axis: SupportsIndex | None = None, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, *, out: _ArrayT) -> _ArrayT] | (def accumulate(array: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 3 union elements, /, axis: SupportsIndex = 0, dtype: type[Any] | dtype[Any] | _HasDType[dtype[Any]] | ... omitted 6 union elements = None, out: ndarray[tuple[Any, ...], dtype[Any]] | EllipsisType | None = None) -> ndarray[tuple[Any, ...], dtype[Any]]), int | floating[Any]]`

pandas/core/arrays/_mixins.py

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

pandas/core/arrays/string_arrow.py

[warning] redundant-condition-strict - Condition `isinstance(repl, str)` is always true

pandas/core/common.py

[error] invalid-return-type - Return type does not match returned value: expected `Collection[T@maybe_iterable_to_list] | T@maybe_iterable_to_list`, found `list[object]`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[T@maybe_iterable_to_list]`, found `(Iterable[T@maybe_iterable_to_list] & ~Sized) | (T@maybe_iterable_to_list & Top[Iterable[object]] & ~Sized)`

pandas/core/frame.py

[warning] unsound-assignment - Unsound assignment: `list[Unknown]` is not a subtype of `Sequence[ExtensionArray]`

pandas/core/generic.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

pandas/core/groupby/grouper.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown & BaseGrouper, frozenset[Unknown], Unknown & NDFrameT@get_grouper]` is not a subtype of `tuple[BaseGrouper, frozenset[Hashable], NDFrameT@get_grouper]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown & BaseGrouper, frozenset[Unknown], Unknown & NDFrameT@get_grouper]` is not a subtype of `tuple[BaseGrouper, frozenset[Hashable], NDFrameT@get_grouper]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown & BaseGrouper & ~Grouper, frozenset[Unknown], NDFrameT@get_grouper]` is not a subtype of `tuple[BaseGrouper, frozenset[Hashable], NDFrameT@get_grouper]`

pandas/core/indexes/base.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[Index | Sequence[Index]]` and `list[object]`

pandas/core/indexes/datetimelike.py

[error] unresolved-attribute - Attribute `asi8` is not defined on `CategoricalIndex` in union `(Any & Index) | Self@equals | CategoricalIndex`
[error] unresolved-attribute - Attribute `asi8` is not defined on `CategoricalIndex` in union `Any | Self@equals | CategoricalIndex`
[error] unresolved-attribute - Attribute `tz` is not defined on `Self@equals`, `CategoricalIndex` in union `(Any & Index) | Self@equals | CategoricalIndex`
[error] unresolved-attribute - Attribute `tz` is not defined on `Self@equals`, `CategoricalIndex` in union `Any | Self@equals | CategoricalIndex`

pandas/core/nanops.py

[warning] unsound-return-statement - Unsound return statement: `int | Any` is not a subtype of `int`

pandas/core/resample.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[Hashable]`

pandas/core/reshape/melt.py

[warning] unsound-assignment - Unsound assignment: `set[Hashable | Any]` is not a subtype of `set[Hashable]`
[error] invalid-argument-type - Argument to bound method `Index.difference` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`, found `set[Hashable] | set[Hashable | Any]`
[error] invalid-argument-type - Argument to bound method `Index.difference` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`, found `set[Hashable]`

pandas/core/window/rolling.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[Hashable]`

pandas/io/common.py

[warning] unsound-return-statement - Unsound return statement: `IOHandles[Unknown]` is not a subtype of `IOHandles[str] | IOHandles[bytes]`
[error] invalid-argument-type - Argument is incorrect: Expected `IO[Unknown]`, found `(BaseBuffer & ~str) | (Any & ~str) | IO[Any] | _BytesIOWrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `IO[str]`, found `(BaseBuffer & ~str) | (Any & ~str) | IO[Any] | _BytesIOWrapper`

pandas/io/parsers/readers.py

[warning] unsound-assignment - Unsound assignment: `int | Any` is not a subtype of `int | None`

pandas/tests/indexes/categorical/test_category.py

[error] invalid-argument-type - Argument to constructor `CategoricalIndex.__new__` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 4 union elements`, found `reversed[Unknown]`
[error] invalid-argument-type - Argument to constructor `CategoricalIndex.__new__` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 4 union elements`, found `reversed[Unknown]`
[error] invalid-argument-type - Argument to constructor `CategoricalIndex.__new__` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 4 union elements`, found `reversed[Unknown]`

pandas/tests/io/test_html.py

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

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

pandera/backends/pandas/container.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `DataFrame`

pandera/backends/polars/container.py

[warning] unsound-assignment - Unsound assignment: `PolarsFrame@validate` is not a subtype of `int | None`

paroxython non-strict (https://github.com/laowantong/paroxython)

paroxython/assess_costs.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

pegen strict (https://github.com/we-like-parsers/pegen)

src/pegen/grammar.py

[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `AbstractSet[str]`
[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `AbstractSet[str]`
[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `AbstractSet[str]`
[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `AbstractSet[str]`

pip non-strict (https://github.com/pypa/pip)

src/pip/_internal/operations/check.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[Tag]`

src/pip/_internal/resolution/resolvelib/factory.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

src/pip/_internal/utils/misc.py

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

src/pip/_vendor/packaging/tags.py

[warning] unsound-assignment - Unsound assignment: `list[str | Unknown]` is not a subtype of `Iterable[str] | None`

src/pip/_vendor/requests/models.py

[error] invalid-argument-type - Argument to `RequestField.__init__` is incorrect: Expected `str | bytes`, found `str | bytes | Unknown | (SupportsRead[str | bytes] & bytearray)`
[warning] unsound-assignment - Unsound assignment: `list[tuple[Unknown, Unknown]]` is not a subtype of `Mapping[str, SupportsRead[str | bytes] | str | bytes | ... omitted 3 union elements] | Iterable[tuple[str, SupportsRead[str | bytes] | str | bytes | ... omitted 3 union elements]] | None`

src/pip/_vendor/requests/utils.py

[warning] unsound-return-statement - Unsound return statement: `int | Any` is not a subtype of `int`

src/pip/_vendor/rich/progress.py

[warning] unsound-return-statement - Unsound return statement: `_ReadContext[Unknown]` is not a subtype of `ContextManager[BinaryIO] | ContextManager[TextIO]`

src/pip/_vendor/rich/segment.py

[warning] unsound-return-statement - Unsound return statement: `filter[Unknown]` is not a subtype of `Iterable[Segment]`

src/pip/_vendor/urllib3/util/retry.py

[warning] unsound-assignment - Unsound assignment: `int | Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `float`

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

src/poetry/factory.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `dict[str, str | bool | dict[str, str | bool] | list[str]] | str`

src/poetry/repositories/link_sources/base.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str | bool`

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

src/integrations/prefect-aws/prefect_aws/settings.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `EcsObserverSqsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `EcsObserverSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `EcsWorkerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `RdsIAMSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `EcsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `RdsSettings`

src/integrations/prefect-azure/prefect_azure/settings.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `PostgresManagedIdentitySettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `PostgresSettings`

src/integrations/prefect-gcp/prefect_gcp/settings.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `CloudRunV2WorkerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `CloudRunV2Settings`

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

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `set[str] | str | None`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `dict[str, str] | str | None`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `KubernetesWorkerCreateJobRetrySettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `KubernetesWorkerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `KubernetesObserverSettings`

src/prefect/_sdk/naming.py

[warning] unsound-assignment - Unsound assignment: `(frozenset[str] & ~AlwaysFalsy) | frozenset[Unknown]` is not a subtype of `frozenset[str] | None`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

src/integrations/prefect-aws/prefect_aws/observers/ecs.py

[warning] unsound-assignment - Unsound assignment: `Task[Unknown]` is not a subtype of `Task[None] | None`
[warning] unsound-assignment - Unsound assignment: `Task[Unknown]` is not a subtype of `Task[None] | None`
[warning] unsound-assignment - Unsound assignment: `Task[Unknown]` is not a subtype of `Task[None] | None`

src/integrations/prefect-azure/prefect_azure/bundles/execute.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `None`

src/integrations/prefect-dask/prefect_dask/task_runners.py

[warning] unsound-return-statement - Unsound return statement: `(PrefectDaskClient & ~AlwaysFalsy) | Unknown` is not a subtype of `PrefectDaskClient`

src/integrations/prefect-docker/prefect_docker/worker.py

[warning] unsound-assignment - Unsound assignment: `(Any & ~AlwaysFalsy) | list[str]` is not a subtype of `list[str]`

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

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `JobV2`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ExecutionV2`
[warning] unsound-return-statement - Unsound return statement: `ExecutionV2 | Unknown` is not a subtype of `ExecutionV2`

src/integrations/prefect-kubernetes/integration_tests/src/prefect_kubernetes_integration_tests/utils/k8s.py

[warning] unsound-return-statement - Unsound return statement: `UnspecializedTypeVar` is not a subtype of `str`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

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

[warning] unsound-return-statement - Unsound return statement: `Any | None` is not a subtype of `str | None`

src/prefect/blocks/core.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Any]` is not a subtype of `frozenset[str]`

src/prefect/cli/deploy/_core.py

[error] invalid-argument-type - Argument is incorrect: Expected `Iterable[LaxStr]`, found `Any | None`
[error] invalid-assignment - Object of type `Any | None` is not assignable to attribute `enforce_parameter_schema` of type `bool`
[error] invalid-argument-type - Argument is incorrect: Expected `Mapping[str, Any]`, found `Unknown | None`
[error] invalid-argument-type - Argument is incorrect: Expected `Mapping[str, Any]`, found `Mapping[str, Any] | None`

src/prefect/client/orchestration/__init__.py

[warning] unsound-assignment - Unsound assignment: `OrchestrationResult[Unknown]` is not a subtype of `OrchestrationResult[T@set_task_run_state]`

src/prefect/client/orchestration/_flow_runs/client.py

[warning] unsound-assignment - Unsound assignment: `OrchestrationResult[Unknown]` is not a subtype of `OrchestrationResult[T@set_flow_run_state]`
[warning] unsound-assignment - Unsound assignment: `OrchestrationResult[Unknown]` is not a subtype of `OrchestrationResult[T@set_flow_run_state]`

src/prefect/flows.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `PrefectFlowRunFuture[R@InfrastructureBoundFlow]`

src/prefect/input/run_input.py

[warning] unsound-assignment - Unsound assignment: `type[AutomaticRunInput[Unknown] | Unknown]` is not a subtype of `type[AutomaticRunInput[T@receive_input] | R@receive_input]`

src/prefect/locking/memory.py

[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~None) | Self@__new__` is not a subtype of `Self@__new__`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Self@__new__`

src/prefect/logging/handlers.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `int`

src/prefect/server/api/background_workers.py

[warning] unsound-assignment - Unsound assignment: `Task[Unknown]` is not a subtype of `Task[None] | None`

src/prefect/server/events/ordering/db.py

[warning] unsound-assignment - Unsound assignment: `defaultdict[str, Unknown]` is not a subtype of `Mapping[str, MutableMapping[UUID, bool]]`

src/prefect/server/models/concurrency_limits_v2.py

[error] invalid-return-type - Return type does not match returned value: expected `ColumnElement[float]`, found `greatest[int]`
[error] invalid-return-type - Return type does not match returned value: expected `ColumnElement[float]`, found `greatest[int]`

src/prefect/server/services/task_run_recorder.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown | str]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

src/prefect/settings/models/client.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str | int | set[int] | None`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `dict[str, str]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ClientMetricsSettings`

src/prefect/settings/models/logging.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoggingToAPISettings`

src/prefect/settings/models/root.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `APISettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `CLISettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ClientSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `CloudSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `DeploymentsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `EventsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ExperimentsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `FlowsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `InternalSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `LoggingSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `PluginsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ResultsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `RunnerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TasksSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TelemetrySettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TestingSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `WorkerSettings`

src/prefect/settings/models/runner.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `RunnerServerSettings`

src/prefect/settings/models/server/database.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `SQLAlchemyTLSSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `SQLAlchemyConnectArgsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `SQLAlchemySettings`

src/prefect/settings/models/server/root.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerAPISettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerConcurrencySettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerDatabaseSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerDeploymentsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerDocketSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerEphemeralSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerEventsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerFlowRunGraphSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerLogsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerTasksSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerUISettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerWorkerChannelSettings`

src/prefect/settings/models/server/services.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesCancellationCleanupSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesDBVacuumSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesEventPersisterSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesEventLoggerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesForemanSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesLateRunsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesSchedulerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesPauseExpirationsSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesRepossessorSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesCleanupReconcilerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesTaskRunRecorderSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerServicesTriggersSettings`

src/prefect/settings/models/server/tasks.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ServerTasksSchedulingSettings`

src/prefect/settings/models/tasks.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TasksRunnerSettings`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `TasksSchedulingSettings`

src/prefect/settings/models/worker.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `WorkerWebserverSettings`

src/prefect/settings/sources.py

[warning] unsound-return-statement - Unsound return statement: `Any | None` is not a subtype of `str | None`

src/prefect/utilities/callables/__init__.py

[warning] unsound-assignment - Unsound assignment: `type[Unknown]` is not a subtype of `type[BaseModel]`

src/prefect/workers/_worker_channel/_transport.py

[warning] unsound-return-statement - Unsound return statement: `Any | float` is not a subtype of `float`

psycopg non-strict (https://github.com/psycopg/psycopg)

psycopg/psycopg/types/array.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`

psycopg/psycopg/types/enum.py

[warning] unsound-assignment - Unsound assignment: `list[tuple[E@_make_load_map, str] | tuple[Unknown, Unknown]]` is not a subtype of `Mapping[E@_make_load_map, str] | Sequence[tuple[E@_make_load_map, str]] | None`
[warning] unsound-assignment - Unsound assignment: `list[tuple[E@_make_dump_map, str] | tuple[Unknown, Unknown]]` is not a subtype of `Mapping[E@_make_dump_map, str] | Sequence[tuple[E@_make_dump_map, str]] | None`

psycopg/psycopg/types/multirange.py

[warning] unsound-assignment - Unsound assignment: `map[Range[Any]]` is not a subtype of `Range[T@Multirange] | Iterable[Range[T@Multirange]]`

tests/scripts/waittest.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`

pwndbg non-strict (https://github.com/pwndbg/pwndbg)

pwndbg/aglib/elf.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Elf32_Ehdr | Elf64_Ehdr | None`

pwndbg/commands/__init__.py

[error] invalid-return-type - Return type does not match returned value: expected `(((**P@OnlyWhenRunning) -> T@OnlyWhenRunning, /) -> ((**P@OnlyWhenRunning) -> T@OnlyWhenRunning)) | ((**P@OnlyWhenRunning) -> T@OnlyWhenRunning)`, found `partial[[**P, T](func_when_no_kwargs: ((**P) -> T) | None = None, *, allow_core: bool = ...) -> (((**P) -> T, /) -> ((**P) -> T)) | ((**P) -> T)]`
[error] invalid-argument-type - Argument to class `partial` is incorrect: Expected `(...) -> ((**P@OnlyWhenRunning) -> T@OnlyWhenRunning)`, found `def OnlyWhenRunning[**P, T](func_when_no_kwargs: ((**P) -> T) | None = None, *, allow_core: bool = True) -> (((**P) -> T, /) -> ((**P) -> T)) | ((**P) -> T)`

pwndbg/commands/telescope.py

[warning] unsound-assignment - Unsound assignment: `Unknown | Literal[1]` is not a subtype of `int | None`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown` and `int | Unknown`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown` and `int`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown` and `int | Unknown`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown` and `int`

pycryptodome non-strict (https://github.com/Legrandin/pycryptodome)

lib/Crypto/Math/_IntegerNat.py

[warning] unsound-return-statement - Unsound return statement: `Literal[1] | Any` is not a subtype of `int`

lib/Crypto/Util/asn1.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Any]` is not a subtype of `Iterator[bytes | int]`

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

pydantic/_internal/_fields.py

[warning] redundant-cast - Value is already of type `ModelPrivateAttr`

pydantic/experimental/pipeline.py

[warning] unsound-return-statement - Unsound return statement: `_Pipeline[Unknown, Unknown]` is not a subtype of `_Pipeline[_InT@_Pipeline | _OtherIn@otherwise, _OutT@_Pipeline | _OtherOut@otherwise]`

pydantic/fields.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `FieldInfo`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `FieldInfo`

pydantic/v1/annotated_types.py

[warning] unsound-return-statement - Unsound return statement: `type[Unknown]` is not a subtype of `type[BaseModel]`
[warning] unsound-return-statement - Unsound return statement: `type[Unknown]` is not a subtype of `type[BaseModel]`

pydantic/v1/dataclasses.py

[warning] unsound-assignment - Unsound assignment: `type[Unknown]` is not a subtype of `type[BaseModel]`

pydantic/v1/types.py

[warning] disjoint-cast - Cast from `Self@__new__` to disjoint type `ConstrainedInt`

pydantic/v1/utils.py

[error] invalid-return-type - Return type does not match returned value: expected `Mapping[int | str, Any]`, found `(AbstractSet[int | str] & Top[Mapping[Unknown, object]]) | Mapping[int | str, Any] | dict[int | str, EllipsisType]`
[error] invalid-return-type - Return type does not match returned value: expected `Mapping[int | str, Any]`, found `(AbstractSet[int | str] & Top[Mapping[Unknown, object]]) | Mapping[int | str, Any]`

pylint strict (https://github.com/pycqa/pylint)

pylint/checkers/classes/class_checker.py

[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[NodeNG]`, found `NodeNG`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `NodeNG`

pylint/checkers/variables.py

[warning] redundant-condition-strict - Condition `not isinstance(module, nodes.Module)` is always false
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Module`

pylox non-strict (https://github.com/sco1/pylox)

pylox/builtins/py_builtins.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

pyochain non-strict (https://github.com/OutSquareCapital/pyochain)

tests/test_parity.py

[error] invalid-assignment - Object of type `Dict[str, ((x: Collection[object]) -> tuple[Unknown, ...]) | ((a: Collection[object]) -> bool) | ((obj: Sized, /) -> int)]` is not assignable to `Params[Collection[object]]`
[error] invalid-assignment - Object of type `Dict[str, (a: AbstractSet[int]) -> Unknown]` is not assignable to `Params[AbstractSet[int]]`
[error] invalid-assignment - Object of type `Dict[str, ((a: Mapping[int, int]) -> Unknown) | ((a: Mapping[int, int]) -> tuple[Unknown, ...])]` is not assignable to `Params[Mapping[int, int]]`
[error] invalid-assignment - Object of type `Dict[str, ((a: Mapping[int, int]) -> int) | ((a: Mapping[int, int]) -> tuple[Unknown, ...])]` is not assignable to `Params[Mapping[int, int]]`
[error] invalid-assignment - Object of type `Dict[str, ((a: Mapping[int, int]) -> int) | ((a: Mapping[int, int]) -> tuple[Unknown, ...])]` is not assignable to `Params[Mapping[int, int]]`
[error] invalid-assignment - Object of type `Dict[str, ((a: Mapping[int, int]) -> int) | ((a: Mapping[int, int]) -> tuple[Unknown, ...])]` is not assignable to `Params[Mapping[int, int]]`
[error] invalid-assignment - Object of type `Dict[str, ((a: Sequence[object]) -> Unknown) | ((x: Sequence[object]) -> tuple[Unknown, ...])]` is not assignable to `Params[Sequence[object]]`
[error] invalid-assignment - Object of type `Dict[str, (a: tuple[int, ...]) -> Unknown]` is not assignable to `Params[tuple[int, ...]]`
[error] invalid-assignment - Object of type `Dict[str, (a: list[int]) -> Unknown]` is not assignable to `Params[list[int]]`
[error] invalid-assignment - Object of type `Dict[str, (a: deque[int]) -> Unknown]` is not assignable to `Params[deque[int]]`

benchmarks/cli/bench_run.py

[error] unsound-return-statement - Unsound return statement: `Result[Any, ValueError]` is not a subtype of `Result[None, ValueError]`
[error] unsound-return-statement - Unsound return statement: `Result[None, Any]` is not a subtype of `Result[None, ValueError]`
[error] unsound-return-statement - Unsound return statement: `Result[None, Any]` is not a subtype of `Result[None, ValueError]`

tests/test_result.py

[error] unsound-return-statement - Unsound return statement: `Result[Any, Literal["Division by zero"]]` is not a subtype of `Result[int, str]`
[error] unsound-return-statement - Unsound return statement: `Result[int, Any]` is not a subtype of `Result[int, str]`

benchmarks/test_iter.py

[error] unsound-return-statement - Unsound return statement: `Literal[0] | Unknown` is not a subtype of `int`
[error] unsound-return-statement - Unsound return statement: `Some[int] | Null[int] | Some[Any] | Null[Any]` is not a subtype of `Option[int]`
[error] unsound-return-statement - Unsound return statement: `Option[Vec[int | Any]]` is not a subtype of `Option[Vec[int]]`
[error] unsound-return-statement - Unsound return statement: `Some[int] | Null[int] | Some[Any] | Null[Any]` is not a subtype of `Option[int]`
[error] unsound-return-statement - Unsound return statement: `Some[int] | Null[int] | Some[Any] | Null[Any]` is not a subtype of `Option[int]`
[error] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `tuple[int, ...]`
[error] unsound-return-statement - Unsound return statement: `Option[int | Any]` is not a subtype of `Option[int]`

benchmarks/test_result.py

[error] unsound-return-statement - Unsound return statement: `Ok[int, Any] | Err[int, Any] | Ok[Any, int] | Err[Any, int]` is not a subtype of `Result[int, int]`

scripts/checks.py

[error] unsound-return-statement - Unsound return statement: `Option[Any]` is not a subtype of `Option[Result[None, str]]`
[error] unsound-return-statement - Unsound return statement: `Option[Ok[Any, str] | Err[Any, str]]` is not a subtype of `Option[Result[None, str]]`

tests/test_typing/check_mixins.py

[error] type-assertion-failure - Type `Seq[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int]])])])]` does not match asserted type `Seq[int]`
[error] type-assertion-failure - Type `Seq[Seq[int]]` does not match asserted type `Seq[int]`
[error] invalid-argument-type - Argument to bound method `Pipe.pipe` is incorrect: Expected `(Seq[int] | (Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int]])])])] & Top[Pipe]), /) -> Seq[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int]])])])]`, found `<class 'Seq[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int] | (Top[Pipe] & Iterable[Seq[int]])])])]'>`

tests/test_typing/check_options.py

[error] unsound-assignment - Unsound assignment: `Ok[Option[Unknown], Unknown] | Err[Option[Unknown], Unknown]` is not a subtype of `Result[Option[int], int]`
[error] unsound-assignment - Unsound assignment: `Ok[Option[Unknown], Unknown] | Err[Option[Unknown], Unknown]` is not a subtype of `Result[Option[int], int]`
[error] unsound-assignment - Unsound assignment: `Ok[Option[Unknown], Unknown] | Err[Option[Unknown], Unknown]` is not a subtype of `Result[Option[int], int]`

tests/test_typing/check_typing.py

[error] unsound-return-statement - Unsound return statement: `Result[Dog, Any]` is not a subtype of `Result[Dog, KeyError]`

pyodide non-strict (https://github.com/pyodide/pyodide)

src/tests/test_streams.py

[warning] unsound-assignment - Unsound assignment: `list[str] | list[Unknown]` is not a subtype of `list[str]`

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

pyppeteer/input.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `float`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `float`

pyproject-metadata non-strict (https://github.com/pypa/pyproject-metadata)

pyproject_metadata/__init__.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[str | Unknown]` is not a subtype of `frozenset[str]`

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

src/_pytest/approx.py

[error] invalid-argument-type - Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `ExpectedT@ApproxScalar`
[error] invalid-argument-type - Argument to function `abs` is incorrect: Expected `SupportsAbs[ExpectedT@ApproxScalar & SupportsAbs[Never]]`, found `ExpectedT@ApproxScalar`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `ExpectedT@ApproxScalar`
[error] unsupported-operator - Operator `*` is not supported between objects of type `float | Decimal` and `ExpectedT@ApproxScalar`
[error] unsupported-operator - Operator `*` is not supported between objects of type `float | Decimal` and `ExpectedT@ApproxScalar & SupportsAbs[Never]`

src/_pytest/logging.py

[warning] unsound-assignment - Unsound assignment: `dict[int, set[str] | set[Unknown]]` is not a subtype of `Mapping[int, AbstractSet[str]]`

src/_pytest/python.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[Literal["short", "sha256", "legacy", "disallow"]]`

pytest-autoprofile non-strict (https://gitlab.com/TTsangSC/pytest-autoprofile)

src/pytest_autoprofile/_multiprocessing.py

[warning] unsound-assignment - Unsound assignment: `MappingProxyType[ImportPath, Unknown]` is not a subtype of `MappingProxyType[ImportPath, str]`

src/pytest_autoprofile/_test_utils.py

[error] invalid-assignment - Object of type `dict[str, object]` is not assignable to `dict[Literal["passed", "skipped", "failed", "errors", "xpassed", ... omitted 3 literals], int | None]`
[error] invalid-return-type - Return type does not match returned value: expected `((((**PS@environment_fixture) -> tuple[Path | Sequence[str] | Sequence[Path], Path | Sequence[str] | Sequence[Path]]) | ((**PS@environment_fixture) -> Generator[tuple[Path | Sequence[str] | Sequence[Path], Path | Sequence[str] | Sequence[Path]], None, None]), /) -> FixtureFunctionDefinition) | FixtureFunctionDefinition`, found `partial[([**PS'return](((**PS'return) -> tuple[Path | Sequence[str] | Sequence[Path], Path | Sequence[str] | Sequence[Path]]) | ((**PS'return) -> Generator[tuple[Path | Sequence[str] | Sequence[Path], Path | Sequence[str] | Sequence[Path]], None, None]), /) -> FixtureFunctionDefinition) | FixtureFunctionDefinition]`

src/pytest_autoprofile/importers.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[ImportPath]`
[warning] unsound-assignment - Unsound assignment: `frozenset[ImportPath | Unknown]` is not a subtype of `frozenset[ImportPath]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[ImportPath]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[ImportPath]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

src/pytest_autoprofile/option_hooks.py

[error] invalid-return-type - Return type does not match returned value: expected `Hook[PS@_boolean_hook, bool] | (((**PS@_boolean_hook) -> bool | str, /) -> Hook[PS@_boolean_hook, bool])`, found `partial[[**PS'return]((**PS'return) -> bool | str | None, /) -> Hook[PS'return, bool]]`

src/pytest_autoprofile/rewriting.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `AST@__call__`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[ImportPath]`

tests/test-modules-and-tests/test_subprocess/packages/myfork.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

rich non-strict (https://github.com/Textualize/rich)

rich/progress.py

[warning] unsound-return-statement - Unsound return statement: `_ReadContext[Unknown]` is not a subtype of `ContextManager[BinaryIO] | ContextManager[TextIO]`

rich/segment.py

[warning] unsound-return-statement - Unsound return statement: `filter[Unknown]` is not a subtype of `Iterable[Segment]`

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

rotkehlchen/chain/aggregator.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `set[CounterpartyDetails]`

rotkehlchen/chain/bitcoin/utils.py

[warning] unsound-return-statement - Unsound return statement: `Any | None` is not a subtype of `str | None`

rotkehlchen/chain/decoding/tools.py

[error] invalid-assignment - Object of type `frozenset[A@BaseDecoderTools | BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress]` is not assignable to `frozenset[A@BaseDecoderTools]`: Incompatible value of type `frozenset[A@BaseDecoderTools | BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress]`
[error] invalid-assignment - Object of type `frozenset[BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress]` is not assignable to `frozenset[A@BaseDecoderTools]`: Incompatible value of type `frozenset[BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress]`
[error] invalid-assignment - Object of type `frozenset[A@BaseDecoderTools | BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress]` is not assignable to attribute `_tracked_addresses_for_chain` of type `frozenset[A@BaseDecoderTools]`
[error] invalid-assignment - Object of type `frozenset[BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress]` is not assignable to attribute `_tracked_addresses_for_chain` of type `frozenset[A@BaseDecoderTools]`

rotkehlchen/db/history_events.py

[warning] unsound-assignment - Unsound assignment: `Any | TimestampMS` is not a subtype of `TimestampMS | None`

rotkehlchen/globaldb/handler.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Any]` is not a subtype of `frozenset[str]`

rotkehlchen/tests/api/test_assets.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | int` is not a subtype of `int`

rotkehlchen/tests/exchanges/test_kucoin.py

[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `(def get_response() -> Unknown) | Unknown`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[str]`, found `(def get_response() -> Unknown) | Unknown`

schema_salad non-strict (https://github.com/common-workflow-language/schema_salad)

src/schema_salad/exceptions.py

[warning] unsound-return-statement - Unsound return statement: `list[SchemaSaladException] | list[Unknown]` is not a subtype of `list[SchemaSaladException]`

schemathesis non-strict (https://github.com/schemathesis/schemathesis)

src/schemathesis/cli/validation.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | list[str]` is not a subtype of `list[str] | None`
[warning] unsound-assignment - Unsound assignment: `Unknown | list[str]` is not a subtype of `list[str]`

src/schemathesis/config/_diff_base.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

src/schemathesis/core/jsonschema/patterns.py

[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[tuple[int, Any]]`, found `Unknown | SubPattern`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | SubPattern`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[tuple[int, Any]]`, found `Unknown | SubPattern`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | SubPattern`

src/schemathesis/core/transforms.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

src/schemathesis/core/transport.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[Literal["get", "post", "put", "patch", "delete", ... omitted 4 literals]]`

src/schemathesis/engine/core.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `EngineEvent`

src/schemathesis/generation/jsonschema/strategy.py

[warning] unsound-return-statement - Unsound return statement: `SearchStrategy[Any]` is not a subtype of `SearchStrategy[str] | None`

src/schemathesis/schemas.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[str]`

src/schemathesis/specs/graphql/handles.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `frozenset[str]`

src/schemathesis/specs/graphql/scalars.py

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

src/schemathesis/specs/graphql/schemas.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[str]`

src/schemathesis/specs/graphql/stateful/__init__.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

src/schemathesis/specs/openapi/_hypothesis.py

[warning] unsound-return-statement - Unsound return statement: `UnspecializedTypeVar` is not a subtype of `str`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

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

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `GeneratedValue`

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

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[tuple[str, object]]`

src/schemathesis/specs/openapi/coverage/_schema.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `str`

src/schemathesis/specs/openapi/formats.py

[warning] unsound-return-statement - Unsound return statement: `SearchStrategy[Unknown]` is not a subtype of `SearchStrategy[str]`
[warning] unsound-return-statement - Unsound return statement: `SearchStrategy[Any]` is not a subtype of `SearchStrategy[str]`

src/schemathesis/specs/openapi/stateful/dependencies/resources.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str] | None`

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

src/scikit_build_core/_vendor/pyproject_metadata/__init__.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[str | Unknown]` is not a subtype of `frozenset[str]`

src/scikit_build_core/builder/_known_wheels.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

src/scikit_build_core/builder/_load_provider.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Any]` is not a subtype of `frozenset[str]`

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

sklearn/linear_model/_stochastic_gradient.py

[error] unresolved-attribute - Attribute `shape` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] unresolved-attribute - Attribute `shape` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`
[error] unresolved-attribute - Attribute `shape` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] unresolved-attribute - Attribute `shape` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`
[error] unresolved-attribute - Attribute `reshape` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] unresolved-attribute - Attribute `reshape` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`
[error] unresolved-attribute - Attribute `dtype` is not defined on `None` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[tuple[Unknown, Unknown], Unknown] | ndarray[tuple[int], dtype[Unknown]] | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `dtype` is not defined on `None` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[tuple[Any, ...], Unknown] | ndarray[tuple[int], dtype[Unknown]] | ... omitted 4 union elements`
[error] unresolved-attribute - Attribute `dtype` is not defined on `None` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[tuple[Unknown, Unknown], Unknown] | ndarray[tuple[int], dtype[Unknown]] | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `dtype` is not defined on `None` in union `ndarray[tuple[Any, ...], dtype[Unknown]] | ndarray[tuple[Any, ...], Unknown] | ndarray[tuple[int], dtype[Unknown]] | ... omitted 4 union elements`

sklearn/linear_model/tests/test_passive_aggressive.py

[error] unresolved-attribute - Attribute `ravel` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] unresolved-attribute - Attribute `ravel` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to function `assert_almost_equal` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | number[Any, complex]]]] | complex | ... omitted 3 union elements`, found `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`

sklearn/linear_model/tests/test_perceptron.py

[error] unresolved-attribute - Attribute `ravel` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 5 union elements`
[error] unresolved-attribute - Attribute `ravel` is not defined on `None` in union `None | Unknown | ndarray[tuple[int, int], Unknown] | ... omitted 6 union elements`

sklearn/utils/_metadata_requests.py

[warning] unsound-assignment - Unsound assignment: `set[Unknown] | set[str]` is not a subtype of `Iterable[str] | None`

scipy non-strict (https://github.com/scipy/scipy)

scipy/optimize/_differentialevolution.py

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

scipy/spatial/transform/_rigid_transform_xp.py

[warning] unsound-assignment - Unsound assignment: `tuple[Any, ...]` is not a subtype of `None | int | tuple[int, ...]`

scipy/spatial/transform/_rotation_xp.py

[warning] unsound-assignment - Unsound assignment: `tuple[Any, ...]` is not a subtype of `None | int | tuple[int, ...]`

scipy/stats/_multicomp.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `float`

scipy-stubs non-strict (https://github.com/scipy/scipy-stubs)

tests/linalg/test__special_matrices.pyi

[warning] deprecated - Possible use of deprecated function: `hankel`: Beginning in SciPy 2.0, multidimensional input will be treated as a batch, not `ravel`ed.

tests/optimize/test_constraints.pyi

[error] type-assertion-failure - Type `NonlinearConstraint[float*, bool]` does not match asserted type `NonlinearConstraint[float, bool]`
[error] type-assertion-failure - Type `NonlinearConstraint[float | Any, bool]` does not match asserted type `NonlinearConstraint[float, bool]`
[error] type-assertion-failure - Type `NonlinearConstraint[float*, bool]` does not match asserted type `NonlinearConstraint[float, bool]`
[error] type-assertion-failure - Type `NonlinearConstraint[float | Any, bool]` does not match asserted type `NonlinearConstraint[float, bool]`
[error] type-assertion-failure - Type `NonlinearConstraint[float*, bool]` does not match asserted type `NonlinearConstraint[float, bool]`
[error] type-assertion-failure - Type `NonlinearConstraint[float | Any, bool]` does not match asserted type `NonlinearConstraint[float, bool]`

tests/sparse/test_matrix_io.pyi

[error] type-assertion-failure - Type `csr_array[Any, tuple[Any, ...]] | csr_matrix[Any]` does not match asserted type `csr_array[Any, tuple[int, int]] | csr_array[Any, tuple[Any, ...]] | csr_matrix[Any]`
[error] type-assertion-failure - Type `coo_array[Any, tuple[Any, ...]] | coo_matrix[Any]` does not match asserted type `coo_array[Any, tuple[int, int]] | coo_array[Any, tuple[Any, ...]] | coo_matrix[Any]`

tests/spatial/test__rigid_transform.pyi

[error] type-assertion-failure - Type `RigidTransform[tuple[int]] | RigidTransform[tuple[Any, ...]]` does not match asserted type `RigidTransform[tuple[int]]`

tests/stats/test_resampling.pyi

[error] type-assertion-failure - Type `BootstrapResult[Unknown, ndarray[Unknown, dtype[float64]]]` does not match asserted type `BootstrapResult[ArrayND[float64, tuple[Any, ...]] | float64, ArrayND[float64, tuple[Any, ...]]]`
[error] type-assertion-failure - Type `BootstrapResult[Unknown, ndarray[Unknown, dtype[Unknown]]]` does not match asserted type `BootstrapResult[ArrayND[float64, tuple[Any, ...]] | float64, ArrayND[float64, tuple[Any, ...]]]`
[error] type-assertion-failure - Type `PermutationTestResult[Unknown, ndarray[Unknown, dtype[float64]]]` does not match asserted type `PermutationTestResult[ArrayND[float64, tuple[Any, ...]] | float64, ArrayND[float64, tuple[Any, ...]]]`
[error] type-assertion-failure - Type `PermutationTestResult[Unknown, ndarray[Unknown, dtype[Unknown]]]` does not match asserted type `PermutationTestResult[ArrayND[float64, tuple[Any, ...]] | float64, ArrayND[float64, tuple[Any, ...]]]`

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

scrapy/utils/spider.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Deferred[_T@iterate_spider_output]`

scrapy/core/_http2/protocol.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

scrapy/core/downloader/handlers/ftp.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `FTPClient`

scrapy/core/engine.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `type[Downloader]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `type[Downloader]`
[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `type[BaseScheduler]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `type[BaseScheduler]`

scrapy/core/scraper.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `type[ItemPipelineManager]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `type[ItemPipelineManager]`

scrapy/crawler.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `type[LogFormatter]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `type[LogFormatter]`

scrapy/downloadermiddlewares/robotstxt.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `RobotParser | None`
[error] invalid-argument-type - Argument to function `maybe_deferred_to_future` is incorrect: Expected `Deferred[RobotParser | None]`, found `(RobotParser & Top[Deferred[Unknown]]) | Deferred[RobotParser | None]`

scrapy/exporters.py

[warning] unsound-return-statement - Unsound return statement: `dict[Unknown, Any | None]` is not a subtype of `Iterable[str]`

scrapy/extensions/feedexport.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `type[ItemFilter]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `type[ItemFilter]`

scrapy/http/request/form.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

scrapy/utils/request.py

[warning] unsound-assignment - Unsound assignment: `Any | <class 'Request'>` is not a subtype of `type[Request]`
[warning] unsound-assignment - Unsound assignment: `Unknown | <class 'Request'>` is not a subtype of `type[Request]`

scrapy/utils/response.py

[warning] unsound-assignment - Unsound assignment: `Any | type[Response]` is not a subtype of `type[Response]`
[warning] unsound-assignment - Unsound assignment: `Unknown | type[Response]` is not a subtype of `type[Response]`

tests/utils/bases/download_handlers_http.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

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

setuptools/_distutils/compilers/C/base.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | str` is not a subtype of `str | PathLike[str] | bytes | PathLike[bytes]`
[warning] unsound-return-statement - Unsound return statement: `str | PathLike[str] | Any` is not a subtype of `str | PathLike[str] | bytes | PathLike[bytes]`

setuptools/_path.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

setuptools/_vendor/importlib_metadata/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `EntryPoint`
[warning] unsound-return-statement - Unsound return statement: `chain[Unknown]` is not a subtype of `Iterable[Distribution]`
[warning] unsound-return-statement - Unsound return statement: `chain[Unknown]` is not a subtype of `Iterable[Distribution]`
[warning] unsound-return-statement - Unsound return statement: `dict[str, Unknown]` is not a subtype of `Mapping[str, list[str]]`

setuptools/_vendor/packaging/tags.py

[warning] unsound-assignment - Unsound assignment: `list[str | Unknown]` is not a subtype of `Iterable[str] | None`

setuptools/discovery.py

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

setuptools/tests/integration/helpers.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[ZipInfo] | Iterator[TarInfo]`

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

sockeye/embeddings.py

[warning] unsound-return-statement - Unsound return statement: `zip[tuple[Unknown, Unknown]]` is not a subtype of `Iterable[tuple[int, float]]`

sockeye/model.py

[warning] truthiness-test-of-none-union - Boolean test on `str | None` does not distinguish `None` from other falsy values: `None` and the empty string are both falsy

spack non-strict (https://github.com/spack/spack)

lib/spack/spack/util/parallel.py

[warning] unsound-assignment - Unsound assignment: `(int & ~AlwaysFalsy) | Unknown` is not a subtype of `int | None`

lib/spack/spack/cmd/buildcache.py

[warning] unsound-assignment - Unsound assignment: `dict[str, Unknown]` is not a subtype of `Mapping[str, Mirror] | None`

lib/spack/spack/config.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unsound-return-statement - Unsound return statement: `int | Any` is not a subtype of `int`

lib/spack/spack/deprecation.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[DeprecationReason]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

lib/spack/spack/environment/environment.py

[warning] unsound-return-statement - Unsound return statement: `tuple[list[UnspecializedTypeVar], list[UnspecializedTypeVar]]` is not a subtype of `tuple[list[Spec], list[Spec]]`
[warning] unsound-return-statement - Unsound return statement: `tuple[list[Unknown], list[Unknown]]` is not a subtype of `tuple[list[Spec], list[Spec]]`

lib/spack/spack/mirrors/mirror.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Any]` is not a subtype of `Iterator[str]`

lib/spack/spack/solver/reuse.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

lib/spack/spack/spec.py

[warning] unsound-return-statement - Unsound return statement: `set[Unknown | Divergent]` is not a subtype of `set[str]`
[warning] unsound-return-statement - Unsound return statement: `set[Unknown | str]` is not a subtype of `set[str]`

lib/spack/spack/test/concretization_cache_plugin.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str | None`

lib/spack/spack/util/win_acl.py

[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `list[AccessControlEntry]`

lib/spack/spack/vendor/jinja2/filters.py

[warning] unsound-assignment - Unsound assignment: `map[Any]` is not a subtype of `Iterable[V@sync_do_sum]`

lib/spack/spack/vendor/jinja2/lexer.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Token | None`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Token`

lib/spack/spack/vendor/jinja2/sandbox.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

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

python/pyspark/resultiterable.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[T@ResultIterable]`

python/pyspark/sql/streaming/stateful_processor.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[DataFrame] | Iterator[Row]`

python/pyspark/_globals.py

[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~AlwaysFalsy) | Self@__new__` is not a subtype of `_NoValueType`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `_NoValueType`

python/pyspark/cloudpickle/cloudpickle.py

[error] invalid-argument-type - Argument to `ChainMap.__init__` is incorrect: Expected `MutableMapping[type, ((obj) -> Unknown) | ((Any, /) -> str | tuple[(...) -> Any, tuple[Any, ...]] | tuple[(...) -> Any, tuple[Any, ...], Any | None])]`, found `dict[<class 'classmethod'> | <class 'TextIOWrapper'> | <class 'Logger'> | ... omitted 22 union elements, (obj) -> Unknown]`
[error] invalid-argument-type - Argument to `ChainMap.__init__` is incorrect: Expected `MutableMapping[type | Unknown, ((obj) -> Unknown) | ((Any, /) -> str | tuple[(...) -> Any, tuple[Any, ...]] | tuple[(...) -> Any, tuple[Any, ...], Any | None])]`, found `dict[<class 'classmethod'> | <class 'TextIOWrapper'> | <class 'Logger'> | ... omitted 22 union elements, (obj) -> Unknown]`

python/pyspark/core/context.py

[warning] unsound-return-statement - Unsound return statement: `RDD[T@parallelize | Unknown]` is not a subtype of `RDD[T@parallelize]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[T@parallelize]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[str, str]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[str, bytes]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[T@sequenceFile, U@sequenceFile]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[T@newAPIHadoopFile, U@newAPIHadoopFile]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[T@newAPIHadoopRDD, U@newAPIHadoopRDD]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[T@hadoopFile, U@hadoopFile]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[T@hadoopRDD, U@hadoopRDD]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[str]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[bytes]`

python/pyspark/core/rdd.py

[warning] unsound-return-statement - Unsound return statement: `map[U@map | Unknown]` is not a subtype of `Iterable[U@map]`
[warning] unsound-return-statement - Unsound return statement: `filter[Unknown]` is not a subtype of `Iterable[T@filter]`
[warning] unsound-assignment - Unsound assignment: `RDD[Unknown]` is not a subtype of `RDD[T@union | U@union]`
[warning] unsound-assignment - Unsound assignment: `RDD[T@_reserialize | Unknown]` is not a subtype of `RDD[T@_reserialize]`
[warning] unsound-return-statement - Unsound return statement: `RDD[T@_reserialize | Unknown]` is not a subtype of `RDD[T@_reserialize]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[T@cartesian, U@cartesian]]`
[warning] unsound-return-statement - Unsound return statement: `Unknown | T@reduce` is not a subtype of `T@reduce`
[warning] unsound-return-statement - Unsound return statement: `Unknown | T@fold` is not a subtype of `T@fold`
[warning] unsound-return-statement - Unsound return statement: `Unknown | U@aggregate` is not a subtype of `U@aggregate`
[warning] unsound-return-statement - Unsound return statement: `RDD[K@keys | Unknown]` is not a subtype of `RDD[K@keys]`
[warning] unsound-return-statement - Unsound return statement: `RDD[V@values | Unknown]` is not a subtype of `RDD[V@values]`
[warning] unsound-return-statement - Unsound return statement: `RDD[tuple[K@reduceByKey, Unknown | V@reduceByKey]]` is not a subtype of `RDD[tuple[K@reduceByKey, V@reduceByKey]]`
[warning] unsound-assignment - Unsound assignment: `RDD[Unknown]` is not a subtype of `RDD[tuple[K@partitionBy, V@partitionBy]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[tuple[T@zip, U@zip]]`
[warning] unsound-return-statement - Unsound return statement: `RDD[T@distinct | Unknown]` is not a subtype of `RDD[T@distinct]`
[error] invalid-argument-type - Argument to bound method `RDD.keys` is incorrect: Argument type `T@intersection | Unknown` does not satisfy upper bound `Hashable` of type variable `K`
[warning] unsound-return-statement - Unsound return statement: `Unknown | list[T@takeOrdered]` is not a subtype of `list[T@takeOrdered]`
[error] invalid-argument-type - Argument to bound method `RDD.keys` is incorrect: Argument type `T@subtract | Unknown` does not satisfy upper bound `Hashable` of type variable `K`

python/pyspark/ml/tests/test_linalg.py

[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Any]`, found `SparseVector`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `SparseVector`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Any]`, found `SparseVector`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `SparseVector`

python/pyspark/ml/tuning.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Evaluator`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Model`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Model`

python/pyspark/mllib/clustering.py

[warning] unsound-return-statement - Unsound return statement: `DStream[tuple[Unknown, int]]` is not a subtype of `DStream[tuple[T@predictOnValues, int]]`

python/pyspark/mllib/feature.py

[warning] unsound-return-statement - Unsound return statement: `zip[tuple[Unknown, Unknown]]` is not a subtype of `Iterable[tuple[str, float]]`

python/pyspark/mllib/regression.py

[warning] unsound-return-statement - Unsound return statement: `DStream[Unknown]` is not a subtype of `DStream[float]`
[warning] unsound-return-statement - Unsound return statement: `DStream[tuple[Unknown, Unknown]]` is not a subtype of `DStream[tuple[K@predictOnValues, float]]`

python/pyspark/mllib/tests/test_linalg.py

[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Any]`, found `SparseVector`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `SparseVector`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Any]`, found `SparseVector`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `SparseVector`

python/pyspark/mllib/util.py

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

python/pyspark/pandas/frame.py

[error] invalid-argument-type - Argument to function `reduce` is incorrect: Expected `(Column | bool, Column | bool, /) -> Column | bool`, found `(x: Column | Series[Unknown], y: Column | Series[Unknown]) -> Column | Series[Unknown] | Index`
[error] invalid-argument-type - Argument to bound method `InternalFrame.with_filter` is incorrect: Expected `Column | Series[Unknown]`, found `Unknown | Column | bool`

python/pyspark/pandas/indexes/base.py

[warning] unsound-return-statement - Unsound return statement: `(Any & Index) | (Any & None)` is not a subtype of `Index`
[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `Index`

python/pyspark/pandas/namespace.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`

python/pyspark/sql/classic/dataframe.py

[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[Row]`
[warning] unsound-return-statement - Unsound return statement: `RDD[Unknown]` is not a subtype of `RDD[str] | DataFrame`

python/pyspark/sql/connect/session.py

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

python/pyspark/sql/streaming/stateful_processor_util.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[DataFrame] | Iterator[Row]`
[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[DataFrame] | Iterator[Row]`
[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[DataFrame] | Iterator[Row]`
[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[DataFrame] | Iterator[Row]`

python/pyspark/sql/streaming/tws_tester.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown]` is not a subtype of `Iterator[int]`

python/pyspark/sql/transpile.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Any, Literal[""]]` is not a subtype of `tuple[FunctionDef | None, str]`

python/pyspark/sql/types.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Unknown] | Iterator[StructField]` is not a subtype of `Iterator[StructField]`

python/pyspark/streaming/context.py

[warning] unsound-return-statement - Unsound return statement: `DStream[Unknown]` is not a subtype of `DStream[str]`
[warning] unsound-return-statement - Unsound return statement: `DStream[Unknown]` is not a subtype of `DStream[str]`
[warning] unsound-return-statement - Unsound return statement: `DStream[Unknown]` is not a subtype of `DStream[bytes]`

python/pyspark/streaming/dstream.py

[warning] unsound-return-statement - Unsound return statement: `DStream[T@reduce | Unknown]` is not a subtype of `DStream[T@reduce]`
[warning] unsound-return-statement - Unsound return statement: `DStream[tuple[K@reduceByKey, Unknown | V@reduceByKey]]` is not a subtype of `DStream[tuple[K@reduceByKey, V@reduceByKey]]`
[warning] unsound-return-statement - Unsound return statement: `DStream[T@reduceByWindow | Unknown]` is not a subtype of `DStream[T@reduceByWindow]`
[warning] unsound-return-statement - Unsound return statement: `DStream[tuple[Unknown, Unknown]]` is not a subtype of `DStream[tuple[T@countByValueAndWindow, int]]`
[warning] unsound-return-statement - Unsound return statement: `DStream[Unknown]` is not a subtype of `DStream[tuple[K@reduceByKeyAndWindow, V@reduceByKeyAndWindow]]`
[warning] unsound-return-statement - Unsound return statement: `DStream[Unknown]` is not a subtype of `DStream[tuple[K@updateStateByKey, S@updateStateByKey]]`

speedrun.com_global_scoreboard_webapp strict (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
[error] invalid-return-type - Return type does not match returned value: expected `list[dict[str, Any]]`, found `list[__LeaderboardRunData]`

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

sphinx/builders/_epub_base.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Node | None`

sphinx/config.py

[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[type] | ENUM`
[error] invalid-return-type - Return type does not match returned value: expected `frozenset[type] | ENUM`, found `frozenset[object]`
[warning] unsound-return-statement - Unsound return statement: `frozenset[Unknown]` is not a subtype of `frozenset[type] | ENUM`

sphinx/domains/javascript.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str | None`

sphinx/domains/python/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str | None`

sphinx/domains/python/_annotations.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | list[Node]` is not a subtype of `list[Node]`

sphinx/ext/autodoc/_event_listeners.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

sphinx/ext/autodoc/_legacy_class_based/_documenters.py

[warning] unsound-assignment - Unsound assignment: `Unknown | list[str]` is not a subtype of `list[str]`

sphinx/ext/autosummary/__init__.py

[warning] unsound-assignment - Unsound assignment: `Unknown | list[BaseException]` is not a subtype of `list[BaseException]`

sphinx/ext/coverage.py

[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `AbstractSet[str]`
[warning] unsound-assignment - Unsound assignment: `set[Unknown]` is not a subtype of `AbstractSet[str]`
[warning] unsound-assignment - Unsound assignment: `set[Unknown]` is not a subtype of `AbstractSet[str]`
[warning] unsound-assignment - Unsound assignment: `set[Unknown]` is not a subtype of `AbstractSet[str]`
[warning] unsound-assignment - Unsound assignment: `set[Unknown]` is not a subtype of `AbstractSet[str]`

sphinx/ext/todo.py

[warning] unsound-assignment - Unsound assignment: `Unknown | list[todo_node]` is not a subtype of `list[todo_node]`

sphinx/jinja2glue.py

[warning] unsound-return-statement - Unsound return statement: `tuple[float, Unknown]` is not a subtype of `tuple[float, str]`

sphinx/pycode/ast.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `str`

sphinx/pycode/parser.py

[warning] unsound-assignment - Unsound assignment: `Unknown | list[str]` is not a subtype of `list[str]`

sphinx/search/__init__.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `AbstractSet[str]`

sphinx/search/ro.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `AbstractSet[str]`

sphinx/search/tr.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `AbstractSet[str]`

sphinx/versioning.py

[warning] unsound-return-statement - Unsound return statement: `int | Divergent` is not a subtype of `int`

sphinx/writers/html5.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Node | None`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Node | None`

sphinx/writers/latex.py

[warning] redundant-condition-strict - Condition `next_node is not None` is always true
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Node | None`

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

static_frame/core/batch.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unsound-return-statement - Unsound return statement: `InterfaceBatchAsType[Unknown]` is not a subtype of `InterfaceBatchAsType[Batch]`

static_frame/core/bus.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

static_frame/core/frame.py

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

static_frame/core/index.py

[error] invalid-return-type - Return type does not match returned value: expected `Iterator[TLabel]`, found `reversed[ndarray[tuple[Any, ...], Any] | Any]`

static_frame/core/index_hierarchy.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

static_frame/core/mfc_mapping.py

[warning] unsound-return-statement - Unsound return statement: `reversed[TVKeys@MFCMapping | Any]` is not a subtype of `Iterator[TVKeys@MFCMapping]`

static_frame/core/series.py

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

static_frame/core/store_client_mixin.py

[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigTSV]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigTSV]`
[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigCSV]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigCSV]`
[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigPickle]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigPickle]`
[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigNPZ]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigNPZ]`
[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigNPY]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigNPY]`
[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigParquet]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigParquet]`
[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigXLSX]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigXLSX]`
[error] invalid-argument-type - Argument to `Store.__init__` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigSQLite]`, found `TVStoreConfigMapInitializer[StoreConfigBase]`
[error] invalid-argument-type - Argument to bound method `StoreClientMixin._resolve_config` is incorrect: Expected `TVStoreConfigMapInitializer[StoreConfigBase]`, found `TVStoreConfigMapInitializer[StoreConfigSQLite]`

static_frame/core/util.py

[warning] unsound-assignment - Unsound assignment: `list[Unknown]` is not a subtype of `Sequence[int]`
[warning] unsound-return-statement - Unsound return statement: `Any` is not a subtype of `str | TextIO`

static_frame/test/typing/test_frame.py

[warning] unsound-assignment - Unsound assignment: `Frame[Any, Any, *tuple[Any, ...]]` is not a subtype of `Frame[Index[signedinteger[_64Bit]], Index[str_], signedinteger[_64Bit], signedinteger[_64Bit], numpy.bool[builtins.bool]]`

static_frame/test/typing/test_series.py

[warning] unsound-assignment - Unsound assignment: `Series[Any, Any]` is not a subtype of `Series[IndexDate, float64]`

static_frame/test/unit/test_index_hierarchy.py

[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Any]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 3 union elements`

steam.py non-strict (https://github.com/Gobot1234/steam.py)

steam/abc.py

[error] invalid-return-type - Return type does not match returned value: expected `Inventory[Item[Self@inventory], Self@inventory]`, found `Inventory[Item[BaseUser], Self@inventory]`

steam/chat.py

[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `SearchMembersResponse`

steam/client.py

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

steam/ext/commands/converters.py

[warning] unsound-return-statement - Unsound return statement: `App[Unknown]` is not a subtype of `App[str]`

steam/gateway.py

[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetPasswordRsaPublicKeyResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `BeginAuthSessionViaCredentialsResponse`
[warning] unsound-assignment - Unsound assignment: `Any | PollAuthSessionStatusResponse` is not a subtype of `PollAuthSessionStatusResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `UpdateAuthSessionWithSteamGuardCodeResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `PollAuthSessionStatusResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GenerateAccessTokenForAppResponse`

steam/id.py

[warning] unsound-return-statement - Unsound return statement: `ID[Any]` is not a subtype of `ID[Type] | None`

steam/manifest.py

[warning] unsound-yield - Unsound `yield from`: `Unknown` is not a subtype of `ManifestPath`

steam/models.py

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

steam/reaction.py

[warning] unsound-return-statement - Unsound return statement: `PartialApp[Any]` is not a subtype of `PartialApp[str]`
[error] invalid-return-type - Return type does not match returned value: expected `PartialApp[None]`, found `PartialApp[str | None]`
[error] invalid-return-type - Return type does not match returned value: expected `PartialApp[None]`, found `PartialApp[str | None]`
[error] invalid-return-type - Return type does not match returned value: expected `PartialApp[None]`, found `PartialApp[str | None]`

steam/state.py

[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `SendMessageResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `SendMessageResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetRecentMessagesResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetOwnedGamesResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetProfileItemsEquippedResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetProfileCustomizationResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetProfileItemsOwnedResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientFsGetFriendsSteamLevelsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetFavoriteBadgeResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientFriendProfileInfoResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientGetUserStatsResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `GetAchievementsProgressResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetPostedStatusResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `PostStatusToFriendsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `DeletePostedStatusResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetIndividualRecommendationsResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `AddFriendResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `RemoveFriendResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `IgnoreFriendResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetInventoryItemsWithDescriptionsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetUserNewsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetServerListResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `IPsWithSteamIDsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `QueryResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `CreateChatRoomGroupResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetClanChatRoomInfoResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `RespondToClanInviteResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `SetSessionActiveChatRoomGroupsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `CreateRoleResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `CreateChatRoomResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `SendChatMessageResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetMessageHistoryResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetMessageReactionReactorsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetTradeOfferAccessTokenResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `GetItemsResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgDpGetNumberOfCurrentPlayersResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `GetGameAchievementsResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientLbsFindOrCreateLbResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientLbsGetLbEntriesResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientLbsSetScoreResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientLbsSetUgcResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetCommunityItemDefinitionsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `QueryRewardItemsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetFriendsRecommendedAppResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `ClientGetFriendsWhoPlayGameResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientRequestFreeLicenseResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `ClientGetLegacyGameKeyResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `RegisterCDKeyResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientRequestEncryptedAppTicketResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientGetAppOwnershipTicketResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetRolesResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetCommentThreadResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetCommentThreadResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `PostCommentToThreadResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `DeleteCommentFromThreadResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `PostCommentToThreadResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetSteamNotificationsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetReactionsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetServersForSteamPipeResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientCheckAppBetaPasswordResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetManifestRequestCodeResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientGetDepotDecryptionKeyResponse`
[error] invalid-assignment - Object of type `ProtobufMessage | Message` is not assignable to `CMsgClientPicsAccessTokenResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetDetailsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetDetailsResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetUserFilesResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `QueryFilesResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `QueryFilesResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetChangeHistoryResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `GetChangeHistoryEntryResponse`
[warning] unsound-assignment - Unsound assignment: `UnifiedMessage` is not a subtype of `CanSubscribeResponse`

steam/user.py

[error] invalid-return-type - Return type does not match returned value: expected `Inventory[Item[Self@inventory], Self@inventory]`, found `Inventory[Item[BaseUser], Self@inventory]`

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

strawberry/asgi/__init__.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

strawberry/channels/handlers/ws_handler.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

strawberry/extensions/max_aliases.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str] | None`

strawberry/extensions/query_depth_limiter.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str] | None`

strawberry/fastapi/router.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

strawberry/quart/views.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `str | None`

strawberry/relay/types.py

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

strawberry/types/object_type.py

[warning] unsound-return-statement - Unsound return statement: `dict[str, Any]` is not a subtype of `dict[str, object]`

streamlit strict (https://github.com/streamlit/streamlit)

lib/streamlit/runtime/state/widgets.py

[warning] unsound-return-statement - Unsound return statement: `RegisterWidgetResult[T@register_widget_from_metadata | Unknown]` is not a subtype of `RegisterWidgetResult[T@register_widget_from_metadata]`

lib/streamlit/elements/widgets/menu_button.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `T@menu_button | None`

lib/streamlit/elements/widgets/radio.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `T@radio | None`

lib/streamlit/elements/widgets/selectbox.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | str | None` is not a subtype of `T@selectbox | str | None`

lib/streamlit/runtime/fragment.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str] | None`

lib/streamlit/runtime/pages_manager.py

[warning] unsound-return-statement - Unsound return statement: `Unknown | None` is not a subtype of `PageInfo | None`

lib/streamlit/runtime/scriptrunner/script_runner.py

[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`
[warning] unsound-assignment - Unsound assignment: `frozenset[Unknown]` is not a subtype of `frozenset[str]`

lib/streamlit/runtime/secrets.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[str]`

lib/streamlit/runtime/websocket_session_manager.py

[warning] unsound-return-statement - Unsound return statement: `tuple[tuple[Any, str], ...]` is not a subtype of `tuple[tuple[str, str], ...] | None`

sympy non-strict (https://github.com/sympy/sympy)

sympy/combinatorics/permutations.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

sympy/core/mul.py

[warning] truthiness-test-of-none-union - Boolean test on `bool | None` does not distinguish `None` from other falsy values: `None` and `False` are both falsy

sympy/core/relational.py

[error] invalid-argument-type - Argument to constructor `Relational.__new__` is incorrect: Expected `type[Unequality | StrictLessThan | LessThan | ... omitted 3 types]`, found `<class 'Unequality'> | <class 'StrictLessThan'> | <class 'LessThan'> | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to constructor `Relational.__new__` is incorrect: Expected `type[Unknown]`, found `<class 'Unequality'> | <class 'StrictLessThan'> | <class 'LessThan'> | ... omitted 4 union elements`

sympy/matrices/eigen.py

[warning] unsound-return-statement - Unsound return statement: `list[UnspecializedTypeVar]` is not a subtype of `list[tuple[Expr, int, list[Tmat@_eigenvects_DOM]]] | None`
[warning] unsound-return-statement - Unsound return statement: `list[Unknown]` is not a subtype of `list[tuple[Expr, int, list[Tmat@_eigenvects_DOM]]] | None`

sympy/matrices/matrixbase.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `tuple[int, int]`
[warning] unsound-return-statement - Unsound return statement: `tuple[Self@gauss_jordan_solve | Unknown, Self@gauss_jordan_solve | Unknown] | tuple[Self@gauss_jordan_solve | Unknown, Self@gauss_jordan_solve | Unknown, list[int]]` is not a subtype of `tuple[Self@gauss_jordan_solve, Self@gauss_jordan_solve] | tuple[Self@gauss_jordan_solve, Self@gauss_jordan_solve, list[int]]`
[warning] unsound-return-statement - Unsound return statement: `Self@pinv_solve | Unknown` is not a subtype of `Self@pinv_solve`
[warning] unsound-return-statement - Unsound return statement: `set[Unknown]` is not a subtype of `set[Basic] | set[Tbasic@_eval_atoms]`
[warning] unsound-return-statement - Unsound return statement: `set[Unknown | Basic]` is not a subtype of `set[Basic] | set[Tbasic@_eval_atoms]`

sympy/ntheory/factor_.py

[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, Unknown]` is not a subtype of `tuple[int, int]`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

sympy/polys/densebasic.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Er@dmp_ground_nth`

sympy/polys/densetools.py

[warning] unsound-return-statement - Unsound return statement: `list[Divergent]` is not a subtype of `list[Er@_dup_right_decompose]`

sympy/polys/rings.py

[error] no-matching-overload - No overload of bound method `PolyRing.clone` matches arguments
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `PolyRing[PolyElement[Er@PolyRing]] | PolyRing[Er@PolyRing]`
[warning] unsound-assignment - Unsound assignment: `PolyElement[Unknown]` is not a subtype of `PolyElement[Er@PolyElement]`
[warning] unsound-assignment - Unsound assignment: `PolyElement[Unknown]` is not a subtype of `PolyElement[Er@PolyElement]`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `tuple[Unknown, ...]` is not a subtype of `tuple[int, ...]`

sympy/polys/rootconditions.py

[warning] unsound-assignment - Unsound assignment: `list[Divergent]` is not a subtype of `list[Er@_dup_routh_hurwitz_fraction_free]`
[warning] unsound-assignment - Unsound assignment: `list[Divergent]` is not a subtype of `list[Er@_dup_routh_hurwitz_fraction_free]`

sympy/solvers/diophantine/tests/test_diophantine.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Any | Literal[1]` and value of type `Literal[0]` on object of type `dict[str, str]`
[warning] redundant-condition-strict - Condition `coeff[X**2] != 0` is always true
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, str].__getitem__(key: str, /) -> str` cannot be called with key of type `Literal[1]` on object of type `dict[str, str]`
[error] no-matching-overload - No overload of `dict.__init__` matches arguments
[error] no-matching-overload - No overload of `dict.__init__` matches arguments

sympy/tensor/array/expressions/array_expressions.py

[error] invalid-argument-type - Argument to function `reduce` is incorrect: Expected `(SupportsIndex, SupportsIndex, /) -> SupportsIndex`, found `Overload[[_T_contra, _T_co](a: SupportsMul[_T_contra, _T_co], b: _T_contra, /) -> _T_co, [_T_contra, _T_co](a: _T_contra, b: SupportsRMul[_T_contra, _T_co], /) -> _T_co]`
[error] invalid-argument-type - Argument to function `reduce` is incorrect: Expected `(Unknown | Basic, Unknown | Basic, /) -> Unknown | Basic`, found `Overload[[_T_contra, _T_co](a: SupportsAdd[_T_contra, _T_co], b: _T_contra, /) -> _T_co, [_T_contra, _T_co](a: _T_contra, b: SupportsRAdd[_T_contra, _T_co], /) -> _T_co]`

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

tornado/queues.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `_T@_get`

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

src/trio/_tests/test_path.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `Path`

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

src/urllib3/util/retry.py

[warning] unsound-assignment - Unsound assignment: `int | Unknown` is not a subtype of `float`
[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `float`

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

torchvision/datasets/samplers/clip_sampler.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `Iterator[int]`
[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `int`

torchvision/models/detection/_utils.py

[warning] unsound-return-statement - Unsound return statement: `int | Unknown` is not a subtype of `int`

torchvision/models/detection/transform.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `float | None`

torchvision/ops/drop_block.py

[warning] unsound-assignment - Unsound assignment: `int | Unknown` is not a subtype of `int`
[warning] unsound-assignment - Unsound assignment: `int | Unknown` is not a subtype of `int`

websockets non-strict (https://github.com/aaugustin/websockets)

src/websockets/legacy/handshake.py

[warning] unsound-assignment - Unsound assignment: `list[ConnectionOption] | list[Unknown]` is not a subtype of `list[ConnectionOption]`
[warning] unsound-assignment - Unsound assignment: `list[UpgradeProtocol] | list[Unknown]` is not a subtype of `list[UpgradeProtocol]`
[warning] unsound-assignment - Unsound assignment: `list[ConnectionOption] | list[Unknown]` is not a subtype of `list[ConnectionOption]`
[warning] unsound-assignment - Unsound assignment: `list[UpgradeProtocol] | list[Unknown]` is not a subtype of `list[UpgradeProtocol]`

src/websockets/client.py

[warning] unsound-assignment - Unsound assignment: `list[ConnectionOption] | list[Unknown]` is not a subtype of `list[ConnectionOption]`
[warning] unsound-assignment - Unsound assignment: `list[UpgradeProtocol] | list[Unknown]` is not a subtype of `list[UpgradeProtocol]`
[warning] unsound-assignment - Unsound assignment: `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]] | list[Unknown]` is not a subtype of `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]]`

src/websockets/legacy/client.py

[warning] unsound-assignment - Unsound assignment: `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]] | list[Unknown]` is not a subtype of `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]]`

src/websockets/legacy/server.py

[warning] unsound-assignment - Unsound assignment: `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]] | list[Unknown]` is not a subtype of `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]]`
[warning] unsound-assignment - Unsound assignment: `list[Subprotocol] | list[Unknown]` is not a subtype of `list[Subprotocol]`

src/websockets/server.py

[warning] unsound-assignment - Unsound assignment: `list[ConnectionOption] | list[Unknown]` is not a subtype of `list[ConnectionOption]`
[warning] unsound-assignment - Unsound assignment: `list[UpgradeProtocol] | list[Unknown]` is not a subtype of `list[UpgradeProtocol]`
[warning] unsound-assignment - Unsound assignment: `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]] | list[Unknown]` is not a subtype of `list[tuple[ExtensionName, Sequence[tuple[str, str | None]]]]`

werkzeug non-strict (https://github.com/pallets/werkzeug)

src/werkzeug/datastructures/cache_control.py

[warning] unsound-assignment - Unsound assignment: `dict[Unknown, Unknown]` is not a subtype of `Mapping[str, str | None] | Iterable[tuple[str, str | None]] | None`
[error] invalid-assignment - Object of type `MutableMapping[str, str | None] | MutableMapping[tuple[str, str | None], Unknown] | dict[str, Unknown] | dict[Unknown, Unknown]` is not assignable to attribute `_data` of type `MutableMapping[str, str | None]`
[error] invalid-assignment - Object of type `MutableMapping[str, str | None] | MutableMapping[tuple[str, str | None], Unknown] | dict[str, Unknown]` is not assignable to attribute `_data` of type `MutableMapping[str, str | None]`

src/werkzeug/datastructures/structures.py

[error] invalid-argument-type - Argument to bound method `MultiDict.getlist` is incorrect: Expected `(V@CombinedMultiDict, /) -> T@getlist`, found `((V@CombinedMultiDict, /) -> T@getlist) | None`
[error] invalid-argument-type - Argument to bound method `MultiDict.getlist` is incorrect: Expected `(V@CombinedMultiDict, /) -> Unknown`, found `((V@CombinedMultiDict, /) -> T@getlist) | None`

src/werkzeug/routing/rules.py

[warning] unsound-assignment - Unsound assignment: `list[tuple[str, Any]]` is not a subtype of `Iterable[tuple[str, str]]`

src/werkzeug/test.py

[warning] unsound-assignment - Unsound assignment: `MultiDict[str, Unknown]` is not a subtype of `Mapping[str, str] | str | None`

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

xarray/backends/api.py

[warning] redundant-cast - Value is already of type `str`

xarray/backends/common.py

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

xarray/computation/fit.py

[warning] unsound-assignment - Unsound assignment: `tuple[Unknown | DataArray, ...]` is not a subtype of `Sequence[DataArray]`
[warning] unsound-assignment - Unsound assignment: `list[Unknown | DataArray]` is not a subtype of `Sequence[DataArray]`

xarray/conventions.py

[warning] unsound-assignment - Unsound assignment: `set[Hashable | Unknown]` is not a subtype of `Iterable[Hashable] | None`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, Literal[True] | Unknown] | Literal[True]`, found `bool | Mapping[str, bool]`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, bool] | Literal[True]`, found `bool | Mapping[str, bool]`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, Literal[True] | Unknown] | Literal[True]`, found `bool | Mapping[str, bool]`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, bool] | Literal[True]`, found `bool | Mapping[str, bool]`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, None | Unknown] | None`, found `bool | Mapping[str, bool] | None`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, None | bool] | None`, found `bool | Mapping[str, bool] | None`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, None | Unknown] | None`, found `bool | CFTimedeltaCoder | Mapping[str, bool | CFTimedeltaCoder] | None`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, None | bool | CFTimedeltaCoder] | None`, found `bool | CFTimedeltaCoder | Mapping[str, bool | CFTimedeltaCoder] | None`

xarray/core/common.py

[warning] unsound-return-statement - Unsound return statement: `Frozen[DimType_co@AbstractArray, Unknown]` is not a subtype of `Mapping[DimType_co@AbstractArray, int]`
[warning] unsound-assignment - Unsound assignment: `list[object]` is not a subtype of `Hashable | Iterable[Hashable]`
[warning] unsound-return-statement - Unsound return statement: `list[object] | list[Hashable | str] | list[Unknown]` is not a subtype of `list[Hashable]`
[warning] unsound-return-statement - Unsound return statement: `list[Hashable] | list[Unknown]` is not a subtype of `list[Hashable]`

xarray/core/dataarray.py

[warning] unsound-assignment - Unsound assignment: `list[Any]` is not a subtype of `Iterable[Hashable] | None`
[error] invalid-assignment - Object of type `dict[Hashable, object]` is not assignable to `T_ChunksFreq`
[error] invalid-assignment - Object of type `(Sequence[Sequence[Unknown] | Index[Any] | DataArray | Variable[Unknown, Unknown, Hashable] | ndarray[tuple[Any, ...], dtype[Any]]] & Top[dict[Unknown, Unknown]]) | (Mapping[Unknown, Unknown] & Top[dict[Unknown, Unknown]]) | dict[Unknown, Variable[Unknown, Unknown, Hashable]]` is not assignable to attribute `_coords` of type `dict[Any, Variable[Unknown, Unknown, Hashable]]`
[error] invalid-assignment - Object of type `(Sequence[Sequence[Unknown] | Index[Any] | DataArray | Variable[Unknown, Unknown, Hashable] | ndarray[tuple[Any, ...], dtype[Any]]] & Top[dict[Unknown, Unknown]]) | (Mapping[Unknown, Unknown] & Top[dict[Unknown, Unknown]])` is not assignable to attribute `_coords` of type `dict[Any, Variable[Unknown, Unknown, Hashable]]`
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Unknown, Resampler | str | int | tuple[int, ...] | None] | None`, found `int | None | (Mapping[Any, T_ChunkDimFreq] & ~float* & ~str & ~tuple[object, ...] & ~Top[list[Unknown]])`
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, T_ChunkDimFreq] | None`, found `int | None | (Mapping[Any, T_ChunkDimFreq] & ~float* & ~str & ~tuple[object, ...] & ~Top[list[Unknown]])`

xarray/core/dataset.py

[warning] unsound-assignment - Unsound assignment: `list[object]` is not a subtype of `Hashable | Iterable[Hashable]`
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Resampler | str | int | tuple[int, ...] | None] | None`, found `(str & Top[Mapping[Unknown, object]]) | (int & Top[Mapping[Unknown, object]]) | (tuple[int, ...] & Top[Mapping[Unknown, object]]) | ... omitted 3 union elements`
[warning] unsound-assignment - Unsound assignment: `set[object]` is not a subtype of `Hashable | Iterable[Hashable]`

xarray/core/datatree.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `DataTree`
[warning] unsound-return-statement - Unsound return statement: `Frozen[str, Mapping[Any, tuple[int, ...]]]` is not a subtype of `Mapping[str, Mapping[Hashable, tuple[int, ...]]]`

xarray/core/extension_array.py

[warning] unsound-return-statement - Unsound return statement: `PandasExtensionArray[T_ExtensionArray@PandasExtensionArray | Unknown]` is not a subtype of `PandasExtensionArray[T_ExtensionArray@PandasExtensionArray]`
[warning] unsound-return-statement - Unsound return statement: `PandasExtensionArray[T_ExtensionArray@PandasExtensionArray | Unknown]` is not a subtype of `PandasExtensionArray[T_ExtensionArray@PandasExtensionArray]`
[warning] unsound-return-statement - Unsound return statement: `PandasExtensionArray[T_ExtensionArray@PandasExtensionArray | Unknown]` is not a subtype of `PandasExtensionArray[T_ExtensionArray@PandasExtensionArray]`

xarray/core/utils.py

[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `int`

xarray/core/variable.py

[error] invalid-argument-type - Argument to bound method `NamedArray._check_shape` is incorrect: Expected `duckarray[Any, DType_co@Variable]`, found `_SupportsArray[dtype[Any]]`
[error] invalid-assignment - Object of type `_SupportsArray[dtype[Any]]` is not assignable to attribute `_data` of type `duckarray[Any, DType_co@Variable]`
[error] invalid-return-type - Return type does not match returned value: expected `Variable[ShapeType_co@Variable, DType_co@Variable, DimType_co@Variable]`, found `Variable[ShapeType_co@Variable | tuple[int, ...], DType_co@Variable, DimType_co@Variable]`
[error] invalid-return-type - Return type does not match returned value: expected `Variable[ShapeType_co@Variable, DType_co@Variable, DimType_co@Variable]`, found `Variable[tuple[int, ...], Unknown, DimType_co@Variable]`
[error] invalid-return-type - Return type does not match returned value: expected `IndexVariable[ShapeType_co@Variable, DType_co@Variable, DimType_co@Variable]`, found `IndexVariable[ShapeType_co@Variable | tuple[int, ...], DType_co@Variable, DimType_co@Variable]`
[error] invalid-return-type - Return type does not match returned value: expected `IndexVariable[ShapeType_co@Variable, DType_co@Variable, DimType_co@Variable]`, found `IndexVariable[tuple[int, ...], Unknown, DimType_co@Variable]`

xarray/namedarray/core.py

[error] no-matching-overload - No overload of function `_new` matches arguments
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Unknown, Any] | None`, found `int | (Mapping[Any, T_ChunkDim] & ~float* & ~str & ~tuple[object, ...] & ~Top[list[Unknown]]) | dict[Any, Unknown]`
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, T_ChunkDim] | None`, found `int | (Mapping[Any, T_ChunkDim] & ~float* & ~str & ~tuple[object, ...] & ~Top[list[Unknown]]) | dict[Any, Unknown]`
[error] invalid-argument-type - Argument to bound method `ChunkManagerEntrypoint.rechunk` is incorrect: Expected `tuple[tuple[int, ...], ...] | tuple[int, ...]`, found `(Mapping[Any, T_ChunkDim] & float*) | str | tuple[int, ...] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `ChunkManagerEntrypoint.rechunk` is incorrect: Expected `tuple[tuple[int, ...], ...] | tuple[int, ...]`, found `Mapping[Any, T_ChunkDim] | str | tuple[int, ...] | dict[Any, Any]`
[error] invalid-argument-type - Argument to bound method `ChunkManagerEntrypoint.from_array` is incorrect: Expected `tuple[tuple[int, ...], ...]`, found `(Mapping[Any, T_ChunkDim] & float*) | str | tuple[int, ...] | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `ChunkManagerEntrypoint.from_array` is incorrect: Expected `tuple[tuple[int, ...], ...]`, found `Mapping[Any, T_ChunkDim] | str | tuple[int, ...] | dict[Any, Any]`

xarray/plot/facetgrid.py

[warning] unsound-return-statement - Unsound return statement: `FacetGrid[Unknown]` is not a subtype of `FacetGrid[T_DataArrayOrSet@_easy_facetgrid]`
[warning] unsound-return-statement - Unsound return statement: `FacetGrid[Unknown]` is not a subtype of `FacetGrid[T_DataArrayOrSet@_easy_facetgrid]`
[warning] unsound-return-statement - Unsound return statement: `FacetGrid[Unknown]` is not a subtype of `FacetGrid[T_DataArrayOrSet@_easy_facetgrid]`
[warning] unsound-return-statement - Unsound return statement: `FacetGrid[Unknown]` is not a subtype of `FacetGrid[T_DataArrayOrSet@_easy_facetgrid]`

xarray/structure/merge.py

[warning] unsound-assignment - Unsound assignment: `set[object]` is not a subtype of `Hashable | Iterable[Hashable]`

xarray-dataclasses non-strict (https://github.com/astropenguin/xarray-dataclasses)

xarray_dataclasses/datamodel.py

[warning] unsound-return-statement - Unsound return statement: `(Unknown & ~None) | Self@__new__` is not a subtype of `MissingType`
[warning] unsound-return-statement - Unsound return statement: `Unknown` is not a subtype of `MissingType`

yarl non-strict (https://github.com/aio-libs/yarl)

tests/test_update_query.py

[error] invalid-argument-type - Argument to bound method `URL.with_query` is incorrect: Expected `None | str | Mapping[str, Sequence[str | SupportsInt] | SupportsInt] | Sequence[tuple[str, Sequence[str | SupportsInt] | SupportsInt]]`, found `memoryview[int]`

tests/test_url_query.py

[error] invalid-argument-type - Argument to bound method `URL.update_query` is incorrect: Expected `None | str | Mapping[str, Sequence[str | SupportsInt] | SupportsInt] | Sequence[tuple[str, Sequence[str | SupportsInt] | SupportsInt]]`, found `memoryview[int]`

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

zerver/lib/presence.py

[warning] unsound-assignment - Unsound assignment: `Any` is not a subtype of `int | None`

zerver/lib/response.py

[warning] unsound-return-statement - Unsound return statement: `Iterator[Any]` is not a subtype of `Iterator[bytes]`

corporate/lib/test_stripe_class.py

[warning] unsound-return-statement - Unsound return statement: `ReturnT@_mock_stripe | Divergent` is not a subtype of `ReturnT@_mock_stripe`
[warning] unsound-return-statement - Unsound return statement: `ReturnT@_mock_stripe | Divergent` is not a subtype of `ReturnT@_mock_stripe`
[error] unresolved-attribute - Object of type `((**ParamT@_mock_stripe) -> ReturnT@_mock_stripe) | ((...) -> Divergent)` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((**ParamT@_mock_stripe) -> ReturnT@_mock_stripe) | ((...) -> ReturnT@_mock_stripe)` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((**ParamT@_mock_stripe) -> ReturnT@_mock_stripe) | ((...) -> Divergent)` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((**ParamT@_mock_stripe) -> ReturnT@_mock_stripe) | ((...) -> ReturnT@_mock_stripe)` has no attribute `__name__`

corporate/tests/test_stripe.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str`

corporate/views/realm_activity.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `datetime | None`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `datetime | None`

zerver/lib/export.py

[warning] unsound-assignment - Unsound assignment: `list[Unknown]` is not a subtype of `Iterable[Attachment] | None`

zerver/lib/markdown/__init__.py

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

zerver/models/realms.py

[warning] unsound-return-statement - Unsound return statement: `Any | int` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Any | int` is not a subtype of `int | None`
[warning] unsound-return-statement - Unsound return statement: `Literal[10] | Any` is not a subtype of `int`
[warning] unsound-return-statement - Unsound return statement: `Literal[1024] | Any` is not a subtype of `int`

zerver/models/users.py

[warning] unsound-assignment - Unsound assignment: `BooleanField[bool | Combinable, Unknown]` is not a subtype of `bool | BooleanField[bool | Combinable, bool]`

zerver/tests/test_microsoft_teams_importer.py

[warning] unsound-assignment - Unsound assignment: `float* | Unknown` is not a subtype of `float`

zerver/tests/test_push_registration.py

[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str`
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `str`

zilencer/management/commands/populate_db.py

[warning] unsound-assignment - Unsound assignment: `list[Unknown]` is not a subtype of `Sequence[UserProfile]`