From b3bd795e849a55d894cd7404cbfed35d690c142f Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 9 Sep 2023 19:52:26 +0000 Subject: [PATCH] style: format code with black Format code with black This commit fixes the style issues introduced in c359356 according to the output from Black. Details: None --- lynxie/config.py | 6 +++++- lynxie/utils.py | 5 +---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lynxie/config.py b/lynxie/config.py index f6e75d9..62c1160 100644 --- a/lynxie/config.py +++ b/lynxie/config.py @@ -2,7 +2,11 @@ import os import dotenv from discord import Object -DISCORD_TOKEN = dotenv.dotenv_values(".env").get("DISCORD_TOKEN") or os.environ.get("DISCORD_TOKEN") or None +DISCORD_TOKEN = ( + dotenv.dotenv_values(".env").get("DISCORD_TOKEN") + or os.environ.get("DISCORD_TOKEN") + or None +) DISCORD_GUILD_ID = Object(id=1040757387033849976) LYNXIE_PREFIX = "?" diff --git a/lynxie/utils.py b/lynxie/utils.py index fef6d38..cbe58c1 100644 --- a/lynxie/utils.py +++ b/lynxie/utils.py @@ -51,9 +51,6 @@ def error_message(error: str) -> discord.Embed: title="Error :(", description=error, colour=discord.Colour.red(), - ).set_footer( - text=f"For more information, use the " - f"{LYNXIE_PREFIX}help command." - ) + ).set_footer(text=f"For more information, use the " f"{LYNXIE_PREFIX}help command.") return embed