Skip to content

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

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

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

Triggered via pull request January 27, 2025 18:40
Status Failure
Total duration 5m 40s
Artifacts

lint-test.yml

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

Annotations

21 errors and 12 warnings
pyright (3.11, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pyright (3.12.7, false)
Exit code 1
pyright (3.12.7, false)
Exit code 1
pyright (3.8, false)
Exit code 1
pyright (3.8, false): disnake/guild.py#L627
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#L439
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]"     "banner" is missing from "type[PartialUser]"     "accent_color" is missing from "type[PartialUser]"     "locale" is missing from "type[PartialUser]"     "verified" is missing from "type[PartialUser]" ... (reportGeneralTypeIssues)
pyright (3.8, false): disnake/invite.py#L463
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]"     "banner" is missing from "type[PartialUser]"     "accent_color" is missing from "type[PartialUser]"     "locale" is missing from "type[PartialUser]"     "verified" is missing from "type[PartialUser]" ... (reportGeneralTypeIssues)
pyright (3.8, false): disnake/invite.py#L440
Unnecessary "# type: ignore" comment
pyright (3.8, false): disnake/invite.py#L464
Unnecessary "# type: ignore" comment
pyright (3.8, false): disnake/member.py#L456
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#L457
Unnecessary "# type: ignore" comment
pyright (3.8, false): disnake/state.py#L2273
Argument of type "int | None" cannot be assigned to parameter "application_id" of type "Snowflake" in function "get_global_commands" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/state.py#L2285
Argument of type "int | None" cannot be assigned to parameter "application_id" of type "Snowflake" in function "upsert_global_command" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/state.py#L2296
Argument of type "int | None" cannot be assigned to parameter "application_id" of type "Snowflake" in function "edit_global_command" (reportGeneralTypeIssues)
pyright (3.9, false)
Exit code 1
pyright (3.9, false)
Exit code 1
pytest (3.8, macos-latest, false)
[notice] A new release of pip is available: 21.1.1 -> 25.0 [notice] To update, run: python3.8 -m pip install --upgrade pip
check
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pytest (3.10, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pytest (3.11, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright (3.11, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright (3.10, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pytest (3.8, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright (3.12.7, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright (3.8, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright (3.9, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pytest (3.12.7, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
misc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pytest (3.9, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636