Skip to content

Fix the typo, add dependencies for type checking #3

Fix the typo, add dependencies for type checking

Fix the typo, add dependencies for type checking #3

Triggered via push December 5, 2023 17:31
Status Failure
Total duration 3m 22s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
check: ai_diffusion/image.py#L264
"setsize" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/image.py#L265
"asstring" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/image.py#L275
"asarray" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/network.py#L191
"downloadProgress" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/network.py#L192
"finished" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/network.py#L194
"isFinished" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/network.py#L173
"readAll" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/network.py#L179
"readAll" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/network.py#L185
"attribute" is not a known member of "None" (reportOptionalMemberAccess)
check: ai_diffusion/network.py#L189
Argument of type "QNetworkReply | None" cannot be assigned to parameter "reply" of type "QNetworkReply" in function "from_reply"   Type "QNetworkReply | None" cannot be assigned to type "QNetworkReply"     Type "None" cannot be assigned to type "QNetworkReply" (reportGeneralTypeIssues)
test
Process completed with exit code 1.