From 92aa1a7fbaba09f5f108cfd0e0d1cdedfba31249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:55:50 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- carrier.py | 4 ++-- setup.py | 4 ++-- stock.py | 4 ++-- tests/__init__.py | 4 ++-- tests/test_purchase_shipment_cost.py | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/__init__.py b/__init__.py index dcfc906f9e..26948176c2 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/carrier.py b/carrier.py index cbe14f5405..9561ca5bba 100644 --- a/carrier.py +++ b/carrier.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 PoolMeta diff --git a/setup.py b/setup.py index 2aaa9aeac7..56f7b56025 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 9788e6ab13..56324aae57 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 decimal import Decimal, ROUND_DOWN, ROUND_HALF_EVEN from operator import itemgetter diff --git a/tests/__init__.py b/tests/__init__.py index b4e8524e96..7facd8d4c3 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_purchase_shipment_cost import suite diff --git a/tests/test_purchase_shipment_cost.py b/tests/test_purchase_shipment_cost.py index 0a727524ed..64d7adc645 100644 --- a/tests/test_purchase_shipment_cost.py +++ b/tests/test_purchase_shipment_cost.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. import unittest import doctest import trytond.tests.test_tryton