Skip to content

docs: explain why we wont use some codeql checks #144

docs: explain why we wont use some codeql checks

docs: explain why we wont use some codeql checks #144

Triggered via push February 26, 2025 12:36
Status Failure
Total duration 34s
Artifacts

codeql.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff Format
Process completed with exit code 1.
Pyright: somnus/discord_provider.py#L176
Argument of type "str | None" cannot be assigned to parameter "new_display_name" of type "str" in function "edit_new_world"   Type "str | None" is not assignable to type "str"     "None" is not assignable to "str" (reportArgumentType)
Pyright: somnus/discord_provider.py#L176
Argument of type "str | None" cannot be assigned to parameter "start_cmd" of type "str" in function "edit_new_world"   Type "str | None" is not assignable to type "str"     "None" is not assignable to "str" (reportArgumentType)
Pyright: somnus/discord_provider.py#L176
Argument of type "bool | None" cannot be assigned to parameter "start_cmd_sudo" of type "bool" in function "edit_new_world"   Type "bool | None" is not assignable to type "bool"     "None" is not assignable to "bool" (reportArgumentType)
Pyright: somnus/discord_provider.py#L176
Argument of type "bool | None" cannot be assigned to parameter "visible" of type "bool" in function "edit_new_world"   Type "bool | None" is not assignable to type "bool"     "None" is not assignable to "bool" (reportArgumentType)
Pyright: somnus/discord_provider.py#L195
Argument of type "(interaction: Interaction[Client], current: str) -> CoroutineType[Any, Any, None]" cannot be assigned to parameter of type "AutocompleteCallback[Group, ChoiceT@autocomplete]"   Type "(interaction: Interaction[Client], current: str) -> CoroutineType[Any, Any, None]" is not assignable to type "AutocompleteCallback[Group, ChoiceT@autocomplete]"     Type "(interaction: Interaction[Client], current: str) -> CoroutineType[Any, Any, None]" is not assignable to type "(Group, Interaction[Any], str) -> Coro[List[Choice[ChoiceT@autocomplete]]]"       Function accepts too many positional parameters; expected 2 but received 3         Parameter 1: type "Group" is incompatible with type "Interaction[Client]"           "Group" is not assignable to "Interaction[Client]"         Parameter 2: type "Interaction[Any]" is incompatible with type "str"           "Interaction[Any]" is not assignable to "str"         Function return type "CoroutineType[Any, Any, None]" is incompatible with type "Coro[List[Choice[ChoiceT@autocomplete]]]" (reportArgumentType)
Pyright: somnus/discord_provider.py#L197
Type "list[Choice[Unknown]]" is not assignable to return type "None"   "list[Choice[Unknown]]" is not assignable to "None" (reportReturnType)
Pyright
6 errors