implemented text recognition (ocr) #672
Annotations
10 errors and 1 warning
Analysing the code with Pyright:
src/AutoSplitImage.py#L141
Instance variable "fps_limit" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
|
Analysing the code with Pyright:
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)
|
Analysing the code with Pyright:
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)
|
Analysing the code with Pyright:
src/utils.py#L245
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
Analysing the code with Pyright:
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)
|
Analysing the code with Pyright:
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)
|
Analysing the code with Pyright:
src/utils.py#L245
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/utils.py#L245
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/utils.py#L245
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/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)
|
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/.
|
The logs for this run have expired and are no longer available.
Loading