Skip to content

ruff format added

ruff format added #129

Triggered via push February 23, 2025 17:11
Status Failure
Total duration 31s
Artifacts

codeql.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Pyright: somnus/discord_provider.py#L725
Argument missing for parameter "url" (reportCallIssue)
Pyright: somnus/discord_provider.py#L760
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#L765
Cannot access attribute "edit" for class "Literal[True]"   Attribute "edit" is unknown (reportAttributeAccessIssue)
Pyright: somnus/discord_provider.py#L771
Cannot access attribute "edit" for class "Literal[True]"   Attribute "edit" is unknown (reportAttributeAccessIssue)
Pyright: somnus/discord_provider.py#L776
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