implemented text recognition (ocr) #664
Annotations
10 errors and 2 warnings
Analysing the code with Pyright:
src/AutoSplitImage.py#L179
Object of type "None" is not subscriptable (reportOptionalSubscript)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L179
Argument type is partially unknown
Argument corresponds to parameter "capture" in function "extract_and_compare_text"
Argument type is "ndarray[Any, dtype[generic]] | Unknown" (reportUnknownArgumentType)
|
Analysing the code with Pyright:
src/compare.py#L150
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)
|
Analysing the code with Pyright:
src/compare.py#L159
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
Analysing the code with Pyright:
src/compare.py#L159
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)
|
Analysing the code with Pyright:
src/compare.py#L159
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "executable" of type "StrOrBytesPath | None" in function "__init__" (reportArgumentType)
|
Analysing the code with Pyright:
src/compare.py#L159
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdin" of type "_FILE" in function "__init__" (reportArgumentType)
|
Analysing the code with Pyright:
src/compare.py#L159
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stdout" of type "_FILE" in function "__init__" (reportArgumentType)
|
Analysing the code with Pyright:
src/compare.py#L159
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "stderr" of type "_FILE" in function "__init__" (reportArgumentType)
|
Analysing the code with Pyright:
src/compare.py#L159
Argument of type "int | _Environ[str] | None" cannot be assigned to parameter "preexec_fn" of type "(() -> Any) | None" in function "__init__" (reportArgumentType)
|
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/.
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L8
Stub file not found for "tomllib" (reportMissingTypeStubs)
|
The logs for this run have expired and are no longer available.
Loading