Skip to content

Commit

Permalink
CLI: remove default=None; ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 committed Nov 22, 2024
1 parent de8c82e commit 5770ed0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions duckduckgo_search/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ def answers(keywords, output, proxy, verify):
@click.option(
"-c",
"--color",
default=None,
type=click.Choice(
[
"color",
Expand All @@ -285,14 +284,11 @@ def answers(keywords, output, proxy, verify):
]
),
)
@click.option(
"-type", "--type_image", type=click.Choice(["photo", "clipart", "gif", "transparent", "line"])
)
@click.option("-type", "--type_image", type=click.Choice(["photo", "clipart", "gif", "transparent", "line"]))
@click.option("-l", "--layout", type=click.Choice(["Square", "Tall", "Wide"]))
@click.option(
"-lic",
"--license_image",
default=None,
type=click.Choice(["any", "Public", "Share", "ShareCommercially", "Modify", "ModifyCommercially"]),
)
@click.option("-m", "--max_results", type=int, help="maximum number of results")
Expand Down

0 comments on commit 5770ed0

Please sign in to comment.