implemented text recognition (ocr) #672
lint-and-build.yml
on: pull_request
Matrix: Build
Matrix: Pyright
Matrix: ruff
Annotations
50 errors and 13 warnings
Pyright (ubuntu-22.04, 3.10):
src/AutoSplitImage.py#L141
Instance variable "fps_limit" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
|
Pyright (ubuntu-22.04, 3.10):
src/compare.py#L154
Type of "ratio" is partially unknown
Type of "ratio" is "(s1: Sequence[Hashable], s2: Sequence[Hashable], *, processor: ((...) -> Unknown) | None = None, score_cutoff: float | None = None) -> float" (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L231
Argument type is unknown
Argument corresponds to parameter "__value" in function "__setitem__" (reportUnknownArgumentType)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L231
Type of "STARTUPINFO" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L231
"STARTUPINFO" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L232
Type of "dwFlags" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L232
Type of "STARTF_USESHOWWINDOW" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L232
"STARTF_USESHOWWINDOW" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L233
Type of "SW_HIDE" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.10):
src/utils.py#L233
"SW_HIDE" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Pyright (ubuntu-22.04, 3.11):
src/AutoSplitImage.py#L141
Instance variable "fps_limit" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
|
Pyright (ubuntu-22.04, 3.11):
src/compare.py#L154
Type of "ratio" is partially unknown
Type of "ratio" is "(s1: Sequence[Hashable], s2: Sequence[Hashable], *, processor: ((...) -> Unknown) | None = None, score_cutoff: float | None = None) -> float" (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L231
Argument type is unknown
Argument corresponds to parameter "__value" in function "__setitem__" (reportUnknownArgumentType)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L231
Type of "STARTUPINFO" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L231
"STARTUPINFO" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L232
Type of "dwFlags" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L232
Type of "STARTF_USESHOWWINDOW" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L232
"STARTF_USESHOWWINDOW" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L233
Type of "SW_HIDE" is unknown (reportUnknownMemberType)
|
Pyright (ubuntu-22.04, 3.11):
src/utils.py#L233
"SW_HIDE" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Pyright (windows-latest, 3.10):
src/AutoSplitImage.py#L141
Instance variable "fps_limit" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
|
Pyright (windows-latest, 3.10):
src/compare.py#L154
Type of "ratio" is partially unknown
Type of "ratio" is "(s1: Sequence[Hashable], s2: Sequence[Hashable], *, processor: ((...) -> Unknown) | None = None, score_cutoff: float | None = None) -> float" (reportUnknownMemberType)
|
Pyright (windows-latest, 3.10):
src/utils.py#L231
Argument of type "STARTUPINFO" cannot be assigned to parameter "__value" of type "int | _Environ[str] | None" in function "__setitem__"
Type "STARTUPINFO" cannot be assigned to type "int | _Environ[str] | None"
"STARTUPINFO" is incompatible with "int"
"STARTUPINFO" is incompatible with "None"
"STARTUPINFO" is incompatible with "_Environ[str]" (reportArgumentType)
|
Pyright (windows-latest, 3.10):
src/utils.py#L245
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
Pyright (windows-latest, 3.10):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "bufsize" of type "int" in function "__init__"
Type "int | _Environ[str] | None" cannot be assigned to type "int"
"_Environ[str]" is incompatible with "int" (reportArgumentType)
|
Pyright (windows-latest, 3.10):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "executable" of type "StrOrBytesPath | None" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.10):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdin" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.10):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdout" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.10):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stderr" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.10):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "preexec_fn" of type "(() -> Any) | None" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.12):
src/AutoSplitImage.py#L141
Instance variable "fps_limit" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
|
Pyright (windows-latest, 3.12):
src/compare.py#L154
Type of "ratio" is partially unknown
Type of "ratio" is "(s1: Sequence[Hashable], s2: Sequence[Hashable], *, processor: ((...) -> Unknown) | None = None, score_cutoff: float | None = None) -> float" (reportUnknownMemberType)
|
Pyright (windows-latest, 3.12):
src/utils.py#L231
Argument of type "STARTUPINFO" cannot be assigned to parameter "__value" of type "int | _Environ[str] | None" in function "__setitem__"
Type "STARTUPINFO" cannot be assigned to type "int | _Environ[str] | None"
"STARTUPINFO" is incompatible with "int"
"STARTUPINFO" is incompatible with "None"
"STARTUPINFO" is incompatible with "_Environ[str]" (reportArgumentType)
|
Pyright (windows-latest, 3.12):
src/utils.py#L245
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
Pyright (windows-latest, 3.12):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "bufsize" of type "int" in function "__init__"
Type "int | _Environ[str] | None" cannot be assigned to type "int"
"_Environ[str]" is incompatible with "int" (reportArgumentType)
|
Pyright (windows-latest, 3.12):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "executable" of type "StrOrBytesPath | None" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.12):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdin" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.12):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdout" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.12):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stderr" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.12):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "preexec_fn" of type "(() -> Any) | None" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.11):
src/AutoSplitImage.py#L141
Instance variable "fps_limit" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
|
Pyright (windows-latest, 3.11):
src/compare.py#L154
Type of "ratio" is partially unknown
Type of "ratio" is "(s1: Sequence[Hashable], s2: Sequence[Hashable], *, processor: ((...) -> Unknown) | None = None, score_cutoff: float | None = None) -> float" (reportUnknownMemberType)
|
Pyright (windows-latest, 3.11):
src/utils.py#L231
Argument of type "STARTUPINFO" cannot be assigned to parameter "__value" of type "int | _Environ[str] | None" in function "__setitem__"
Type "STARTUPINFO" cannot be assigned to type "int | _Environ[str] | None"
"STARTUPINFO" is incompatible with "int"
"STARTUPINFO" is incompatible with "None"
"STARTUPINFO" is incompatible with "_Environ[str]" (reportArgumentType)
|
Pyright (windows-latest, 3.11):
src/utils.py#L245
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
Pyright (windows-latest, 3.11):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "bufsize" of type "int" in function "__init__"
Type "int | _Environ[str] | None" cannot be assigned to type "int"
"_Environ[str]" is incompatible with "int" (reportArgumentType)
|
Pyright (windows-latest, 3.11):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "executable" of type "StrOrBytesPath | None" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.11):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdin" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.11):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdout" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.11):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stderr" of type "_FILE" in function "__init__" (reportArgumentType)
|
Pyright (windows-latest, 3.11):
src/utils.py#L245
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "preexec_fn" of type "(() -> Any) | None" in function "__init__" (reportArgumentType)
|
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/.
|
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/.
|
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/.
|
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, jakebailey/pyright-action@v1. 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/.
|
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.12)
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.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/.
|
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, 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.12)
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/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
AutoSplit for ubuntu-22.04 (Python 3.11)
Expired
|
166 MB |
|
AutoSplit for windows-latest (Python 3.11)
Expired
|
137 MB |
|
AutoSplit for windows-latest (Python 3.12)
Expired
|
136 MB |
|
Build logs for ubuntu-22.04 (Python 3.11)
Expired
|
2.15 MB |
|
Build logs for windows-latest (Python 3.11)
Expired
|
2.4 MB |
|
Build logs for windows-latest (Python 3.12)
Expired
|
2.4 MB |
|