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)