summaryrefslogtreecommitdiff
path: root/sphinx/ext/githubpages.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-28 01:01:03 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-28 01:01:03 +0900
commitfebca7cf26d50aae8054eed7268a51785e9aa10f (patch)
treec6219c39d91e4fe9531718076b63fac4b3dea80d /sphinx/ext/githubpages.py
parent2f1cb1e1840f81e52657d3c270183d8d32c6654a (diff)
parent045e8c80f33b5cf077e10edc0955472ce7137e3d (diff)
downloadsphinx-git-febca7cf26d50aae8054eed7268a51785e9aa10f.tar.gz
Merge branch 'master' into refactor_config
Diffstat (limited to 'sphinx/ext/githubpages.py')
-rw-r--r--sphinx/ext/githubpages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/githubpages.py b/sphinx/ext/githubpages.py
index f97c810f8..bd7061fb7 100644
--- a/sphinx/ext/githubpages.py
+++ b/sphinx/ext/githubpages.py
@@ -10,11 +10,11 @@
"""
import os
-from typing import TYPE_CHECKING
import sphinx
-if TYPE_CHECKING:
+if False:
+ # For type annotation
from typing import Any, Dict # NOQA
from sphinx.application import Sphinx # NOQA
from sphinx.environment import BuildEnvironment # NOQA