Skip to content

Fix version directives #592

Fix version directives

Fix version directives #592

Triggered via push December 4, 2024 07:24
Status Failure
Total duration 53s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
check: discord/audit_logs.py#L73
Import "ApplicationCommandPermissions" is not accessed (reportUnusedImport)
check: discord/guild.py#L5578
Cannot access member "datetime" for type "type[datetime]"   Member "datetime" is unknown (reportGeneralTypeIssues)
check: discord/guild.py#L5589
Cannot access member "datetime" for type "type[datetime]"   Member "datetime" is unknown (reportGeneralTypeIssues)
check: discord/message.py#L538
"MessageComponentType" is not defined (reportUndefinedVariable)
check: discord/poll.py#L416
Expression of type "dict[str, bool | PollMedia | float | int | List[PollAnswer]]" cannot be assigned to declared type "PollCreate"   Type "Literal[1, 2]" cannot be assigned to type "LayoutType"     "Literal[2]" cannot be assigned to type "LayoutType" (reportGeneralTypeIssues)
check: discord/raw_models.py#L376
"Self" is not defined (reportUndefinedVariable)
check: discord/voice_client.py#L299
"GuildVoiceStatePayload" is not defined (reportUndefinedVariable)
check: discord/types/message.py#L184
"Component" is not defined (reportUndefinedVariable)
check: discord/webhook/async_.py#L810
"datetime" is not defined (reportUndefinedVariable)
check
9 errors
check
Process completed with exit code 1.
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check: discord/http.py#L349
Unnecessary "# type: ignore" comment
check: discord/profile.py#L239
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)