Update super props #604
Annotations
6 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/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)
|
Run Pyright
5 errors
|
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