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 type is unknown
Argument corresponds to parameter "__value" in function "__setitem__" (reportUnknownArgumentType)
|
Analysing the code with Pyright:
src/utils.py#L231
Type of "STARTUPINFO" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/utils.py#L231
"STARTUPINFO" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Analysing the code with Pyright:
src/utils.py#L232
Type of "dwFlags" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/utils.py#L232
Type of "STARTF_USESHOWWINDOW" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/utils.py#L232
"STARTF_USESHOWWINDOW" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
Analysing the code with Pyright:
src/utils.py#L233
Type of "SW_HIDE" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/utils.py#L233
"SW_HIDE" is not a known member of module "subprocess" (reportAttributeAccessIssue)
|
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