From 56c27e679e0b34ec162545cb5e4ce0e8b3c2e523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:54:33 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- account.py | 4 ++-- party.py | 4 ++-- setup.py | 4 ++-- tests/__init__.py | 6 ++++-- tests/test_account_credit_limit.py | 4 ++-- 6 files changed, 14 insertions(+), 12 deletions(-) diff --git a/__init__.py b/__init__.py index 8128dfaee5..770e1ae733 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 account import * diff --git a/account.py b/account.py index d735193a02..952ee74a7e 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 decimal import Decimal from trytond.model import fields diff --git a/party.py b/party.py index 9e2407a96a..b11e2272e6 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.model import fields from trytond.pool import Pool, PoolMeta from trytond.transaction import Transaction diff --git a/setup.py b/setup.py index e884e8011c..8a16a05de1 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 ebb3d4aa30..6ec40fdb45 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,6 @@ -#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_credit_limit import suite + +__all__ = ['suite'] diff --git a/tests/test_account_credit_limit.py b/tests/test_account_credit_limit.py index 899fc922d0..b19526ffef 100644 --- a/tests/test_account_credit_limit.py +++ b/tests/test_account_credit_limit.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 decimal import Decimal import trytond.tests.test_tryton