diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-06-10 21:52:57 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-06-10 21:52:57 +0900 |
commit | d1515ff89914cf7d1d242f0099e6462d4928aafe (patch) | |
tree | 5271a84d7fc6059940f974d8cb7b1babb7b90017 | |
parent | 9f470cec6c943a9437dac2c09ea796e78e08156d (diff) | |
download | sphinx-git-d1515ff89914cf7d1d242f0099e6462d4928aafe.tar.gz |
Fix flake8 violations
-rw-r--r-- | sphinx/util/__init__.py | 2 | ||||
-rw-r--r-- | sphinx/util/compat.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index f31c34e18..d7dd6d95f 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -51,7 +51,7 @@ from sphinx.util.matching import patfilter # noqa if False: # For type annotation from sphinx.application import Sphinx - from sphinx.builders import Builder + logger = logging.getLogger(__name__) diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py index 340dd77fa..4f756b0b0 100644 --- a/sphinx/util/compat.py +++ b/sphinx/util/compat.py @@ -15,7 +15,6 @@ from typing import Any, Dict from docutils.utils import get_source_line from sphinx import addnodes -from sphinx.config import Config from sphinx.deprecation import RemovedInSphinx40Warning from sphinx.transforms import SphinxTransform |