Merge pull request #2488 from MatthewShao/options-into-own-addon

Fix minor typing mistake in mitmproxy/tools/main.py
This commit is contained in:
Maximilian Hils 2017-07-31 15:53:51 +02:00 committed by GitHub
commit d02c825427

View File

@ -60,7 +60,7 @@ def run(
master_cls: typing.Type[master.Master],
make_parser: typing.Callable[[options.Options], argparse.ArgumentParser],
arguments: typing.Sequence[str],
extra=typing.Callable[[typing.Any], dict]
extra: typing.Callable[[typing.Any], dict] = None
): # pragma: no cover
"""
extra: Extra argument processing callable which returns a dict of