More typing work

This commit is contained in:
Kovid Goyal
2020-03-08 18:55:30 +05:30
parent 7057bc663e
commit 308d171dae
7 changed files with 216 additions and 61 deletions

View File

@@ -805,7 +805,7 @@ def compare_opts(opts: OptionsStub) -> None:
compare_keymaps(final, initial)
def create_opts(args, debug_config=False, accumulate_bad_lines=None):
def create_opts(args: CLIOptions, debug_config=False, accumulate_bad_lines=None) -> OptionsStub:
from .config import load_config
config = tuple(resolve_config(SYSTEM_CONF, defconf, args.config))
if debug_config: