summaryrefslogtreecommitdiff
path: root/sphinx/config.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-30 17:33:52 +0900
committerGitHub <noreply@github.com>2019-12-30 17:33:52 +0900
commit0355d57fc1159312a131b2e44acb4a0240b2de4e (patch)
tree225b6c5f9904d8699332add3cb0939fb8be68ef2 /sphinx/config.py
parent7a4bbf372a470700a1dfd96dd57054bb96b92fd3 (diff)
parentab184ac20d82d0546c21f33d2fdfbfb324078d56 (diff)
downloadsphinx-git-0355d57fc1159312a131b2e44acb4a0240b2de4e.tar.gz
Merge pull request #6972 from tk0miya/refactor_type_annotation2
mypy: Enable disallow_incomplete_defs flag for type checking
Diffstat (limited to 'sphinx/config.py')
-rw-r--r--sphinx/config.py2
1 files changed, 1 insertions, 1 deletions
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. '