Support brands in user agent #618
Annotations
10 errors and 3 warnings
Run Pyright:
discord/__main__.py#L53
"__version__" is not exported from module "curl_cffi" (reportPrivateImportUsage)
|
Run Pyright:
discord/__main__.py#L53
"__curl_version__" is not exported from module "curl_cffi" (reportPrivateImportUsage)
|
Run Pyright:
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)
|
Run Pyright:
discord/errors.py#L33
Import "WebSocket" is not accessed (reportUnusedImport)
|
Run Pyright:
discord/gateway.py#L664
Cannot access member "arecv" for type "WebSocket"
Member "arecv" is unknown (reportGeneralTypeIssues)
|
Run Pyright:
discord/gateway.py#L703
Cannot access member "asend" for type "WebSocket"
Member "asend" is unknown (reportGeneralTypeIssues)
|
Run Pyright:
discord/gateway.py#L915
Cannot access member "asend" for type "WebSocket"
Member "asend" is unknown (reportGeneralTypeIssues)
|
Run Pyright:
discord/gateway.py#L916
Cannot assign member "keep_running" for type "WebSocket"
Member "keep_running" is unknown (reportGeneralTypeIssues)
|
Run Pyright:
discord/gateway.py#L997
Cannot access member "asend" for type "WebSocket"
Member "asend" is unknown (reportGeneralTypeIssues)
|
Run Pyright:
discord/gateway.py#L1168
Cannot access member "arecv" for type "WebSocket"
Member "arecv" is unknown (reportGeneralTypeIssues)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Pyright:
discord/utils.py#L728
Unnecessary "# type: ignore" comment
|
Run Pyright:
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)
|
Loading