Skip to content

[pre-commit.ci] pre-commit autoupdate #689

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #689

Triggered via pull request June 3, 2024 17:38
Status Failure
Total duration 15m 55s
Artifacts 2

lint-and-build.yml

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

Annotations

26 errors and 14 warnings
ruff (ubuntu-22.04, 3.10)
Process completed with exit code 1.
ruff (ubuntu-22.04, 3.11)
Process completed with exit code 1.
Pyright (ubuntu-22.04, 3.10): src/AutoSplit.py#L948
No overloads for "__init__" match the provided arguments (reportCallIssue)
Pyright (ubuntu-22.04, 3.10): src/AutoSplit.py#L949
Argument of type "memoryview" cannot be assigned to parameter "data" of type "bytes" in function "__init__"   "memoryview" is incompatible with "bytes"   Set disableBytesTypePromotions to false to enable type promotion behavior for "bytearray" and "memoryview" (reportArgumentType)
Pyright (ubuntu-22.04, 3.10): src/user_profile.py#L156
Argument of type "str" cannot be assigned to parameter "hotkey" of type "Hotkey" in function "set_hotkey"   Type "str" is incompatible with type "Hotkey"     "str" is incompatible with type "Literal['split']"     "str" is incompatible with type "Literal['reset']"     "str" is incompatible with type "Literal['skip_split']"     "str" is incompatible with type "Literal['undo_split']"     "str" is incompatible with type "Literal['pause']"     "str" is incompatible with type "Literal['screenshot']"     "str" is incompatible with type "Literal['toggle_auto_reset_image']" (reportArgumentType)
Pyright (ubuntu-22.04, 3.10): src/capture_method/XcbCaptureMethod.py#L42
Type of "grab" is partially unknown   Type of "grab" is "(bbox: Unknown | None = None, include_layered_windows: bool = False, all_screens: bool = False, xdisplay: Unknown | None = None) -> Image" (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.10): src/capture_method/__init__.py#L80
Method "_generate_next_value_" overrides class "Enum" in an incompatible manner   Parameter 2 mismatch: base parameter "start" is keyword parameter, override parameter is position-only   Parameter 3 mismatch: base parameter "count" is keyword parameter, override parameter is position-only   Parameter 4 mismatch: base parameter "last_values" is keyword parameter, override parameter is position-only (reportIncompatibleMethodOverride)
Pyright (ubuntu-22.04, 3.10): src/capture_method/__init__.py#L152
Type of "check_feature" is partially unknown   Type of "check_feature" is "(feature: Unknown) -> (Any | None)" (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.10)
6 errors
Build (windows-latest, 3.12)
Process completed with exit code 1.
Pyright (ubuntu-22.04, 3.11): src/AutoSplit.py#L948
No overloads for "__init__" match the provided arguments (reportCallIssue)
Pyright (ubuntu-22.04, 3.11): src/AutoSplit.py#L949
Argument of type "memoryview" cannot be assigned to parameter "data" of type "bytes" in function "__init__"   "memoryview" is incompatible with "bytes"   Set disableBytesTypePromotions to false to enable type promotion behavior for "bytearray" and "memoryview" (reportArgumentType)
Pyright (ubuntu-22.04, 3.11): src/user_profile.py#L156
Argument of type "str" cannot be assigned to parameter "hotkey" of type "Hotkey" in function "set_hotkey"   Type "str" is incompatible with type "Hotkey"     "str" is incompatible with type "Literal['split']"     "str" is incompatible with type "Literal['reset']"     "str" is incompatible with type "Literal['skip_split']"     "str" is incompatible with type "Literal['undo_split']"     "str" is incompatible with type "Literal['pause']"     "str" is incompatible with type "Literal['screenshot']"     "str" is incompatible with type "Literal['toggle_auto_reset_image']" (reportArgumentType)
Pyright (ubuntu-22.04, 3.11): src/capture_method/XcbCaptureMethod.py#L42
Type of "grab" is partially unknown   Type of "grab" is "(bbox: Unknown | None = None, include_layered_windows: bool = False, all_screens: bool = False, xdisplay: Unknown | None = None) -> Image" (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.11): src/capture_method/__init__.py#L80
Method "_generate_next_value_" overrides class "Enum" in an incompatible manner   Parameter 2 mismatch: base parameter "start" is keyword parameter, override parameter is position-only   Parameter 3 mismatch: base parameter "count" is keyword parameter, override parameter is position-only   Parameter 4 mismatch: base parameter "last_values" is keyword parameter, override parameter is position-only (reportIncompatibleMethodOverride)
Pyright (ubuntu-22.04, 3.11): src/capture_method/__init__.py#L152
Type of "check_feature" is partially unknown   Type of "check_feature" is "(feature: Unknown) -> (Any | None)" (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.11)
6 errors
Pyright (windows-latest, 3.12)
Process completed with exit code 1.
ruff (windows-latest, 3.12)
Process completed with exit code 1.
Pyright (windows-latest, 3.10)
Process completed with exit code 1.
ruff (windows-latest, 3.10)
Process completed with exit code 1.
Build (windows-latest, 3.11)
Process completed with exit code 1.
ruff (windows-latest, 3.11)
Process completed with exit code 1.
Pyright (windows-latest, 3.11): src/user_profile.py#L156
Argument of type "str" cannot be assigned to parameter "hotkey" of type "Hotkey" in function "set_hotkey"   Type "str" is incompatible with type "Hotkey"     "str" is incompatible with type "Literal['split']"     "str" is incompatible with type "Literal['reset']"     "str" is incompatible with type "Literal['skip_split']"     "str" is incompatible with type "Literal['undo_split']"     "str" is incompatible with type "Literal['pause']"     "str" is incompatible with type "Literal['screenshot']"     "str" is incompatible with type "Literal['toggle_auto_reset_image']" (reportArgumentType)
Pyright (windows-latest, 3.11): src/capture_method/__init__.py#L80
Method "_generate_next_value_" overrides class "Enum" in an incompatible manner   Parameter 2 mismatch: base parameter "start" is keyword parameter, override parameter is position-only   Parameter 3 mismatch: base parameter "count" is keyword parameter, override parameter is position-only   Parameter 4 mismatch: base parameter "last_values" is keyword parameter, override parameter is position-only (reportIncompatibleMethodOverride)
Pyright (windows-latest, 3.11)
2 errors
ruff (ubuntu-22.04, 3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ruff (ubuntu-22.04, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Pyright (ubuntu-22.04, 3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build (windows-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Pyright (ubuntu-22.04, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, 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 (windows-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ruff (windows-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Pyright (windows-latest, 3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ruff (windows-latest, 3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build (ubuntu-22.04, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build (windows-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ruff (windows-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Pyright (windows-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "AutoSplit for ubuntu-22.04 (Python 3.11)", "Build logs for ubuntu-22.04 (Python 3.11)". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
AutoSplit for ubuntu-22.04 (Python 3.11) Expired
160 MB
Build logs for ubuntu-22.04 (Python 3.11) Expired
2.09 MB