Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆ [pre-commit.ci] pre-commit autoupdate #549

Merged
merged 2 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
# This file is more readable without yield from
exclude: ^docs_src/progressbar/tutorial004\.py
- repo: https://github.com/PyCQA/autoflake
rev: v2.0.0
rev: v2.1.1
hooks:
- id: autoflake
args:
Expand All @@ -47,7 +47,7 @@ repos:
name: isort (pyi)
types: [pyi]
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.3.0
hooks:
- id: black
ci:
Expand Down
2 changes: 0 additions & 2 deletions typer/rich_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ def rich_format_help(

# Print command / group help if we have some
if obj.help:

# Print with some padding
console.print(
Padding(
Expand All @@ -569,7 +568,6 @@ def rich_format_help(
panel_to_arguments: DefaultDict[str, List[click.Argument]] = defaultdict(list)
panel_to_options: DefaultDict[str, List[click.Option]] = defaultdict(list)
for param in obj.get_params(ctx):

# Skip if option is hidden
if getattr(param, "hidden", False):
continue
Expand Down