Changed line length to 108 in black

This commit is contained in:
2025-04-27 22:06:35 +02:00
parent 923173ebe8
commit 11f0cc384a
14 changed files with 101 additions and 44 deletions

View File

@@ -1,10 +1,15 @@
from pycord_event import EventNotFoundError
from pycord_event_stage import EventStageNotFoundError, EventStageMissingSequenceError
from .discord import DiscordGuildMemberNotFoundError, DiscordCategoryNotFoundError, DiscordChannelNotFoundError
from pycord_event_stage import EventStageMissingSequenceError, EventStageNotFoundError
from .discord import (
DiscordCategoryNotFoundError,
DiscordChannelNotFoundError,
DiscordGuildMemberNotFoundError,
)
from .pycord_guild import GuildNotFoundError
from .pycord_user import (
UserNotFoundError,
UserAlreadyRegisteredForEventError,
UserNotRegisteredForEventError,
UserAlreadyCompletedEventError,
UserAlreadyRegisteredForEventError,
UserNotFoundError,
UserNotRegisteredForEventError,
)

View File

@@ -15,7 +15,9 @@ class DiscordCategoryNotFoundError(Exception):
self.category_id: int = category_id
self.guild_id: int = guild_id
super().__init__(f"Category with id {self.category_id} was not found in guild with id {self.guild_id}")
super().__init__(
f"Category with id {self.category_id} was not found in guild with id {self.guild_id}"
)
class DiscordChannelNotFoundError(Exception):
@@ -25,4 +27,6 @@ class DiscordChannelNotFoundError(Exception):
self.channel_id: int = channel_id
self.guild_id: int = guild_id
super().__init__(f"Channel with id {self.channel_id} was not found in guild with id {self.guild_id}")
super().__init__(
f"Channel with id {self.channel_id} was not found in guild with id {self.guild_id}"
)