From dbb28d48da5539851615780c62a01920cd9c8a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:55:25 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- party.py | 4 ++-- setup.py | 4 ++-- tests/__init__.py | 6 ++++-- tests/test_party_relationship.py | 4 ++-- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/__init__.py b/__init__.py index d6e44149d9..977d989b1a 100644 --- a/__init__.py +++ b/__init__.py @@ -1,5 +1,5 @@ -#This file is part of Tryton. The COPYRIGHT file at the top level of this -#repository contains the full copyright notices and license terms. +# This file is part of Tryton. The COPYRIGHT file at the top level of +# this repository contains the full copyright notices and license terms. from trytond.pool import Pool from party import * diff --git a/party.py b/party.py index dc217976fc..1d16900a14 100644 --- a/party.py +++ b/party.py @@ -1,5 +1,5 @@ -#This file is part of Tryton. The COPYRIGHT file at the top level of this -#repository contains the full copyright notices and license terms. +# This file is part of Tryton. The COPYRIGHT file at the top level of +# this repository contains the full copyright notices and license terms. from sql import Union, As, Column, Null from trytond.pool import Pool, PoolMeta diff --git a/setup.py b/setup.py index f09c006e3d..a32b04f718 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -#This file is part of Tryton. The COPYRIGHT file at the top level of this -#repository contains the full copyright notices and license terms. +# This file is part of Tryton. The COPYRIGHT file at the top level of +# this repository contains the full copyright notices and license terms. from setuptools import setup import re diff --git a/tests/__init__.py b/tests/__init__.py index 9b02eb5185..ee65d1b384 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,6 @@ -# The COPYRIGHT file at the top level of this repository contains the full -# copyright notices and license terms. +# This file is part of Tryton. The COPYRIGHT file at the top level of +# this repository contains the full copyright notices and license terms. from .test_party_relationship import suite + +__all__ = ['suite'] diff --git a/tests/test_party_relationship.py b/tests/test_party_relationship.py index 178b5d7312..c885ac17ba 100644 --- a/tests/test_party_relationship.py +++ b/tests/test_party_relationship.py @@ -1,5 +1,5 @@ -#This file is part of Tryton. The COPYRIGHT file at the top level of this -#repository contains the full copyright notices and license terms. +# This file is part of Tryton. The COPYRIGHT file at the top level of +# this repository contains the full copyright notices and license terms. import unittest from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT, test_view,\ test_depends, install_module, suite as tryton_suite