Ecosystem report

Old: main (merge base) 353969e3 New: 28664/merge 37b0c5aa
Lint Rule Removed Added Changed
Total 0 9 1
invalid-argument-type 0 9 1
Project Removed Added Changed
Total 0 9 1
openlibrary non-strict 0 3 0
pip non-strict 0 2 0
rich non-strict 0 2 0
altair strict 0 1 0
jax non-strict 0 0 1
pydantic strict 0 1 0

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

altair/vegalite/v6/api.py

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

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

jax/experimental/array_serialization/serialization_test.py

[error] invalid-argument-type - Argument to class `partial` is incorrect: Expected `_SerializeAuxData`, found `def dumps(obj: Any, *, skipkeys: bool = False, ensure_ascii: bool = True, check_circular: bool = True, allow_nan: bool = True, cls: type[JSONEncoder] | None = None, indent: None | int | str = None, separators: tuple[str, str] | None = None, default: ((Any, /) -> Any) | None = None, sort_keys: bool = False, **kwds: Any) -> str`
[error] invalid-argument-type - Argument to class `partial` is incorrect: Expected `_SerializeAuxData`, found `def dumps(obj: Any, *, skipkeys: bool = False, ensure_ascii: bool = True, check_circular: bool = True, allow_nan: bool = True, cls: type[JSONEncoder] | None = None, indent: None | int | LiteralString = None, separators: tuple[str, str] | None = None, default: ((Any, /) -> Any) | None = None, sort_keys: bool = False, **kwds: Any) -> str`

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

openlibrary/plugins/upstream/utils.py

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

openlibrary/solr/utils.py

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

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

src/pip/_vendor/rich/json.py

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

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

pydantic/v1/error_wrappers.py

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

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

rich/json.py

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

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/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)
[error] call-non-callable - Cannot instantiate `MatchPlayer` with unimplemented abstract methods `_send_message` and `_send_media`

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`