summaryrefslogtreecommitdiff
path: root/sphinx/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/project.py')
-rw-r--r--sphinx/project.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sphinx/project.py b/sphinx/project.py
index 8e2e7330a..81d2b43e0 100644
--- a/sphinx/project.py
+++ b/sphinx/project.py
@@ -9,7 +9,6 @@
"""
import os
-from typing import TYPE_CHECKING
from sphinx.locale import __
from sphinx.util import get_matching_files
@@ -17,9 +16,11 @@ from sphinx.util import logging
from sphinx.util.matching import compile_matchers
from sphinx.util.osutil import SEP, relpath
-if TYPE_CHECKING:
+if False:
+ # For type annotation
from typing import Dict, List, Set # NOQA
+
logger = logging.getLogger(__name__)
EXCLUDE_PATHS = ['**/_sources', '.#*', '**/.#*', '*.lproj/**']