mypy: Fix inconsistencies in use of *args/**kwargs.

This commit is contained in:
Tim Abbott 2017-02-18 18:39:27 -08:00
parent ca5fa6c9de
commit 060b680674

View file

@ -114,7 +114,7 @@ def get_config(ui, item):
return None return None
def hook(ui, repo, **kwargs): def hook(ui, repo, **kwargs):
# type: (ui, repo, Optional[Text]) -> None # type: (ui, repo, **Text) -> None
""" """
Invoked by configuring a [hook] entry in .hg/hgrc. Invoked by configuring a [hook] entry in .hg/hgrc.
""" """