Colourise 2.0 #1496
Annotations
10 errors and 10 warnings
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L322
Condition will always evaluate to False since the types "c_bool" and "None" have no overlap (reportUnnecessaryComparison)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L321
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-314/tauon/__main__.py#L321
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-314/tauon/__main__.py#L105
Argument of type "bytes" cannot be assigned to parameter "value" of type "c_char_p" in function "SDL_SetAppMetadataProperty"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L105
Argument of type "bytes" cannot be assigned to parameter "name" of type "c_char_p" in function "SDL_SetAppMetadataProperty"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L91
Argument of type "bytes" cannot be assigned to parameter "appidentifier" of type "c_char_p" in function "SDL_SetAppMetadata"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L90
Argument of type "bytes" cannot be assigned to parameter "appversion" of type "c_char_p" in function "SDL_SetAppMetadata"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L89
Argument of type "bytes" cannot be assigned to parameter "appname" of type "c_char_p" in function "SDL_SetAppMetadata"
"bytes" is not assignable to "c_char_p" (reportArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L29
"GLib" is unknown import symbol (reportAttributeAccessIssue)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L29
Stub file not found for "gi.repository" (reportMissingTypeStubs)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L465
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L425
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L425
Type of "o_y" is unknown (reportUnknownVariableType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L424
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L424
Type of "o_x" is unknown (reportUnknownVariableType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L403
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L402
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L208
Argument type is unknown
Argument corresponds to parameter "args" in function "__new__" (reportUnknownArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L208
Type of "get_user_data_dir" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-314/tauon/__main__.py#L29
Type of "GLib" is unknown (reportUnknownVariableType)
|