Allow people to send metadata with activity and fix a bug (#649) #510
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/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
2 errors
|
check
Process completed with exit code 1.
|
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)
|