diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-17 10:01:57 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-02-17 10:01:57 +0900 |
commit | 6371d69d79b1185528f2d87d6c400e7a782336f6 (patch) | |
tree | ef456bd04e0591c89f7aa1d70416946bc215d682 /sphinx/cmdline.py | |
parent | 5bcef2a924762730b1e83c683810100981fa27cb (diff) | |
download | sphinx-git-6371d69d79b1185528f2d87d6c400e7a782336f6.tar.gz |
Fix mypy violations
Diffstat (limited to 'sphinx/cmdline.py')
-rw-r--r-- | sphinx/cmdline.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/cmdline.py b/sphinx/cmdline.py index fc578422f..00d269912 100644 --- a/sphinx/cmdline.py +++ b/sphinx/cmdline.py @@ -18,7 +18,9 @@ from sphinx.deprecation import RemovedInSphinx30Warning if False: # For type annotation + import argparse # NOQA from typing import Any, IO, List, Union # NOQA + from sphinx.application import Sphinx # NOQA def handle_exception(app, args, exception, stderr=sys.stderr): @@ -47,4 +49,3 @@ def main(argv=sys.argv[1:]): # type: ignore warnings.warn('sphinx.cmdline module is deprecated. Use sphinx.cmd.build instead.', RemovedInSphinx30Warning) return build.main(argv) - |