diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000000..bb03d08a82 --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +ignore=E123,E124,E126,E128,W503 diff --git a/setup.py b/setup.py index 3bd7b49a4c..998ba52362 100755 --- a/setup.py +++ b/setup.py @@ -65,7 +65,8 @@ if minor_version % 2: setup(name=name, version=version, - description='Tryton module to plan, coordinate and manage marketing campaigns', + description='Tryton module to plan, ' + 'coordinate and manage marketing campaigns', long_description=read('README.rst'), author='Tryton', author_email='bugs@tryton.org', @@ -80,8 +81,9 @@ setup(name=name, keywords='tryton marketing automation', package_dir={'trytond.modules.marketing_automation': '.'}, packages=( - ['trytond.modules.marketing_automation'] + - ['trytond.modules.marketing_automation.%s' % p for p in find_packages()] + ['trytond.modules.marketing_automation'] + + ['trytond.modules.marketing_automation.%s' % p + for p in find_packages()] ), package_data={ 'trytond.modules.marketing_automation': (info.get('xml', []) @@ -96,7 +98,8 @@ setup(name=name, 'Intended Audience :: Developers', 'Intended Audience :: Financial and Insurance Industry', 'Intended Audience :: Legal Industry', - 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', + 'License :: OSI Approved :: ' + 'GNU General Public License v3 or later (GPLv3+)', 'Natural Language :: Bulgarian', 'Natural Language :: Catalan', 'Natural Language :: Chinese (Simplified)', diff --git a/tests/__init__.py b/tests/__init__.py index b348c6af8f..c416941c70 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,7 +2,7 @@ # this repository contains the full copyright notices and license terms. try: - from trytond.modules.marketing_automation.tests.test_marketing_automation import suite + from trytond.modules.marketing_automation.tests.test_marketing_automation import suite # noqa: E501 except ImportError: from .test_marketing_automation import suite