From 200009dd3cbe5c010c2293be38698e8da64f6eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:54:44 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- account.py | 4 ++-- payment.py | 4 ++-- setup.py | 4 ++-- tests/__init__.py | 4 ++-- tests/test_account_payment.py | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/__init__.py b/__init__.py index d2e3fee7d9..8b07f5fec3 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 .payment import * from .account import * diff --git a/account.py b/account.py index 7e38075a79..8f091adc9c 100644 --- a/account.py +++ b/account.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 Null from sql.aggregate import Sum from sql.conditionals import Case, Coalesce diff --git a/payment.py b/payment.py index bec926dd4f..60de98ba2b 100644 --- a/payment.py +++ b/payment.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 itertools import groupby from trytond.model import Workflow, ModelView, ModelSQL, fields diff --git a/setup.py b/setup.py index 7557a53df7..a2f2b18221 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 9431450a64..6887e1522e 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_payment import suite diff --git a/tests/test_account_payment.py b/tests/test_account_payment.py index 0560dfbc38..8ff5f465bc 100644 --- a/tests/test_account_payment.py +++ b/tests/test_account_payment.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 doctest import trytond.tests.test_tryton