mirror of https://github.com/pypa/pip
Remove Any type from run function
This commit is contained in:
parent
fc6a3e203f
commit
35ea5a6d5f
|
@ -84,7 +84,7 @@ class CompletionCommand(Command):
|
|||
self.parser.insert_option_group(0, cmd_opts)
|
||||
|
||||
def run(self, options, args):
|
||||
# type: (Values, List[Any]) -> int
|
||||
# type: (Values, List[str]) -> int
|
||||
"""Prints the completion code of the given shell"""
|
||||
shells = COMPLETION_SCRIPTS.keys()
|
||||
shell_options = ['--' + shell for shell in sorted(shells)]
|
||||
|
|
|
@ -202,7 +202,7 @@ class DebugCommand(Command):
|
|||
self.parser.config.load()
|
||||
|
||||
def run(self, options, args):
|
||||
# type: (Values, List[Any]) -> int
|
||||
# type: (Values, List[str]) -> int
|
||||
logger.warning(
|
||||
"This command is only meant for debugging. "
|
||||
"Do not use this with automation for parsing and getting these "
|
||||
|
|
Loading…
Reference in New Issue