summaryrefslogtreecommitdiff
path: root/sphinx/directives
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/directives')
-rw-r--r--sphinx/directives/__init__.py2
-rw-r--r--sphinx/directives/code.py2
-rw-r--r--sphinx/directives/other.py2
-rw-r--r--sphinx/directives/patches.py1
4 files changed, 4 insertions, 3 deletions
diff --git a/sphinx/directives/__init__.py b/sphinx/directives/__init__.py
index 58efd68a5..6f3dc10c7 100644
--- a/sphinx/directives/__init__.py
+++ b/sphinx/directives/__init__.py
@@ -31,7 +31,7 @@ from sphinx.directives.patches import ( # noqa
if False:
# For type annotation
- from typing import Any # NOQA
+ from typing import Any, Dict, List # NOQA
from sphinx.application import Sphinx # NOQA
from sphinx.environment import BuildEnvironment # NOQA
diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py
index f6a328582..058c95913 100644
--- a/sphinx/directives/code.py
+++ b/sphinx/directives/code.py
@@ -23,7 +23,7 @@ from sphinx.util.nodes import set_source_info
if False:
# For type annotation
- from typing import Any, Tuple # NOQA
+ from typing import Any, Dict, List, Tuple # NOQA
from sphinx.application import Sphinx # NOQA
from sphinx.config import Config # NOQA
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index 801fd8cad..8601645f2 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -24,7 +24,7 @@ from sphinx.util.matching import patfilter
if False:
# For type annotation
- from typing import Any, Tuple # NOQA
+ from typing import Any, Dict, List, Tuple # NOQA
from sphinx.application import Sphinx # NOQA
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py
index 00e1fa53a..1159a3ce7 100644
--- a/sphinx/directives/patches.py
+++ b/sphinx/directives/patches.py
@@ -16,6 +16,7 @@ from sphinx.util.nodes import set_source_info
if False:
# For type annotation
+ from typing import Dict, List # NOQA
from sphinx.application import Sphinx # NOQA