From b5b2b2f08e03dcb3064040ad77d2daca3aa47a6b Mon Sep 17 00:00:00 2001 From: Ashley Whetter Date: Fri, 3 Jan 2020 09:26:32 -0800 Subject: [PATCH] Make the linter happy again --- autoapi/mappers/base.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/autoapi/mappers/base.py b/autoapi/mappers/base.py index fcd26ad..61767a1 100644 --- a/autoapi/mappers/base.py +++ b/autoapi/mappers/base.py @@ -12,7 +12,7 @@ from sphinx.util.docstrings import prepare_docstring import sphinx.util.logging import unidecode -from ..settings import API_ROOT +from ..settings import API_ROOT, TEMPLATE_DIR LOGGER = sphinx.util.logging.getLogger(__name__) @@ -164,8 +164,6 @@ class SphinxMapperBase(object): """ def __init__(self, app, template_dir=None, url_root=None): - from ..settings import TEMPLATE_DIR - self.app = app template_paths = [TEMPLATE_DIR]