mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix mypy violation
This commit is contained in:
parent
4cd90a644a
commit
c62aefd71f
@ -28,7 +28,7 @@ from sphinx.util.osutil import abspath
|
||||
|
||||
if False:
|
||||
# For type annotation
|
||||
from typing import Any, List, Tuple # NOQA
|
||||
from typing import Any, Dict, List, Tuple # NOQA
|
||||
|
||||
|
||||
class BuildDoc(Command):
|
||||
@ -165,7 +165,7 @@ class BuildDoc(Command):
|
||||
status_stream = StringIO()
|
||||
else:
|
||||
status_stream = sys.stdout # type: ignore
|
||||
confoverrides = {}
|
||||
confoverrides = {} # type: Dict[unicode, Any]
|
||||
if self.project:
|
||||
confoverrides['project'] = self.project
|
||||
if self.version:
|
||||
|
Loading…
Reference in New Issue
Block a user