Commit 1c0c9359 by Daniel Eades Committed by Bjorn Neergaard

de-glob mypy whitelist for 'console.commands' module

parent 65b220e3
......@@ -112,7 +112,31 @@ files = "src"
[[tool.mypy.overrides]]
module = [
'poetry.config.file_config_source',
'poetry.console.*',
'poetry.console.application',
'poetry.console.logging.formatters.builder_formatter',
'poetry.console.commands.add',
'poetry.console.commands.build',
'poetry.console.commands.cache.clear',
'poetry.console.commands.command',
'poetry.console.commands.config',
'poetry.console.commands.debug.resolve',
'poetry.console.commands.end',
'poetry.console.commands.env_command',
'poetry.console.commands.export',
'poetry.console.commands.init',
'poetry.console.commands.installer_command',
'poetry.console.commands.install',
'poetry.console.commands.lock',
'poetry.console.commands.new',
'poetry.console.commands.plugin.add',
'poetry.console.commands.remove',
'poetry.console.commands.run',
'poetry.console.commands.self.update',
'poetry.console.commands.shell',
'poetry.console.commands.show',
'poetry.console.commands.source.add',
'poetry.console.commands.update',
'poetry.console.commands.version',
'poetry.factory.*',
'poetry.inspection.*',
'poetry.installation.*',
......
......@@ -18,7 +18,7 @@ class RunArgvInput(ArgvInput):
) -> None:
super().__init__(argv, definition=definition)
self._parameter_options = []
self._parameter_options: List[str] = []
@property
def first_argument(self) -> Optional[str]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment