From ea945a289230d6d8f3010e9c9b8b5b1fd1f293db Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 29 Jul 2014 19:37:50 +0000 Subject: [PATCH] Mark unused import false positives Since the reload framework in the package's init imports modules which look as if they don't get used, add noqa comments inline to indicate they should be ignored by static analysis tools. --- lib/mudpy/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mudpy/__init__.py b/lib/mudpy/__init__.py index 04001a0..d04f1b4 100644 --- a/lib/mudpy/__init__.py +++ b/lib/mudpy/__init__.py @@ -5,9 +5,9 @@ # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. -import imp +import imp # noqa (referenced via exec of string literal below) -import mudpy +import mudpy # noqa (referenced via exec of string literal below) def load(): -- 2.11.0