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 Aug 31, 2023
1 parent c7360c5 commit 1654214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/click/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ def get_help_option_names(self, ctx: Context) -> list[str]:

def get_help_option(self, ctx: Context) -> Option | None:
"""Returns the help option object.
Unless ``add_help_option`` is ``False``.
"""
help_options = self.get_help_option_names(ctx)
Expand All @@ -1015,7 +1015,7 @@ def get_help_option(self, ctx: Context) -> Option | None:
from .decorators import HelpOption

return HelpOption(help_options)

def make_parser(self, ctx: Context) -> _OptionParser:
"""Creates the underlying option parser for this command."""
parser = _OptionParser(ctx)
Expand Down

0 comments on commit 1654214

Please sign in to comment.