Skip to content

⬆️ auto update by pre-commit hooks #88

⬆️ auto update by pre-commit hooks

⬆️ auto update by pre-commit hooks #88

Triggered via pull request June 3, 2024 22:16
Status Failure
Total duration 58s
Artifacts

pyright.yml

on: pull_request
Pyright Lint
50s
Pyright Lint
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Pyright Lint: sora/plugins/pic/pic_setu.py#L54
Argument of type "(slot: int | str, content: str) -> str" cannot be assigned to parameter "wrapper" of type "ShortcutRegWrapper | None" in function "shortcut"   Type "(slot: int | str, content: str) -> str" is incompatible with type "ShortcutRegWrapper | None"     Type "(slot: int | str, content: str) -> str" is incompatible with type "(slot: int | str, content: str | None) -> Any"       Parameter 2: type "str | None" is incompatible with type "str"         Type "str | None" is incompatible with type "str"           "None" is incompatible with "str"     "function" is incompatible with "None" (reportArgumentType)
Pyright Lint: sora/plugins/pic/pic_setu.py#L62
Argument of type "(slot: int | str, content: str) -> str" cannot be assigned to parameter "wrapper" of type "ShortcutRegWrapper | None" in function "shortcut"   Type "(slot: int | str, content: str) -> str" is incompatible with type "ShortcutRegWrapper | None"     Type "(slot: int | str, content: str) -> str" is incompatible with type "(slot: int | str, content: str | None) -> Any"       Parameter 2: type "str | None" is incompatible with type "str"         Type "str | None" is incompatible with type "str"           "None" is incompatible with "str"     "function" is incompatible with "None" (reportArgumentType)
Pyright Lint: sora/utils/scheduler.py#L10
Expected type expression but received "object" (reportGeneralTypeIssues)
Pyright Lint
3 errors
Pyright Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pdm-project/setup-pdm@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/.