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 Jul 24, 2024
1 parent a671c13 commit 09ded71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shtab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,9 @@ def format_complete_command(

if positional.choices:
# map choice of action to their help msg
choices_to_action = {v.dest: v.help for v in getattr(positional, "_choices_actions", [])}
choices_to_action = {
v.dest: v.help
for v in getattr(positional, "_choices_actions", [])}

this_positional_choices = []
for choice in positional.choices:
Expand Down

0 comments on commit 09ded71

Please sign in to comment.