Skip to content

Support brands in user agent #618

Support brands in user agent

Support brands in user agent #618

Triggered via push January 10, 2025 20:13
Status Failure
Total duration 55s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
check: discord/__main__.py#L53
"__version__" is not exported from module "curl_cffi" (reportPrivateImportUsage)
check: discord/__main__.py#L53
"__curl_version__" is not exported from module "curl_cffi" (reportPrivateImportUsage)
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/gateway.py#L664
Cannot access member "arecv" for type "WebSocket"   Member "arecv" is unknown (reportGeneralTypeIssues)
check: discord/gateway.py#L703
Cannot access member "asend" for type "WebSocket"   Member "asend" is unknown (reportGeneralTypeIssues)
check: discord/gateway.py#L915
Cannot access member "asend" for type "WebSocket"   Member "asend" is unknown (reportGeneralTypeIssues)
check: discord/gateway.py#L916
Cannot assign member "keep_running" for type "WebSocket"   Member "keep_running" is unknown (reportGeneralTypeIssues)
check: discord/gateway.py#L997
Cannot access member "asend" for type "WebSocket"   Member "asend" is unknown (reportGeneralTypeIssues)
check: discord/gateway.py#L1168
Cannot access member "arecv" for type "WebSocket"   Member "arecv" is unknown (reportGeneralTypeIssues)
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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)