Skip to content

GH-5: Add NPC Menu #248

GH-5: Add NPC Menu

GH-5: Add NPC Menu #248

Triggered via pull request June 24, 2024 17:11
Status Failure
Total duration 15s
Artifacts

lint.yml

on: pull_request
Matrix: Pyright
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
Pyright (3.x): backend/api.py#L123
Expression of type "NPCResult | None" cannot be assigned to return type "NPCResult"   Type "NPCResult | None" cannot be assigned to type "NPCResult"     "None" is incompatible with "NPCResult" (reportReturnType)
Pyright (3.x): models/player.py#L44
Argument of type "datetime | None" cannot be assigned to parameter "registered_at" of type "datetime" in function "__init__"   Type "datetime | None" cannot be assigned to type "datetime"     "None" is incompatible with "datetime" (reportArgumentType)
Pyright (3.x): models/results.py#L7
Too few type arguments provided for "dict"; expected 2 but received 1 (reportInvalidTypeArguments)
Pyright (3.x)
3 errors
Pyright (3.8)
Exit code 1
Pyright (3.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Pyright (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.