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
This commit is contained in:
deepsource-autofix[bot] 2023-09-11 22:32:38 +00:00 committed by GitHub
parent dae2d4901c
commit e1710a461f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 15 deletions

View file

@ -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