more typing work

This commit is contained in:
Kovid Goyal
2020-03-13 16:13:26 +05:30
parent 9f2fb76309
commit 917559f883
14 changed files with 693 additions and 488 deletions

View File

@@ -24,7 +24,7 @@ def generate_stub() -> None:
nonlocal text
text += as_type_stub(*parse_option_spec(otext), class_name=cls, extra_fields=extra_fields)
do(extra_fields=('args: typing.Sequence[str]',))
do(extra_fields=('args: typing.List[str]',))
from .launch import options_spec
do(options_spec(), 'LaunchCLIOptions')