@@ -73,6 +73,7 @@ def get_command(self, ctx, cmd_name):
7373 else :
7474 return module
7575
76+ # # pylint: disable=unused-argument
7677 def format_usage (self , ctx : click .Context , formatter : click .formatting .HelpFormatter ) -> None :
7778 """Formats and colorizes the usage information."""
7879 self .ensure_env (ctx )
@@ -85,6 +86,7 @@ def format_usage(self, ctx: click.Context, formatter: click.formatting.HelpForma
8586
8687 self .console .print (f"Usage: [path]{ ctx .command_path } [/] { ' ' .join (pieces )} " )
8788
89+ # pylint: disable=unused-argument
8890 def format_help_text (self , ctx : click .Context , formatter : click .formatting .HelpFormatter ) -> None :
8991 """Writes the help text"""
9092 text = self .help if self .help is not None else ""
@@ -104,6 +106,7 @@ def format_epilog(self, ctx: click.Context, formatter: click.formatting.HelpForm
104106 self .console .print (epilog )
105107 self .format_commands (ctx , formatter )
106108
109+ # pylint: disable=unused-argument
107110 def format_options (self , ctx , formatter ):
108111 """Prints out the options in a table format"""
109112
@@ -136,7 +139,9 @@ def format_options(self, ctx, formatter):
136139
137140 self .console .print (options_table )
138141
142+ # pylint: disable=unused-argument
139143 def format_commands (self , ctx , formatter ):
144+ """Formats the command list for click"""
140145 commands = []
141146 for subcommand in self .list_commands (ctx ):
142147 cmd = self .get_command (ctx , subcommand )
0 commit comments