Skip to content

Commit c7da1f0

Browse files
author
Roopa
committed
Formatted
1 parent 6303f13 commit c7da1f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

click_option_group/_core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,9 @@ def handle_parse_result(self, option: GroupedOption, ctx: click.Context, opts: d
368368
option_names = set(self.get_options(ctx))
369369

370370
if not option_names.isdisjoint(opts) and option_names.intersection(opts) != option_names:
371-
error_text = f'All options should be specified or None should be specified from the group '
372-
error_text += f'"{self.get_default_name(ctx)}".'
371+
error_text = f'All options should be specified or None should be specified from the group ' \
372+
f'"{self.get_default_name(ctx)}".'
373373
error_text += f'\nMissing required options from "{self.get_default_name(ctx)}" option group.'
374374
error_text += f'\n{self.get_error_hint(ctx)}'
375-
error_text += f'\n'
376-
raise click.UsageError(error_text, ctx=ctx)
375+
error_text += '\n'
376+
raise click.UsageError(error_text, ctx=ctx)

0 commit comments

Comments
 (0)