Skip to content

Commit

Permalink
Reformat PR code
Browse files Browse the repository at this point in the history
  • Loading branch information
always-on-duty[bot] committed Oct 15, 2024
1 parent 495b11c commit b0626aa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_annotations_future_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,7 @@ def test_choices(
async def callback(
ctx: tanjun.abc.Context,
nope: typing.Annotated[type_cls_, annotations.Choices(choices_), "default"],
boo: typing.Annotated[type_cls_, annotations.Choices(choices_), "be"] = typing.cast(
"_ChoiceT", "hi"
),
boo: typing.Annotated[type_cls_, annotations.Choices(choices_), "be"] = typing.cast("_ChoiceT", "hi"),
): ...

assert callback.build().options == [
Expand Down

0 comments on commit b0626aa

Please sign in to comment.