[pre-commit.ci] pre-commit autoupdate #913
Annotations
10 errors and 10 warnings
Run jakebailey/pyright-action@v2:
examples/csgo/casket.py#L13
Type of "inventory" is partially unknown
Type of "inventory" is "Overload[(app: Unknown & TypeForm[Unknown], *, language: object = ...) -> Coroutine[Any, Any, Backpack], (app: App[str | None], *, language: Language | None = None) -> Coroutine[Any, Any, Inventory[Item[ClientUser], ClientUser]]]" (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
examples/tf2/autocraft.py#L16
Type of "inventory" is partially unknown
Type of "inventory" is "Overload[(app: Unknown & TypeForm[Unknown], *, language: object = ...) -> Coroutine[Any, Any, Backpack], (app: App[str | None], *, language: Language | None = None) -> Coroutine[Any, Any, Inventory[Item[ClientUser], ClientUser]]]" (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
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)
|
Run jakebailey/pyright-action@v2:
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)
|
Run jakebailey/pyright-action@v2:
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)
|
Run jakebailey/pyright-action@v2:
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)
|
Run jakebailey/pyright-action@v2:
steam/abc.py#L220
Operator "<" not supported for "None" (reportOptionalOperand)
|
Run jakebailey/pyright-action@v2:
steam/abc.py#L220
Operator "<" not supported for types "datetime" and "datetime | None"
Operator "<" not supported for types "datetime" and "None" (reportOperatorIssue)
|
Run jakebailey/pyright-action@v2:
steam/abc.py#L546
Return type, "FavouriteBadge[PartialApp[str | None] | Unknown & TypeForm[Unknown], PartialUser] | None", is partially unknown (reportUnknownParameterType)
|
Run jakebailey/pyright-action@v2:
steam/abc.py#L546
Variable not allowed in type expression (reportInvalidTypeForm)
|
Run jakebailey/pyright-action@v2:
steam/client.py#L493
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/client.py#L767
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/enums.py#L124
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/enums.py#L247
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/errors.py#L93
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/gateway.py#L692
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/gateway.py#L693
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/gateway.py#L694
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/gateway.py#L696
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Run jakebailey/pyright-action@v2:
steam/gateway.py#L697
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
|
Loading