Skip to content

refactor(tooling): Switch to ruff-format for formatting. #5822

refactor(tooling): Switch to ruff-format for formatting.

refactor(tooling): Switch to ruff-format for formatting. #5822

Triggered via pull request March 29, 2024 12:30
Status Failure
Total duration 4m 15s
Artifacts

lint-test.yml

on: pull_request
Matrix: pyright
Matrix: pytest
Fit to window
Zoom out
Zoom in

Annotations

20 errors
pyright (3.10, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pyright (3.12, false)
Exit code 1
pyright (3.12, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pyright (3.8, false)
Exit code 1
pyright (3.8, false): disnake/audit_logs.py#L809
Argument of type "dict[str, Any]" cannot be assigned to parameter "data" of type "GatewayInvitePayload | Invite" in function "__init__"   Type "dict[str, Any]" cannot be assigned to type "GatewayInvitePayload | Invite"     "dict[str, Any]" is incompatible with "Invite"     "dict[str, Any]" is incompatible with "InviteCreateEvent"     "dict[str, Any]" is incompatible with "InviteDeleteEvent" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/audit_logs.py#L810
Unnecessary "# type: ignore" comment
pyright (3.8, false): disnake/guild.py#L612
Argument of type "int | None" cannot be assigned to parameter "channel_id" of type "int" in function "get_channel"   Type "int | None" cannot be assigned to type "int"     "None" is incompatible with "int" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/invite.py#L432
Argument of type "PartialUser | User | Any" cannot be assigned to parameter "data" of type "User" in function "create_user"   Type "PartialUser | User | Any" cannot be assigned to type "User"     "bot" is missing from "type[PartialUser]"     "system" is missing from "type[PartialUser]"     "mfa_enabled" is missing from "type[PartialUser]"     "local" is missing from "type[PartialUser]"     "verified" is missing from "type[PartialUser]"     "email" is missing from "type[PartialUser]"     "flags" is missing from "type[PartialUser]" ... (reportGeneralTypeIssues)
pyright (3.8, false): disnake/invite.py#L456
Argument of type "PartialUser | User | Any" cannot be assigned to parameter "data" of type "User" in function "create_user"   Type "PartialUser | User | Any" cannot be assigned to type "User"     "bot" is missing from "type[PartialUser]"     "system" is missing from "type[PartialUser]"     "mfa_enabled" is missing from "type[PartialUser]"     "local" is missing from "type[PartialUser]"     "verified" is missing from "type[PartialUser]"     "email" is missing from "type[PartialUser]"     "flags" is missing from "type[PartialUser]" ... (reportGeneralTypeIssues)
pyright (3.8, false): disnake/invite.py#L433
Unnecessary "# type: ignore" comment
pyright (3.8, false): disnake/invite.py#L457
Unnecessary "# type: ignore" comment
pyright (3.8, false): disnake/member.py#L443
Argument of type "object" cannot be assigned to parameter "__string" of type "str" in function "intern"   "object" is incompatible with "str" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/member.py#L444
Unnecessary "# type: ignore" comment
pyright (3.8, false): disnake/state.py#L2030
Argument of type "int | None" cannot be assigned to parameter "application_id" of type "Snowflake" in function "get_global_commands" (reportGeneralTypeIssues)
pyright (3.9, false)
Exit code 1
pyright (3.9, false)
Exit code 1
check
Process completed with exit code 1.