Skip to content

Work around PyQt memory leak on the Krita::documents() method. #577

Work around PyQt memory leak on the Krita::documents() method.

Work around PyQt memory leak on the Krita::documents() method. #577

Triggered via pull request November 4, 2024 22:05
Status Failure
Total duration 4m 58s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
check
Process completed with exit code 1.
check: ai_diffusion/document.py#L124
Argument of type "List[Document]" cannot be assigned to parameter "l" of type "list[wrapper]" in function "acquire_elements"   "List[Document]" is not assignable to "list[wrapper]"     Type parameter "_T@list" is invariant, but "Document" is not the same as "wrapper"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/document.py#L241
Argument of type "List[Document]" cannot be assigned to parameter "l" of type "list[wrapper]" in function "acquire_elements"   "List[Document]" is not assignable to "list[wrapper]"     Type parameter "_T@list" is invariant, but "Document" is not the same as "wrapper"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/layer.py#L146
Argument of type "wrapper" cannot be assigned to parameter "node" of type "Node" in function "wrap"   "wrapper" is not assignable to "Node" (reportArgumentType)
check: ai_diffusion/layer.py#L146
Argument of type "List[Node]" cannot be assigned to parameter "l" of type "list[wrapper]" in function "acquire_elements"   "List[Node]" is not assignable to "list[wrapper]"     Type parameter "_T@list" is invariant, but "Node" is not the same as "wrapper"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/layer.py#L146
Argument of type "wrapper" cannot be assigned to parameter "node_type" of type "Node | str" in function "_is_real"   Type "wrapper" is not assignable to type "Node | str"     "wrapper" is not assignable to "Node"     "wrapper" is not assignable to "str" (reportArgumentType)
check: ai_diffusion/layer.py#L202
Argument of type "List[Node]" cannot be assigned to parameter "l" of type "list[wrapper]" in function "acquire_elements"   "List[Node]" is not assignable to "list[wrapper]"     Type parameter "_T@list" is invariant, but "Node" is not the same as "wrapper"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/layer.py#L392
Cannot access attribute "uniqueId" for class "wrapper"   Attribute "uniqueId" is unknown (reportAttributeAccessIssue)
check: ai_diffusion/layer.py#L398
Argument of type "wrapper | Unknown" cannot be assigned to parameter "node" of type "Node" in function "__init__"   Type "wrapper | Unknown" is not assignable to type "Node"     "wrapper" is not assignable to "Node" (reportArgumentType)
check: ai_diffusion/layer.py#L534
Argument of type "wrapper | Unknown" cannot be assigned to parameter "node" of type "Node" in function "wrap"   Type "wrapper | Unknown" is not assignable to type "Node"     "wrapper" is not assignable to "Node" (reportArgumentType)
check: ai_diffusion/layer.py#L540
Argument of type "wrapper | Unknown" cannot be assigned to parameter "node" of type "Node" in function "wrap"   Type "wrapper | Unknown" is not assignable to type "Node"     "wrapper" is not assignable to "Node" (reportArgumentType)
check
The following actions use a deprecated Node.js version 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/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/