From 69f42c451ec5a5eb204c8617251ecc372b262411 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 17 Jul 2021 21:29:43 +0100 Subject: fix: linting compliance --- arthur/utils.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'arthur/utils.py') diff --git a/arthur/utils.py b/arthur/utils.py index 4ea2315..12e2646 100644 --- a/arthur/utils.py +++ b/arthur/utils.py @@ -4,10 +4,8 @@ from discord import Embed from discord.colour import Colour -def generate_error_embed(title: str = "'Tis but a scratch!", description: str = "An error occurred") -> Embed: +def generate_error_embed( + title: str = "'Tis but a scratch!", description: str = "An error occurred" +) -> Embed: """Generate an error embed to return to Discord.""" - return Embed( - title=title, - description=description, - colour=Colour.red() - ) + return Embed(title=title, description=description, colour=Colour.red()) -- cgit v1.2.3