From 743055fa82ff4331c5d8644652c388785ca82c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:56:10 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- product.py | 4 ++-- setup.py | 4 ++-- stock.py | 6 +++--- tests/__init__.py | 4 ++-- tests/test_stock_lot.py | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/__init__.py b/__init__.py index e9898f725c..60647e83e7 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/product.py b/product.py index d1bf2b756e..3061e6dca1 100644 --- a/product.py +++ b/product.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, fields from trytond.pyson import Eval from trytond.pool import PoolMeta diff --git a/setup.py b/setup.py index 362d1b04de..5197c00e1c 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 782ffac7b1..f0a237192d 100644 --- a/stock.py +++ b/stock.py @@ -1,8 +1,8 @@ -#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 collections import defaultdict -from trytond.model import ModelView, ModelSQL, Workflow, fields +from trytond.model import ModelView, ModelSQL, fields from trytond.pyson import Eval from trytond.pool import Pool, PoolMeta from trytond.transaction import Transaction diff --git a/tests/__init__.py b/tests/__init__.py index cf849d9ac1..5bc1a62ec5 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_stock_lot import suite diff --git a/tests/test_stock_lot.py b/tests/test_stock_lot.py index f3814d6047..6a8b892d86 100644 --- a/tests/test_stock_lot.py +++ b/tests/test_stock_lot.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 datetime