feat: Added Greedy app_commands.Transformer #10
Annotations
8 errors and 9 warnings
check 3.9
Process completed with exit code 1.
|
check 3.9
Exit code 1
|
check 3.x
Process completed with exit code 1.
|
check 3.x:
discord_tools/app_commands/transformers.py#L27
Import "Generic" is not accessed (reportUnusedImport)
|
check 3.x:
discord_tools/app_commands/transformers.py#L39
Expected no type arguments for class "Transformer" (reportInvalidTypeArguments)
|
check 3.x:
discord_tools/app_commands/transformers.py#L39
Type variable "T" has no meaning in this context (reportGeneralTypeIssues)
|
check 3.x:
discord_tools/app_commands/transformers.py#L54
Argument of type "Interaction[Client]" cannot be assigned to parameter "interaction" of type "Interaction[BotT@Context]" in function "from_interaction"
"Interaction[Client]" is incompatible with "Interaction[BotT@Context]"
Type parameter "ClientT@Interaction" is covariant, but "Client" is not a subtype of "BotT@Context"
Type "Client" cannot be assigned to type "_Bot"
Type "Client" cannot be assigned to type "_Bot"
"Client" is incompatible with "Bot"
"Client" is incompatible with "AutoShardedBot" (reportArgumentType)
|
check 3.x
4 errors
|
check 3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check 3.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check 3.x:
discord_tools/app_commands/context_menu.py#L104
Unnecessary "# type: ignore" comment
|
check 3.x:
discord_tools/app_commands/context_menu.py#L105
Unnecessary "# type: ignore" comment
|
check 3.x:
discord_tools/app_commands/transformers.py#L48
TypeVar "T" appears only once in generic function signature
Use "object" instead (reportInvalidTypeVarUse)
|
check 3.x:
discord_tools/app_commands/i18n/translator.py#L212
Import "yaml" could not be resolved from source (reportMissingModuleSource)
|
check 3.x:
discord_tools/app_commands/i18n/translator.py#L226
Import "polib" could not be resolved from source (reportMissingModuleSource)
|
check 3.x:
discord_tools/app_commands/i18n/translator.py#L242
Unnecessary "# type: ignore" comment
|
check 3.x:
discord_tools/app_commands/i18n/translator.py#L270
Import "polib" could not be resolved from source (reportMissingModuleSource)
|