From 03eecf1206f1cb0da26d6f96443fa2dbcd0df8cb Mon Sep 17 00:00:00 2001 From: clowwindy Date: Fri, 31 Oct 2014 15:03:40 +0800 Subject: [PATCH] fix pep8 --- tests/nose_plugin.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/nose_plugin.py b/tests/nose_plugin.py index 1db6351..ad32cf0 100644 --- a/tests/nose_plugin.py +++ b/tests/nose_plugin.py @@ -1,13 +1,13 @@ -import sys import nose from nose.plugins.base import Plugin + class ExtensionPlugin(Plugin): name = "ExtensionPlugin" def options(self, parser, env): - Plugin.options(self,parser,env) + Plugin.options(self, parser, env) def configure(self, options, config): Plugin.configure(self, options, config) @@ -16,12 +16,12 @@ class ExtensionPlugin(Plugin): def wantFile(self, file): return file.endswith('.py') - def wantDirectory(self,directory): + def wantDirectory(self, directory): return True - def wantModule(self,file): + def wantModule(self, file): return True if __name__ == '__main__': - nose.main(addplugins=[ExtensionPlugin()]) \ No newline at end of file + nose.main(addplugins=[ExtensionPlugin()])