Skip to content

feat(Onboarding): add edit method #5793

feat(Onboarding): add edit method

feat(Onboarding): add edit method #5793

Triggered via pull request March 22, 2024 15:17
Status Failure
Total duration 2m 42s
Artifacts

lint-test.yml

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

Annotations

48 errors and 9 warnings
pytest (3.11, ubuntu-latest, false)
Process completed with exit code 1.
pytest (3.9, windows-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.9, ubuntu-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.9, macos-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.12, ubuntu-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.12, ubuntu-latest, false)
Process completed with exit code 1.
pytest (3.10, ubuntu-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.10, ubuntu-latest, false)
Process completed with exit code 1.
pyright (3.11, false)
Exit code 1
pyright (3.11, false)
Exit code 1
pytest (3.8, ubuntu-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.8, ubuntu-latest, false)
The operation was canceled.
pytest (3.8, windows-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.8, windows-latest, false)
The operation was canceled.
pytest (3.12, windows-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.12, windows-latest, false)
The operation was canceled.
pytest (3.11, windows-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.11, windows-latest, false)
The operation was canceled.
pytest (3.10, windows-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.10, windows-latest, false)
The operation was canceled.
pytest (3.12, macos-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.12, macos-latest, false)
The operation was canceled.
pytest (3.8, macos-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.8, macos-latest, false)
The operation was canceled.
pytest (3.10, macos-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.10, macos-latest, false)
The operation was canceled.
pyright (3.9, false)
Exit code 1
pyright (3.9, false)
Exit code 1
pytest (3.11, macos-latest, false)
The job was canceled because "_3_11_ubuntu-latest_false" failed.
pytest (3.11, macos-latest, false)
The operation was canceled.
pyright (3.10, false)
Exit code 1
pyright (3.10, false)
Exit code 1
docs
Process completed with exit code 1.
pyright (3.8, false)
Exit code 1
pyright (3.8, false): disnake/onboarding.py#L277
Expression of type "dict[str, int | str | list[int] | None]" cannot be assigned to declared type "OnboardingPromptOption"   "emoji" is required in "OnboardingPromptOption"   "emoji_id" is required in "OnboardingPromptOption"   "emoji_name" is required in "OnboardingPromptOption"   "emoji_animated" is required in "OnboardingPromptOption" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/partial_emoji.py#L132
Expression of type "dict[str, str | int | None]" cannot be assigned to declared type "Emoji"   "animated" is required in "Emoji" (reportGeneralTypeIssues)
pyright (3.8, false): disnake/types/emoji.py#L3
"NotRequired" is unknown import symbol (reportGeneralTypeIssues)
pyright (3.8, false): disnake/types/onboarding.py#L3
"NotRequired" is unknown import symbol (reportGeneralTypeIssues)
pyright (3.8, false): tests/test_onboarding.py#L17
Expression of type "dict[str, str | dict[str, str | bool] | list[str]]" cannot be assigned to declared type "OnboardingPromptOption"   "emoji_id" is required in "OnboardingPromptOption"   "emoji_name" is required in "OnboardingPromptOption"   "emoji_animated" is required in "OnboardingPromptOption" (reportGeneralTypeIssues)
pyright (3.8, false): tests/test_onboarding.py#L29
Argument missing for parameter "guild" (reportGeneralTypeIssues)
pyright (3.8, false): tests/test_onboarding.py#L31
No overloads for "__init__" match the provided arguments   Argument types: (Literal['0'], Literal['test'], Literal['test'], dict[str, str | int | bool], list[str], list[str]) (reportGeneralTypeIssues)
pyright (3.8, false): tests/test_onboarding.py#L54
Argument missing for parameter "guild" (reportGeneralTypeIssues)
pyright (3.8, false)
8 errors
pyright (3.12, false)
Exit code 1
pyright (3.12, false)
Exit code 1
misc
Please run 'nox -s codemod -- run-all' locally and commit the changes.
misc
Process completed with 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.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.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/[email protected]. 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/[email protected]. 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/[email protected]. 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/.
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/[email protected]. 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/[email protected]. 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/.