From 38a0dab0e0c522756ed943dc3d23f42b0c454dbf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 14 Oct 2023 10:26:17 +0000 Subject: [PATCH] style(pre-commit): auto fixes from pre-commit.com hooks --- tests/test_typing_annotated.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_typing_annotated.py b/tests/test_typing_annotated.py index 0ea4125f02..7091a241ff 100644 --- a/tests/test_typing_annotated.py +++ b/tests/test_typing_annotated.py @@ -15,7 +15,9 @@ async def echo(ctx, txt: Annotated[str, discord.Option()]): bot = discord.Bot() bot.add_application_command(cmd) dict_result = cmd.to_dict() - assert dict_result.get("options")[0].get("type") == SlashCommandOptionType.string.value + assert ( + dict_result.get("options")[0].get("type") == SlashCommandOptionType.string.value + ) def test_typing_annotated_decorator(): @@ -40,7 +42,7 @@ def __init__(self, bot_) -> None: @slash_command() async def echo( - self, ctx, txt: Annotated[str, discord.Option(description="Some text")] + self, ctx, txt: Annotated[str, discord.Option(description="Some text")] ): await ctx.respond(txt) @@ -65,7 +67,7 @@ def __init__(self, bot_) -> None: @grp.command() async def echo( - self, ctx, txt: Annotated[str, discord.Option(description="Some text")] + self, ctx, txt: Annotated[str, discord.Option(description="Some text")] ): await ctx.respond(txt)