Skip to content

Commit

Permalink
馃帹 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Mar 28, 2024
1 parent a2d0242 commit debccf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs_src/parameter_types/pydantic_types/tutorial003_an.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def main(
urls: Annotated[List[AnyHttpUrl], typer.Option("--url", default_factory=list)]
urls: Annotated[List[AnyHttpUrl], typer.Option("--url", default_factory=list)],
):
typer.echo(f"urls: {urls}")

Expand Down
2 changes: 1 addition & 1 deletion docs_src/parameter_types/pydantic_types/tutorial004.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def main(
user: Tuple[str, int, EmailStr, AnyHttpUrl] = typer.Option(
..., help="User name, age, email and social media URL"
)
),
):
name, age, email, url = user
typer.echo(f"name: {name}")
Expand Down
2 changes: 1 addition & 1 deletion docs_src/parameter_types/pydantic_types/tutorial004_an.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def main(
user: Annotated[
Tuple[str, int, EmailStr, AnyHttpUrl],
typer.Option(help="User name, age, email and social media URL"),
]
],
):
name, age, email, url = user
typer.echo(f"name: {name}")
Expand Down

0 comments on commit debccf1

Please sign in to comment.