interpolation=cv2.INTER_NEAREST in compare_with_capture #718
lint-and-build.yml
on: pull_request
Matrix: Build
Matrix: Pyright
Matrix: ruff
Annotations
33 errors and 9 warnings
ruff (3.10)
Process completed with exit code 1.
|
ruff (3.11)
Process completed with exit code 1.
|
ruff (3.12)
Process completed with exit code 1.
|
Pyright (3.12):
src/AutoSplit.py#L936
Unnecessary "# pyright: ignore" rule: "reportGeneralTypeIssues" (reportUnnecessaryTypeIgnoreComment)
|
Pyright (3.12):
src/AutoSplitImage.py#L115
Argument type is unknown
Argument corresponds to parameter "x" in function "sqrt" (reportUnknownArgumentType)
|
Pyright (3.12):
src/AutoSplitImage.py#L115
No overloads for "countNonZero" match the provided arguments (reportCallIssue)
|
Pyright (3.12):
src/AutoSplitImage.py#L115
Argument of type "ndarray[Any, dtype[generic]] | ndarray[Any, dtype[integer[Any] | floating[Any]]]" cannot be assigned to parameter "src" of type "UMat" in function "countNonZero"
Type "ndarray[Any, dtype[generic]] | ndarray[Any, dtype[integer[Any] | floating[Any]]]" is incompatible with type "UMat"
"ndarray[Any, dtype[generic]]" is incompatible with "UMat" (reportArgumentType)
|
Pyright (3.12):
src/region_selection.py#L297
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.12):
src/region_selection.py#L298
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.12):
src/region_selection.py#L299
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.12):
src/region_selection.py#L300
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.12):
src/user_profile.py#L146
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 (3.12):
src/capture_method/VideoCaptureDeviceCaptureMethod.py#L123
Return type, "Mat | ndarray[Any, dtype[integer[Any] | floating[Any]]] | Unknown | None", is partially unknown (reportUnknownParameterType)
|
Pyright (3.11):
src/AutoSplit.py#L936
Unnecessary "# pyright: ignore" rule: "reportGeneralTypeIssues" (reportUnnecessaryTypeIgnoreComment)
|
Pyright (3.11):
src/AutoSplitImage.py#L115
Argument type is unknown
Argument corresponds to parameter "x" in function "sqrt" (reportUnknownArgumentType)
|
Pyright (3.11):
src/AutoSplitImage.py#L115
No overloads for "countNonZero" match the provided arguments (reportCallIssue)
|
Pyright (3.11):
src/AutoSplitImage.py#L115
Argument of type "ndarray[Any, dtype[generic]] | ndarray[Any, dtype[integer[Any] | floating[Any]]]" cannot be assigned to parameter "src" of type "UMat" in function "countNonZero"
Type "ndarray[Any, dtype[generic]] | ndarray[Any, dtype[integer[Any] | floating[Any]]]" is incompatible with type "UMat"
"ndarray[Any, dtype[generic]]" is incompatible with "UMat" (reportArgumentType)
|
Pyright (3.11):
src/region_selection.py#L297
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.11):
src/region_selection.py#L298
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.11):
src/region_selection.py#L299
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.11):
src/region_selection.py#L300
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.11):
src/user_profile.py#L146
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 (3.11):
src/capture_method/VideoCaptureDeviceCaptureMethod.py#L123
Return type, "Mat | ndarray[Any, dtype[integer[Any] | floating[Any]]] | Unknown | None", is partially unknown (reportUnknownParameterType)
|
Pyright (3.10):
src/AutoSplit.py#L936
Unnecessary "# pyright: ignore" rule: "reportGeneralTypeIssues" (reportUnnecessaryTypeIgnoreComment)
|
Pyright (3.10):
src/AutoSplitImage.py#L115
Argument type is unknown
Argument corresponds to parameter "x" in function "sqrt" (reportUnknownArgumentType)
|
Pyright (3.10):
src/AutoSplitImage.py#L115
No overloads for "countNonZero" match the provided arguments (reportCallIssue)
|
Pyright (3.10):
src/AutoSplitImage.py#L115
Argument of type "ndarray[Any, dtype[generic]] | ndarray[Any, dtype[integer[Any] | floating[Any]]]" cannot be assigned to parameter "src" of type "UMat" in function "countNonZero"
Type "ndarray[Any, dtype[generic]] | ndarray[Any, dtype[integer[Any] | floating[Any]]]" is incompatible with type "UMat"
"ndarray[Any, dtype[generic]]" is incompatible with "UMat" (reportArgumentType)
|
Pyright (3.10):
src/region_selection.py#L297
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.10):
src/region_selection.py#L298
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.10):
src/region_selection.py#L299
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.10):
src/region_selection.py#L300
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
Pyright (3.10):
src/user_profile.py#L146
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 (3.10):
src/capture_method/VideoCaptureDeviceCaptureMethod.py#L123
Return type, "Mat | ndarray[Any, dtype[integer[Any] | floating[Any]]] | Unknown | None", is partially unknown (reportUnknownParameterType)
|
ruff (3.10)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
ruff (3.11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
ruff (3.12)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Pyright (3.12)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, 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/
|
Pyright (3.11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, 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/
|
Pyright (3.10)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, 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/
|
Build (3.11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build (3.12)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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 (Python 3.11)", "AutoSplit (Python 3.12)", "Build logs (Python 3.11)", "Build logs (Python 3.12)".
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 (Python 3.11)
Expired
|
140 MB |
|
AutoSplit (Python 3.12)
Expired
|
140 MB |
|
Build logs (Python 3.11)
Expired
|
2.63 MB |
|
Build logs (Python 3.12)
Expired
|
2.64 MB |
|