Skip to content

Commit ce440e5

Browse files
committed
Format Python
1 parent f7dce22 commit ce440e5

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

click_extra/theme.py

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -341,16 +341,14 @@ def cascade(self, base: HelpExtraTheme) -> HelpExtraTheme:
341341
return type(self).from_dict(merged)
342342

343343

344-
LITERAL_STYLES: frozenset[str] = frozenset(
345-
{
346-
"invoked_command",
347-
"subcommand",
348-
"alias",
349-
"alias_secondary",
350-
"option",
351-
"choice",
352-
}
353-
)
344+
LITERAL_STYLES: frozenset[str] = frozenset({
345+
"invoked_command",
346+
"subcommand",
347+
"alias",
348+
"alias_secondary",
349+
"option",
350+
"choice",
351+
})
354352
r"""Names of the :class:`HelpExtraTheme` slots that color *literal* tokens:
355353
text the user types verbatim on the command line.
356354
@@ -375,12 +373,10 @@ def cascade(self, base: HelpExtraTheme) -> HelpExtraTheme:
375373
the man-page generation gap.
376374
"""
377375

378-
REPLACEABLE_STYLES: frozenset[str] = frozenset(
379-
{
380-
"metavar",
381-
"argument",
382-
}
383-
)
376+
REPLACEABLE_STYLES: frozenset[str] = frozenset({
377+
"metavar",
378+
"argument",
379+
})
384380
r"""Names of the :class:`HelpExtraTheme` slots that color *replaceable* tokens:
385381
placeholders the user substitutes with a real value.
386382

0 commit comments

Comments
 (0)