Skip to content

[pre-commit.ci] pre-commit autoupdate #896

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #896

Triggered via pull request August 19, 2024 21:27
Status Failure
Total duration 57s
Artifacts

pyright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build: examples/csgo/casket.py#L13
Type of "inventory" is partially unknown   Type of "inventory" is "Overload[(app: Unknown, *, language: object = ...) -> Coroutine[Any, Any, Backpack], (app: App[str | None], *, language: Language | None = None) -> Coroutine[Any, Any, Inventory[Item[ClientUser], ClientUser]]]" (reportUnknownMemberType)
build: examples/tf2/autocraft.py#L16
Type of "inventory" is partially unknown   Type of "inventory" is "Overload[(app: Unknown, *, language: object = ...) -> Coroutine[Any, Any, Backpack], (app: App[str | None], *, language: Language | None = None) -> Coroutine[Any, Any, Inventory[Item[ClientUser], ClientUser]]]" (reportUnknownMemberType)
build: scripts/decode.py#L66
Argument of type "(self: ConnectionState, msg: CMsgMulti) -> None" cannot be assigned to parameter "value" of type "ParserCallback[ConnectionState, ProtoMsgs]" in function "__setitem__"   Type "(self: ConnectionState, msg: CMsgMulti) -> None" is incompatible with type "(self: ConnectionState, msg: ProtoMsgs, /, *args: Any) -> (CoroutineType[Any, Any, Any] | Any)"     Parameter 2: type "ProtoMsgs" is incompatible with type "CMsgMulti"       Type "ProtoMsgs" is incompatible with type "CMsgMulti"         "Message" is incompatible with "CMsgMulti"     Parameter "*args" has no corresponding parameter (reportArgumentType)
build: scripts/decode.py#L68
Argument of type "(self: ConnectionState, msg: UnifiedMessage) -> None" cannot be assigned to parameter "value" of type "ParserCallback[ConnectionState, ProtoMsgs]" in function "__setitem__"   Type "(self: ConnectionState, msg: UnifiedMessage) -> None" is incompatible with type "(self: ConnectionState, msg: ProtoMsgs, /, *args: Any) -> (CoroutineType[Any, Any, Any] | Any)"     Parameter 2: type "ProtoMsgs" is incompatible with type "UnifiedMessage"       Type "ProtoMsgs" is incompatible with type "UnifiedMessage"         "Message" is incompatible with "UnifiedMessage"     Parameter "*args" has no corresponding parameter (reportArgumentType)
build: scripts/decode.py#L70
Argument of type "(self: ConnectionState, msg: UnifiedMessage) -> None" cannot be assigned to parameter "value" of type "ParserCallback[ConnectionState, ProtoMsgs]" in function "__setitem__"   Type "(self: ConnectionState, msg: UnifiedMessage) -> None" is incompatible with type "(self: ConnectionState, msg: ProtoMsgs, /, *args: Any) -> (CoroutineType[Any, Any, Any] | Any)"     Parameter 2: type "ProtoMsgs" is incompatible with type "UnifiedMessage"       Type "ProtoMsgs" is incompatible with type "UnifiedMessage"         "Message" is incompatible with "UnifiedMessage"     Parameter "*args" has no corresponding parameter (reportArgumentType)
build: steam/abc.py#L220
Operator "<" not supported for "None" (reportOptionalOperand)
build: steam/abc.py#L220
Operator "<" not supported for types "datetime" and "datetime | None"   Operator "<" not supported for types "datetime" and "None" (reportOperatorIssue)
build: steam/abc.py#L546
Return type, "FavouriteBadge[PartialApp[str | None] | Unknown, PartialUser] | None", is partially unknown (reportUnknownParameterType)
build: steam/abc.py#L546
Variable not allowed in type expression (reportInvalidTypeForm)
build: steam/abc.py#L546
Type arguments for "Literal" must be None, a literal value (int, bool, str, or bytes), or an enum value (reportInvalidTypeForm)
build: steam/client.py#L493
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/client.py#L767
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/enums.py#L124
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/enums.py#L247
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/errors.py#L93
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/gateway.py#L692
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/gateway.py#L693
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/gateway.py#L694
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/gateway.py#L696
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/gateway.py#L697
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)