Ecosystem report

Old: main (merge base) 6a50305c → New: 29131/merge 1c01e4b6
Lint Rule Removed Added Changed
Total 24 73 3
invalid-argument-type 0 61 0
unsound-return-statement 22 0 1
no-matching-overload 0 5 0
unsupported-operator 0 2 2
invalid-assignment 0 1 0
invalid-return-type 0 1 0
redundant-condition-strict 0 1 0
truthiness-test-of-none-union 0 1 0
unresolved-attribute 0 1 0
unsound-yield 1 0 0
unused-type-ignore-comment 1 0 0
Project Removed Added Changed
Total 24 73 3
dd-trace-py non-strict 2 56 0
apprise non-strict 0 5 1
pwndbg non-strict 5 0 0
schemathesis non-strict 0 4 0
setuptools strict 4 0 0
mypy non-strict 2 1 0
materialize strict 2 0 0
meson strict 2 0 0
pip non-strict 2 0 0
scikit-build-core non-strict 1 0 1
xarray strict 0 2 0
alerta strict 0 0 1
hydpy non-strict 0 1 0
hydra-zen non-strict 0 1 0
kopf strict 1 0 0
prefect strict 1 0 0
pybind11 strict 1 0 0
rotki strict 0 1 0
scipy non-strict 0 1 0
spark strict 0 1 0

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

alerta/auth/oidc.py

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

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

apprise/utils/parse.py

[error] no-matching-overload - No overload of function `split` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["port"]` and value of type `int` on object of type `dict[str, None | str | dict[Unknown, Unknown]]`
[warning] redundant-condition-strict - Condition `strict_port and port > 0 and port <= 65535` is always false
[error] unsupported-operator - Operator `+=` is not supported between objects of type `str` and `None | str | dict[Unknown, Unknown] | Any`
[warning] truthiness-test-of-none-union - Boolean test on `None | str | dict[Unknown, Unknown]` does not distinguish `None` from other falsy values: Both `None` and non-`None` values can be falsy
[error] unsupported-operator - Operator `+=` is not supported between objects of type `str` and `(str & ~AlwaysFalsy) | Unknown | None`
[error] unsupported-operator - Operator `+=` is not supported between objects of type `str` and `str | (Unknown & ~AlwaysFalsy) | None | dict[Unknown, Unknown]`

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

ddtrace/appsec/_iast/_taint_tracking/_vendor/pybind11/pybind11/commands.py

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

ddtrace/internal/remoteconfig/client.py

[error] invalid-argument-type - Argument to constructor `RemoteConfigClient.__new__` is incorrect: Expected `str | None`, found `str | None | EnvVariable[None]`
[error] invalid-argument-type - Argument to constructor `RemoteConfigClient.__new__` is incorrect: Expected `str | None`, found `str | None | EnvVariable[None]`
[error] invalid-argument-type - Argument to constructor `RemoteConfigClient.__new__` is incorrect: Expected `str | None`, found `str | None | EnvVariable[None]`
[error] invalid-argument-type - Argument to constructor `RemoteConfigClient.__new__` is incorrect: Expected `str | None`, found `str | None | EnvVariable[None]`
[error] invalid-argument-type - Argument to constructor `RemoteConfigClient.__new__` is incorrect: Expected `str | None`, found `str | None | EnvVariable[None]`
[error] invalid-argument-type - Argument to constructor `RemoteConfigClient.__new__` is incorrect: Expected `str | None`, found `str | None | EnvVariable[None]`

ddtrace/llmobs/_integrations/google_genai.py

[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `Prompt | dict[str, str | dict[str, Any] | list[str] | ... omitted 3 union elements] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, Any] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, Any] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, str] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[Document] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[Document] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[_SpanLink] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[str] | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `list[ToolDefinition]`

ddtrace/llmobs/_integrations/langchain.py

