Merge pull request #1844 from rexendevar/middle-click-stamps #348
Annotations
10 errors and 10 warnings
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L252
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)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L252
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)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L248
Condition will always evaluate to False since the types "c_bool" and "None" have no overlap (reportUnnecessaryComparison)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L247
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)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L247
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)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L241
Condition will always evaluate to False since the types "c_bool" and "None" have no overlap (reportUnnecessaryComparison)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L240
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)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L240
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)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L26
"GLib" is unknown import symbol (reportAttributeAccessIssue)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L26
Stub file not found for "gi.repository" (reportMissingTypeStubs)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L367
Type of "decode" is unknown (reportUnknownMemberType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L342
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L342
Type of "o_y" is unknown (reportUnknownVariableType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L341
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L341
Type of "o_x" is unknown (reportUnknownVariableType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L323
Type of "decode" is unknown (reportUnknownMemberType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L322
Type of "decode" is unknown (reportUnknownMemberType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L145
Argument type is unknown
Argument corresponds to parameter "args" in function "__new__" (reportUnknownArgumentType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L145
Type of "get_user_data_dir" is unknown (reportUnknownMemberType)
|
Run pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L26
Type of "GLib" is unknown (reportUnknownVariableType)
|
Loading