Skip to content

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

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

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

Triggered via pull request November 4, 2024 22:12
Status Failure
Total duration 5m 9s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
check: ai_diffusion/document.py#L125
Argument of type "List[Document]" cannot be assigned to parameter "l" of type "list[type[QOBJECT@acquire_elements]]" in function "acquire_elements"   "List[Document]" is not assignable to "list[type[QOBJECT@acquire_elements]]"     Type parameter "_T@list" is invariant, but "Document" is not the same as "type[QOBJECT@acquire_elements]"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/document.py#L244
Argument of type "List[Document]" cannot be assigned to parameter "l" of type "list[type[QOBJECT@acquire_elements]]" in function "acquire_elements"   "List[Document]" is not assignable to "list[type[QOBJECT@acquire_elements]]"     Type parameter "_T@list" is invariant, but "Document" is not the same as "type[QOBJECT@acquire_elements]"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/document.py#L310
Argument of type "List[Shape]" cannot be assigned to parameter "l" of type "list[type[QOBJECT@acquire_elements]]" in function "acquire_elements"   "List[Shape]" is not assignable to "list[type[QOBJECT@acquire_elements]]"     Type parameter "_T@list" is invariant, but "Shape" is not the same as "type[QOBJECT@acquire_elements]"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/document.py#L317
Argument of type "List[Shape]" cannot be assigned to parameter "l" of type "list[type[QOBJECT@acquire_elements]]" in function "acquire_elements"   "List[Shape]" is not assignable to "list[type[QOBJECT@acquire_elements]]"     Type parameter "_T@list" is invariant, but "Shape" is not the same as "type[QOBJECT@acquire_elements]"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/layer.py#L148
Argument of type "List[Node]" cannot be assigned to parameter "l" of type "list[type[QOBJECT@acquire_elements]]" in function "acquire_elements"   "List[Node]" is not assignable to "list[type[QOBJECT@acquire_elements]]"     Type parameter "_T@list" is invariant, but "Node" is not the same as "type[QOBJECT@acquire_elements]"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/layer.py#L206
Argument of type "List[Node]" cannot be assigned to parameter "l" of type "list[type[QOBJECT@acquire_elements]]" in function "acquire_elements"   "List[Node]" is not assignable to "list[type[QOBJECT@acquire_elements]]"     Type parameter "_T@list" is invariant, but "Node" is not the same as "type[QOBJECT@acquire_elements]"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/layer.py#L563
Argument of type "List[Node]" cannot be assigned to parameter "l" of type "list[type[QOBJECT@acquire_elements]]" in function "acquire_elements"   "List[Node]" is not assignable to "list[type[QOBJECT@acquire_elements]]"     Type parameter "_T@list" is invariant, but "Node" is not the same as "type[QOBJECT@acquire_elements]"     Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
check: ai_diffusion/util.py#L258
Argument of type "type[QOBJECT@acquire_elements]" cannot be assigned to parameter "obj" of type "wrapper" in function "transferback"   "type[type]" is not assignable to "type[wrapper]" (reportArgumentType)
check
8 errors
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/