From 18f098950dc23eb644a55098ad040ec115b17c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:56:11 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- setup.py | 4 ++-- stock.py | 4 ++-- tests/__init__.py | 6 ++++-- tests/test_stock_package.py | 4 ++-- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/__init__.py b/__init__.py index 65d8f6a2c5..21ba638c87 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 .stock import * diff --git a/setup.py b/setup.py index c0234d9542..66194030d4 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/stock.py b/stock.py index bd4ef8816f..50ac5d41f5 100644 --- a/stock.py +++ b/stock.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 ModelSQL, ModelView, Workflow, fields from trytond.pool import Pool, PoolMeta diff --git a/tests/__init__.py b/tests/__init__.py index e9111b2b25..648f60e3ae 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_stock_package import suite + +__all__ = ['suite'] diff --git a/tests/test_stock_package.py b/tests/test_stock_package.py index deba2b5a23..49337583d8 100644 --- a/tests/test_stock_package.py +++ b/tests/test_stock_package.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