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:
@@ -20,6 +20,8 @@ from sphinx.util import logging
|
|||||||
if False:
|
if False:
|
||||||
# For type annotation
|
# For type annotation
|
||||||
from typing import Callable, Dict, IO, Iterator, Tuple # NOQA
|
from typing import Callable, Dict, IO, Iterator, Tuple # NOQA
|
||||||
|
from sphinx.builders import Builder # NOQA
|
||||||
|
from sphinx.environment import BuildEnvironment # NOQA
|
||||||
|
|
||||||
if PY3:
|
if PY3:
|
||||||
unicode = str
|
unicode = str
|
||||||
|
|||||||
Reference in New Issue
Block a user