From ab184ac20d82d0546c21f33d2fdfbfb324078d56 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 29 Dec 2019 23:56:30 +0900 Subject: mypy: Enable disallow_incomplete_defs flag for type checking --- sphinx/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/config.py') diff --git a/sphinx/config.py b/sphinx/config.py index 646034b31..0f022a039 100644 --- a/sphinx/config.py +++ b/sphinx/config.py @@ -154,7 +154,7 @@ class Config: 'env', []), } # type: Dict[str, Tuple] - def __init__(self, *args) -> None: + def __init__(self, *args: Any) -> None: if len(args) == 4: # old style arguments: (dirname, filename, overrides, tags) warnings.warn('The argument of Config() class has been changed. ' -- cgit v1.2.1