Skip to content

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

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

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

Triggered via pull request March 19, 2024 15:58
Status Failure
Total duration 4m 42s
Artifacts

lint-test.yml

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

Annotations

21 errors and 23 warnings
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.12, false)
Exit code 1
pyright (3.12, false)
Exit code 1
misc
Process completed with exit code 1.
pyright (3.9, false)
Exit code 1
pyright (3.9, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pyright (3.10, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pyright (3.11, false)
Exit code 1
check
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.10, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.11, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pyright (3.8, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3, jakebailey/pyright-action@v1.4.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pyright (3.12, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3, jakebailey/pyright-action@v1.4.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
misc
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.12, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pyright (3.9, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3, jakebailey/pyright-action@v1.4.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pyright (3.10, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3, jakebailey/pyright-action@v1.4.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.8, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pyright (3.11, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3, jakebailey/pyright-action@v1.4.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.10, macos-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
docs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.11, windows-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.11, macos-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.8, windows-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.10, windows-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.9, ubuntu-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.12, macos-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.9, macos-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.12, windows-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.8, macos-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pytest (3.9, windows-latest, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.