Skip to content

fix patch for older python versions #269

fix patch for older python versions

fix patch for older python versions #269

Triggered via push May 29, 2024 18:12
Status Failure
Total duration 44s
Artifacts

pyright.yml

on: push
Matrix: pyright-type-checking
Matrix: pyright-type-completeness
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 10 warnings
pyright-type-completeness (3.9)
Exit code 1
pyright-type-completeness (3.10)
Exit code 1
pyright-type-completeness (3.11)
Exit code 1
pyright-type-checking (3.10): revolt/ext/commands/checks.py#L37
Return type, "Command[Unknown]* | Command[CommandsClient]* | T@check", is partially unknown (reportUnknownVariableType)
pyright-type-checking (3.10): revolt/ext/commands/client.py#L45
Type of "parent" is partially unknown   Type of "parent" is "Group[Unknown] | None" (reportUnknownMemberType)
pyright-type-checking (3.10): revolt/ext/commands/client.py#L46
Argument type is partially unknown   Argument corresponds to parameter "object" in function "append"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.11): revolt/ext/commands/checks.py#L37
Return type, "Command[Unknown]* | Command[CommandsClient]* | T@check", is partially unknown (reportUnknownVariableType)
pyright-type-checking (3.10): revolt/ext/commands/cog.py#L32
Argument type is partially unknown   Argument corresponds to parameter "obj" in function "setattr"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.10): revolt/ext/commands/cog.py#L34
Argument type is partially unknown   Argument corresponds to parameter "object" in function "append"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.11): revolt/ext/commands/client.py#L45
Type of "parent" is partially unknown   Type of "parent" is "Group[Unknown] | None" (reportUnknownMemberType)
pyright-type-checking (3.10): revolt/ext/commands/cooldown.py#L142
Return type, "Command[Unknown]* | object*", is partially unknown (reportUnknownVariableType)
pyright-type-checking (3.11): revolt/ext/commands/client.py#L46
Argument type is partially unknown   Argument corresponds to parameter "object" in function "append"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.10)
6 errors
pyright-type-checking (3.11): revolt/ext/commands/cog.py#L32
Argument type is partially unknown   Argument corresponds to parameter "obj" in function "setattr"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.11): revolt/ext/commands/cog.py#L34
Argument type is partially unknown   Argument corresponds to parameter "object" in function "append"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.11): revolt/ext/commands/cooldown.py#L142
Return type, "Command[Unknown]* | object*", is partially unknown (reportUnknownVariableType)
pyright-type-checking (3.11)
6 errors
pyright-type-checking (3.9)
The job was canceled because "_3_11" failed.
pyright-type-checking (3.9): revolt/ext/commands/checks.py#L37
Return type, "Command[Unknown]* | Command[CommandsClient]* | T@check", is partially unknown (reportUnknownVariableType)
pyright-type-checking (3.9): revolt/ext/commands/client.py#L45
Type of "parent" is partially unknown   Type of "parent" is "Group[Unknown] | None" (reportUnknownMemberType)
pyright-type-checking (3.9): revolt/ext/commands/client.py#L46
Argument type is partially unknown   Argument corresponds to parameter "object" in function "append"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.9): revolt/ext/commands/cog.py#L32
Argument type is partially unknown   Argument corresponds to parameter "obj" in function "setattr"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.9): revolt/ext/commands/cog.py#L34
Argument type is partially unknown   Argument corresponds to parameter "object" in function "append"   Argument type is "Command[Unknown]" (reportUnknownArgumentType)
pyright-type-checking (3.9): revolt/ext/commands/cooldown.py#L142
Return type, "Command[Unknown]* | object*", is partially unknown (reportUnknownVariableType)
pyright-type-checking (3.9)
6 errors
pyright-type-completeness (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, 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-type-completeness (3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
pyright-type-completeness (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, 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-type-completeness (3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
pyright-type-completeness (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, 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-type-completeness (3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
pyright-type-checking (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, 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-type-checking (3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
pyright-type-checking (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, 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-type-checking (3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/