[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `Prompt | dict[str, str | dict[str, Any] | list[str] | ... omitted 3 union elements] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `dict[str, str] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[Message] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[Message] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[ToolDefinition] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[_SpanLink] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `list[str] | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`
[error] invalid-argument-type - Argument to function `_annotate_llmobs_span_data` is incorrect: Expected `str | None`, found `Unknown | list[Document]`

scripts/supported_configurations.py

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

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

hydpy/core/modeltools.py

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

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

src/hydra_zen/wrapper/_implementations.py

[error] invalid-argument-type - Argument is incorrect: Expected `P@Zen.kwargs`, found `DictConfig`

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

kopf/_cogs/configs/conventions.py

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

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

misc/python/materialize/mzcompose/__init__.py

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

test/sqllogictest/mzcompose.py

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

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

mesonbuild/backend/ninjabackend.py

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

mesonbuild/dependencies/cuda.py

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

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

mypy/checker.py

[warning] unsound-return-statement - Unsound return statement: `tuple[list[Type], list[Unknown]]` is not a subtype of `tuple[list[Type], list[Type]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[list[Type], list[Type]]`, found `tuple[list[Type], list[TypeVarType]]`

mypy/stubtest.py

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

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

src/pip/_vendor/platformdirs/macos.py

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

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

src/prefect/server/events/schemas/automations.py

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

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

pwndbg/chain.py

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

pwndbg/commands/context.py

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

pybind11 strict (https://github.com/pybind/pybind11)

pybind11/commands.py

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

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

rotkehlchen/data_import/utils.py

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

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

src/schemathesis/generation/jsonschema/strategy.py

[error] invalid-argument-type - Argument to function `lists` is incorrect: Expected `bool`, found `(value: JsonValue) -> object`
[error] invalid-argument-type - Argument to function `lists` is incorrect: Expected `int | None`, found `(value: JsonValue) -> object`
[error] invalid-argument-type - Argument to function `lists` is incorrect: Expected `int`, found `(value: JsonValue) -> object`
[error] invalid-argument-type - Argument to function `lists` is incorrect: Expected `bool`, found `(value: JsonValue) -> object`

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

src/scikit_build_core/build/_wheelfile.py

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

src/scikit_build_core/settings/sources.py

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

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

scipy/stats/tests/common_tests.py

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

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

setuptools/_vendor/platformdirs/macos.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`
[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`

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

python/pyspark/sql/connect/plan.py

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

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

steam/chat.py

flaky
(1/10)
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `mentions`
flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `list[ClanMember | PartialMember] | list[GroupMember | PartialMember]` is not a subtype of `list[MemberT@ChatMessage | PartialMember]`
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `_maybe_members`
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `officers`
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `mods`

steam/client.py

flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `PublishedFile[User | PartialUser] | None` is not a subtype of `PublishedFile[PartialUser] | None`
flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `list[PublishedFile[User | PartialUser] | None]` is not a subtype of `list[PublishedFile[PartialUser] | None]`

steam/event.py

flaky
(1/10)
[warning] truthiness-test-of-none-union - Boolean test on `User | PartialUser | None` does not distinguish `None` from other falsy values: Both `None` and non-`None` values can be falsy

steam/ext/commands/converters.py

flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `(ClanMember & Member[Unknown, Unknown]) | (PartialMember & Member[Unknown, Unknown]) | (GroupMember & Member[Unknown, Unknown])` is not a subtype of `Member[Clan | None, Group | None]`

steam/ext/csgo/models.py

flaky
(1/10)
[warning] truthiness-test-of-none-union - Boolean test on `MatchPlayer | None` does not distinguish `None` from other falsy values: Both `None` and non-`None` values can be falsy

steam/ext/csgo/state.py

flaky
(1/10)
[error] missing-argument - No argument provided for required parameter `id` of `PartialUser.__init__`
flaky
(1/10)
[error] unknown-argument - Argument `proto` does not match any known parameter of `PartialUser.__init__`

steam/leaderboard.py

flaky
(1/10)
[error] call-non-callable - Cannot instantiate `LeaderboardUser` with unimplemented abstract methods `_send_message` and `_send_media`

steam/published_file.py

flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `PublishedFile[User | PartialUser] & ~AlwaysFalsy` is not a subtype of `PublishedFile[PartialUser]`

steam/review.py

flaky
(1/10)
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `bool | None`

steam/state.py

flaky
(1/10)
[error] call-non-callable - Cannot instantiate `Friend` with unimplemented abstract methods `_send_message` and `_send_media`
(1/10)
[error] call-non-callable - Cannot instantiate `Friend` with unimplemented abstract methods `_send_message` and `_send_media`
flaky
(1/10)
[error] call-non-callable - Cannot instantiate `Friend` with unimplemented abstract methods `_send_message` and `_send_media`
flaky
(1/10)
[warning] disjoint-cast - Cast from `ID[Type]` to disjoint type `User`

steam/user.py

flaky
(1/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`
flaky
(1/10)
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `GetRecentMessagesResponseFriendMessage | None`
flaky
(1/10)
[error] invalid-argument-type - Argument to function `ID.__init__` is incorrect: Expected `Never`, found `Self@__init__`

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

strawberry/exceptions/utils/source_finder.py

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

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

xarray/tests/test_concat.py

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