feat: Guild Scheduled Event Recurrence #3892
Annotations
3 errors and 2 warnings
Run black
Process completed with exit code 1.
|
Run Pyright:
discord/scheduled_event.py#L347
Argument of type "int" cannot be assigned to parameter "week" of type "Literal[1, 2, 3, 4, 5]" in function "__init__"
Type "int" cannot be assigned to type "Literal[1, 2, 3, 4, 5]"
"int" cannot be assigned to type "Literal[1]"
"int" cannot be assigned to type "Literal[2]"
"int" cannot be assigned to type "Literal[3]"
"int" cannot be assigned to type "Literal[4]"
"int" cannot be assigned to type "Literal[5]" (reportArgumentType)
|
Run Pyright
1 error
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/setup-node@v3, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Pyright:
discord/utils.py#L646
Unnecessary "# type: ignore" comment
|
Loading