diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-03-03 12:19:09 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-03-03 23:17:34 +0900 |
commit | 554199d30e418f72f215fae65924b47249d2544c (patch) | |
tree | fd952e21a8f4e9dabf91c5e3731dea3712ade006 /sphinx/builders/html.py | |
parent | 28b1aceefedbb9c3a12d6ba7c712df8ad5e98db8 (diff) | |
download | sphinx-git-554199d30e418f72f215fae65924b47249d2544c.tar.gz |
Upgrade to mypy-0.5
Diffstat (limited to 'sphinx/builders/html.py')
-rw-r--r-- | sphinx/builders/html.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py index 11eca44c4..b241a7a60 100644 --- a/sphinx/builders/html.py +++ b/sphinx/builders/html.py @@ -52,7 +52,7 @@ from sphinx.environment.adapters.indexentries import IndexEntries if False: # For type annotation - from typing import Any, Iterable, Iterator, Type, Tuple, Union # NOQA + from typing import Any, Dict, Iterable, Iterator, List, Type, Tuple, Union # NOQA from sphinx.domains import Domain, Index # NOQA from sphinx.application import Sphinx # NOQA @@ -96,7 +96,7 @@ class StandaloneHTMLBuilder(Builder): allow_parallel = True out_suffix = '.html' link_suffix = '.html' # defaults to matching out_suffix - indexer_format = js_index + indexer_format = js_index # type: Any indexer_dumps_unicode = True # create links to original images from images [True/False] html_scaled_image_link = True @@ -1180,7 +1180,7 @@ class SerializingHTMLBuilder(StandaloneHTMLBuilder): implementation = None # type: Any implementation_dumps_unicode = False #: additional arguments for dump() - additional_dump_args = () + additional_dump_args = () # type: Tuple #: the filename for the global context file globalcontext_filename = None # type: unicode |