setup.py code style

This commit is contained in:
Rodolfo García Peñas (kix) 2020-10-25 19:23:52 +01:00
parent 519fc8a8d6
commit 7df190cef1

View File

@ -26,6 +26,7 @@ import offlineimap
import logging import logging
from test.OLItest import TextTestRunner, TestLoader, OLITestLib from test.OLItest import TextTestRunner, TestLoader, OLITestLib
class TestCommand(Command): class TestCommand(Command):
"""runs the OLI testsuite""" """runs the OLI testsuite"""
description = """Runs the test suite. In order to execute only a single description = """Runs the test suite. In order to execute only a single
@ -59,8 +60,6 @@ setup(name = "offlineimap",
'offlineimap.repository', 'offlineimap.ui', 'offlineimap.repository', 'offlineimap.ui',
'offlineimap.utils'], 'offlineimap.utils'],
scripts=['bin/offlineimap'], scripts=['bin/offlineimap'],
license = offlineimap.__copyright__ + \ license=offlineimap.__copyright__ + ", Licensed under the GPL version 2",
", Licensed under the GPL version 2",
cmdclass={'test': TestCommand} cmdclass={'test': TestCommand}
) )