@@ -73,6 +73,7 @@ def get_command(self, ctx, cmd_name):
73
73
else :
74
74
return module
75
75
76
+ # # pylint: disable=unused-argument
76
77
def format_usage (self , ctx : click .Context , formatter : click .formatting .HelpFormatter ) -> None :
77
78
"""Formats and colorizes the usage information."""
78
79
self .ensure_env (ctx )
@@ -85,6 +86,7 @@ def format_usage(self, ctx: click.Context, formatter: click.formatting.HelpForma
85
86
86
87
self .console .print (f"Usage: [path]{ ctx .command_path } [/] { ' ' .join (pieces )} " )
87
88
89
+ # pylint: disable=unused-argument
88
90
def format_help_text (self , ctx : click .Context , formatter : click .formatting .HelpFormatter ) -> None :
89
91
"""Writes the help text"""
90
92
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
104
106
self .console .print (epilog )
105
107
self .format_commands (ctx , formatter )
106
108
109
+ # pylint: disable=unused-argument
107
110
def format_options (self , ctx , formatter ):
108
111
"""Prints out the options in a table format"""
109
112
@@ -136,7 +139,9 @@ def format_options(self, ctx, formatter):
136
139
137
140
self .console .print (options_table )
138
141
142
+ # pylint: disable=unused-argument
139
143
def format_commands (self , ctx , formatter ):
144
+ """Formats the command list for click"""
140
145
commands = []
141
146
for subcommand in self .list_commands (ctx ):
142
147
cmd = self .get_command (ctx , subcommand )
0 commit comments