From 07bf33fbf5be8143aab037dc65aba3086f8badf6 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Wed, 5 Feb 2020 08:21:51 +1300 Subject: MAINT: cleanup unused imports; avoid redefinition of imports * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811) --- doc/source/conf.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'doc/source/conf.py') diff --git a/doc/source/conf.py b/doc/source/conf.py index 11be7ec1c..905fa2711 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -257,7 +257,6 @@ numpydoc_use_plots = True # Autosummary # ----------------------------------------------------------------------------- -import glob autosummary_generate = True # ----------------------------------------------------------------------------- @@ -381,7 +380,6 @@ def linkcode_resolve(domain, info): numpy.__version__, fn, linespec) from pygments.lexers import CLexer -from pygments import token import copy class NumPyLexer(CLexer): -- cgit v1.2.1