From: Jeremy Stanley Date: Tue, 29 Jul 2014 19:37:50 +0000 (+0000) Subject: Mark unused import false positives X-Git-Tag: 0.0.1~231 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=ea945a289230d6d8f3010e9c9b8b5b1fd1f293db 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. --- 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():