fix memory leak #511
Annotations
10 errors and 11 warnings
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L313
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#L312
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#L312
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#L102
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-313/tauon/__main__.py#L102
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-313/tauon/__main__.py#L88
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-313/tauon/__main__.py#L87
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-313/tauon/__main__.py#L86
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-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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: jakebailey/pyright-action@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L441
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L414
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L414
Type of "o_y" is unknown (reportUnknownVariableType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L413
Type of "SDL_WINDOWPOS_UNDEFINED" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L413
Type of "o_x" is unknown (reportUnknownVariableType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L392
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L391
Type of "decode" is unknown (reportUnknownMemberType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L201
Argument type is unknown
Argument corresponds to parameter "args" in function "__new__" (reportUnknownArgumentType)
|
|
pyright:
build/lib.linux-x86_64-cpython-313/tauon/__main__.py#L201
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)
|