Skip to content

Add websocket send lock #504

Add websocket send lock

Add websocket send lock #504

Triggered via push January 3, 2024 19:19
Status Failure
Total duration 49s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
check: discord/abc.py#L82
Expression of type "type[User]" cannot be assigned to declared type "type[User]"   "User" is incompatible with protocol "User"   Type "type[User]" cannot be assigned to type "type[User]"     "avatar_decoration_sku_id" is an incompatible type       Type "() -> (Snowflake | None)" cannot be assigned to type "() -> (int | None)"         Function return type "Snowflake | None" is incompatible with type "int | None"           Type "Snowflake | None" cannot be assigned to type "int | None" (reportGeneralTypeIssues)
check: discord/errors.py#L33
Import "WebSocket" is not accessed (reportUnusedImport)
check: discord/ext/commands/core.py#L2341
Argument of type "User | Member" cannot be assigned to parameter "user" of type "User" in function "is_owner"   Type "User | Member" cannot be assigned to type "User"     "User" is incompatible with protocol "User"       "avatar_decoration_sku_id" is an incompatible type         Type "() -> (Snowflake | None)" cannot be assigned to type "() -> (int | None)"           Function return type "Snowflake | None" is incompatible with type "int | None" (reportGeneralTypeIssues)
check
3 errors
check: discord/utils.py#L728
Unnecessary "# type: ignore" comment
check: discord/ext/commands/bot.py#L1056
Type variable "ContextT" may go unsolved if caller supplies no argument for parameter "cls"   Provide an overload that specifies the return type when the argument is not supplied (reportInvalidTypeVarUse)