Skip to content

Remove debug prints #939

Remove debug prints

Remove debug prints #939

Triggered via push October 5, 2024 02:47
Status Failure
Total duration 44s
Artifacts

pyright.yml

on: push
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 not assignable to type "(self: ConnectionState, msg: ProtoMsgs, /, *args: Any) -> (CoroutineType[Any, Any, Any] | Any)"     Parameter 2: type "ProtoMsgs" is incompatible with type "CMsgMulti"       Type "ProtoMsgs" is not assignable to type "CMsgMulti"         "Message" is not assignable to "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 not assignable to type "(self: ConnectionState, msg: ProtoMsgs, /, *args: Any) -> (CoroutineType[Any, Any, Any] | Any)"     Parameter 2: type "ProtoMsgs" is incompatible with type "UnifiedMessage"       Type "ProtoMsgs" is not assignable to type "UnifiedMessage"         "Message" is not assignable to "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 not assignable to type "(self: ConnectionState, msg: ProtoMsgs, /, *args: Any) -> (CoroutineType[Any, Any, Any] | Any)"     Parameter 2: type "ProtoMsgs" is incompatible with type "UnifiedMessage"       Type "ProtoMsgs" is not assignable to type "UnifiedMessage"         "Message" is not assignable to "UnifiedMessage"     Parameter "*args" has no corresponding parameter (reportArgumentType)
build: scripts/decode.py#L71
Argument of type "bytearray" cannot be assigned to parameter "message" of type "bytes" in function "receive"   "bytearray" is not assignable to "bytes"   Set disableBytesTypePromotions to false to enable type promotion behavior for "bytearray" and "memoryview" (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/client.py#L722
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/http.py#L174
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/manifest.py#L688
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/manifest.py#L690
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/state.py#L2172
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/state.py#L2694
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
build: steam/ext/commands/cog.py#L34
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)