Skip to content

better code organisation and /restart visual bug fix, #127

better code organisation and /restart visual bug fix,

better code organisation and /restart visual bug fix, #127

Triggered via push February 23, 2025 16:57
Status Failure
Total duration 32s
Artifacts

codeql.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Ruff Format
Process completed with exit code 1.
Pyright: somnus/discord_provider.py#L733
Argument missing for parameter "url" (reportCallIssue)
Pyright: somnus/discord_provider.py#L768
Argument of type "GuildChannel | Thread | PrivateChannel | None" cannot be assigned to parameter "channel" of type "TextChannel" in function "_inactivity_shutdown_verification"   Type "GuildChannel | Thread | PrivateChannel | None" is not assignable to type "TextChannel"     "CategoryChannel" is not assignable to "TextChannel" (reportArgumentType)
Pyright: somnus/discord_provider.py#L773
Cannot access attribute "edit" for class "Literal[True]"   Attribute "edit" is unknown (reportAttributeAccessIssue)
Pyright: somnus/discord_provider.py#L779
Cannot access attribute "edit" for class "Literal[True]"   Attribute "edit" is unknown (reportAttributeAccessIssue)
Pyright: somnus/discord_provider.py#L784
Cannot access attribute "edit" for class "Literal[True]"   Attribute "edit" is unknown (reportAttributeAccessIssue)
Pyright: somnus/language_handler.py#L37
Type "dict[Unknown, Unknown] | Unknown" is not assignable to return type "str"   Type "dict[Unknown, Unknown] | Unknown" is not assignable to type "str"     "dict[Unknown, Unknown]" is not assignable to "str" (reportReturnType)
Pyright: somnus/language_handler.py#L44
"template" is possibly unbound (reportPossiblyUnboundVariable)
Pyright: somnus/logic/stop.py#L92
Argument missing for parameter "shutdown" (reportCallIssue)
Pyright: somnus/logic/world_selector.py#L93
Function with declared return type "WorldSelectorWorld" must return value on all code paths   "None" is not assignable to "WorldSelectorWorld" (reportReturnType)
Pyright
9 errors