From 619b626d5712763f7bfdb86bf665103a51216f6f Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Fri, 19 Mar 2021 23:06:22 +0100 Subject: [PATCH] Pyflakes fixes. --- product.py | 9 ++++----- tests/test_product_purchase_homologation.py | 2 -- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/product.py b/product.py index efde59f..948d4bb 100644 --- a/product.py +++ b/product.py @@ -1,12 +1,11 @@ # The COPYRIGHT file at the top level of this repository contains # the full copyright notices and license terms. -from trytond.pool import Pool, PoolMeta -from trytond.model import fields, ModelSQL, ModelView, Unique, Check - -__all__ = ['Template'] +from trytond.pool import PoolMeta +from trytond.model import fields class Template(metaclass=PoolMeta): __name__ = 'product.template' - purchase_homologation_required = fields.Boolean('Purchase Homologation Required') \ No newline at end of file + purchase_homologation_required = fields.Boolean('Purchase Homologation ' + 'Required') diff --git a/tests/test_product_purchase_homologation.py b/tests/test_product_purchase_homologation.py index 6553c94..6d5ce29 100644 --- a/tests/test_product_purchase_homologation.py +++ b/tests/test_product_purchase_homologation.py @@ -3,8 +3,6 @@ # the full copyright notices and license terms. import doctest import unittest - -import trytond.tests.test_tryton from trytond.tests.test_tryton import ModuleTestCase from trytond.tests.test_tryton import suite as test_suite from trytond.tests.test_tryton import doctest_teardown, doctest_checker