Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 16, 2023
1 parent 9bc532a commit 7cd016c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/click/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2738,9 +2738,7 @@ def _write_opts(opts: t.Sequence[str]) -> str:
_("env var: {var}").format(var=", ".join(extra["envvars"]))
)
if "default" in extra:
extra_items.append(
_("default: {default}").format(default=extra["default"])
)
extra_items.append(_("default: {default}").format(default=extra["default"]))
if "range" in extra:
extra_items.append(extra["range"])
if "required" in extra:
Expand Down

0 comments on commit 7cd016c

Please sign in to comment.