From e1710a461f07d36aeefdee6d390340f32ea711e6 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 22:32:38 +0000 Subject: [PATCH] style: format code with black Format code with black This commit fixes the style issues introduced in dae2d49 according to the output from Black. Details: None --- lynxie/commands/animals.py | 12 ++++++++---- lynxie/commands/help.py | 2 +- lynxie/commands/image.py | 18 ++++++++++++------ lynxie/commands/music.py | 5 +---- 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/lynxie/commands/animals.py b/lynxie/commands/animals.py index cb5a2a1..e0120f4 100644 --- a/lynxie/commands/animals.py +++ b/lynxie/commands/animals.py @@ -17,14 +17,18 @@ class Animals(commands.Cog): animal_choice = animal_choice.lower().strip() or None if not animal_choice: - error = f"You need to specify an animal! " \ - f"Try one of these: {', '.join(TINYFOX_ANIMALS)}" + error = ( + f"You need to specify an animal! " + f"Try one of these: {', '.join(TINYFOX_ANIMALS)}" + ) await ctx.reply(embed=error_message(error)) return if animal_choice not in TINYFOX_ANIMALS: - error = f"That animal doesn't exist! " \ - f"Try one of these: {', '.join(TINYFOX_ANIMALS)}" + error = ( + f"That animal doesn't exist! " + f"Try one of these: {', '.join(TINYFOX_ANIMALS)}" + ) await ctx.reply(embed=error_message(error)) return diff --git a/lynxie/commands/help.py b/lynxie/commands/help.py index 1dca2e4..e53bb04 100644 --- a/lynxie/commands/help.py +++ b/lynxie/commands/help.py @@ -15,7 +15,7 @@ class Help(commands.Cog): "stop": "Stop the current song and leave the voice channel", "animal ": "Get a random image of an animal!", "overlay