Remove Any type from run function

This commit is contained in:
Devesh Kumar Singh 2020-04-20 03:19:43 +05:30
parent fc6a3e203f
commit 35ea5a6d5f
2 changed files with 2 additions and 2 deletions

View File

@ -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)]

View File

@ -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 "