Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-29 17:56:30 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-12-30 11:22:56 +0300
commitab184ac20d82d0546c21f33d2fdfbfb324078d56 (patch)
tree225b6c5f9904d8699332add3cb0939fb8be68ef2 /sphinx/config.py
parent7a4bbf372a470700a1dfd96dd57054bb96b92fd3 (diff)
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. '