Merge pull request #988 from GLolol/pep8

supybot-plugin-create: create PEP8-compliant files
This commit is contained in:
Valentin Lorentz 2015-01-03 10:18:52 +01:00
commit 8b1b75eaa6
1 changed files with 5 additions and 2 deletions

View File

@ -103,6 +103,7 @@ except ImportError:
# without the i18n module
_ = lambda x: x
class %s(callbacks.Plugin):
"""%s"""
%s
@ -127,6 +128,7 @@ except:
# without the i18n module
_ = lambda x: x
def configure(advanced):
# This will be called by supybot to configure this module. advanced is
# a bool that specifies whether the user identified themself as an advanced
@ -194,6 +196,7 @@ testTemplate = '''
from supybot.test import *
class %sTestCase(PluginTestCase):
plugins = (%r,)