From 32822129de356ccbd0ffc6fc52676ab17caf3588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Dec 2014 12:55:19 +0100 Subject: [PATCH] Fix most flake8 errors review8771002 --- __init__.py | 4 ++-- dashboard.py | 4 ++-- ir.py | 4 ++-- res.py | 4 ++-- setup.py | 4 ++-- tests/__init__.py | 4 ++-- tests/test_dashboard.py | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/__init__.py b/__init__.py index a23e5e7952..0f52c4b45c 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 .dashboard import * diff --git a/dashboard.py b/dashboard.py index d7d8bcc342..973cd650f1 100644 --- a/dashboard.py +++ b/dashboard.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 trytond.model import ModelView, ModelSQL, fields diff --git a/ir.py b/ir.py index 9f1f9fe9db..cf1878c376 100644 --- a/ir.py +++ b/ir.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 math from lxml import etree from trytond.transaction import Transaction diff --git a/res.py b/res.py index bb0e3e877c..d75c7ef2a7 100644 --- a/res.py +++ b/res.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 import backend from trytond.transaction import Transaction diff --git a/setup.py b/setup.py index f92f80b82d..53844825a1 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 5ec8ff9aee..832ebb89ee 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_dashboard import suite diff --git a/tests/test_dashboard.py b/tests/test_dashboard.py index 7e9041414d..3bdd484def 100644 --- a/tests/test_dashboard.py +++ b/tests/test_dashboard.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 trytond.tests.test_tryton from trytond.tests.test_tryton import test_view, test_depends