interpolation=cv2.INTER_NEAREST in compare_with_capture #718
Annotations
10 errors and 2 warnings
src/AutoSplit.py#L936
Unnecessary "# pyright: ignore" rule: "reportGeneralTypeIssues" (reportUnnecessaryTypeIgnoreComment)
|
src/AutoSplitImage.py#L115
Argument type is unknown
Argument corresponds to parameter "x" in function "sqrt" (reportUnknownArgumentType)
|
src/AutoSplitImage.py#L115
No overloads for "countNonZero" match the provided arguments (reportCallIssue)
|
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)
|
src/region_selection.py#L297
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
src/region_selection.py#L298
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
src/region_selection.py#L299
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
src/region_selection.py#L300
Unnecessary "cast" call; type is already "int" (reportUnnecessaryCast)
|
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)
|
src/capture_method/VideoCaptureDeviceCaptureMethod.py#L123
Return type, "Mat | ndarray[Any, dtype[integer[Any] | floating[Any]]] | Unknown | None", is partially unknown (reportUnknownParameterType)
|
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/
|
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/
|
This job failed
Loading