fix: Add None guard to worker_render #499
Annotations
10 errors and 10 warnings
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L299
Argument of type "bytes" cannot be assigned to parameter "name" of type "c_char_p" in function "SDL_SetHint"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L298
Argument of type "Literal[b"0"]" cannot be assigned to parameter "value" of type "c_char_p" in function "SDL_SetHint"
"Literal[b"0"]" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L298
Argument of type "bytes" cannot be assigned to parameter "name" of type "c_char_p" in function "SDL_SetHint"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L297
Argument of type "Literal[b"1"]" cannot be assigned to parameter "value" of type "c_char_p" in function "SDL_SetHint"
"Literal[b"1"]" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L297
Argument of type "bytes" cannot be assigned to parameter "name" of type "c_char_p" in function "SDL_SetHint"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L291
Condition will always evaluate to False since the types "c_bool" and "None" have no overlap (reportUnnecessaryComparison)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L290
Argument of type "Literal[b"1"]" cannot be assigned to parameter "value" of type "c_char_p" in function "SDL_SetHint"
"Literal[b"1"]" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L290
Argument of type "bytes" cannot be assigned to parameter "name" of type "c_char_p" in function "SDL_SetHint"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L29
"GLib" is unknown import symbol (reportAttributeAccessIssue)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L29
Stub file not found for "gi.repository" (reportMissingTypeStubs)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L417
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L390
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L390
Type of "o_y" is unknown (reportUnknownVariableType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L389
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L389
Type of "o_x" is unknown (reportUnknownVariableType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L368
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L367
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L179
Argument type is unknown
Argument corresponds to parameter "args" in function "__new__" (reportUnknownArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L179
Type of "get_user_data_dir" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L29
Type of "GLib" is unknown (reportUnknownVariableType)
|