summaryrefslogtreecommitdiff
path: root/sphinx/ext/githubpages.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-26 02:02:19 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-03-26 02:02:19 +0900
commitf9ae69d9b003b4839b39b0abc26b6a607b7e08bd (patch)
tree1e7de5710ae07c493cdb3eb5bf902cd2f81f657a /sphinx/ext/githubpages.py
parent5734d8ad02116004721bca90df2719fdab7c9eb9 (diff)
downloadsphinx-git-f9ae69d9b003b4839b39b0abc26b6a607b7e08bd.tar.gz
Drop typing.TYPE_CHECKING
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