From a292f0899fc51c7d733bfd7bb1002dd4c0569adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:54:40 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- invoice.py | 4 ++-- party.py | 4 ++-- payment_term.py | 4 ++-- setup.py | 4 ++-- tests/__init__.py | 4 ++-- tests/test_account_invoice_history.py | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/__init__.py b/__init__.py index 595b1d745e..5da4c27629 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/invoice.py b/invoice.py index 912e0546c6..2b4bb668a8 100644 --- a/invoice.py +++ b/invoice.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 datetime from trytond.model import ModelView, Workflow, fields diff --git a/party.py b/party.py index b9011ed9ea..23beec902f 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 trytond.pool import PoolMeta __all__ = ['Party', 'Address'] diff --git a/payment_term.py b/payment_term.py index 54a5e69dcd..a17112198b 100644 --- a/payment_term.py +++ b/payment_term.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 PoolMeta __all__ = ['PaymentTerm', 'PaymentTermLine'] diff --git a/setup.py b/setup.py index 9724a7a14a..463baa82d8 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 3953eab6dd..65cdb6e8f1 100644 --- a/tests/__init__.py +++ b/tests/__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 .test_account_invoice_history import suite diff --git a/tests/test_account_invoice_history.py b/tests/test_account_invoice_history.py index da95f3ac4c..7b3451b64e 100644 --- a/tests/test_account_invoice_history.py +++ b/tests/test_account_invoice_history.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 import trytond.tests.test_tryton from trytond.tests.test_tryton import test_depends