Follow isort formatting
issue10928
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from . import customs
|
||||
from . import product
|
||||
|
||||
from . import customs, product
|
||||
|
||||
|
||||
def register():
|
||||
|
||||
+3
-4
@@ -6,11 +6,10 @@ from decimal import Decimal
|
||||
from sql import Null
|
||||
|
||||
from trytond.model import (
|
||||
ModelSQL, ModelView, DeactivableMixin, MatchMixin, fields)
|
||||
from trytond.pyson import Eval, If, Bool
|
||||
from trytond.pool import Pool
|
||||
|
||||
DeactivableMixin, MatchMixin, ModelSQL, ModelView, fields)
|
||||
from trytond.modules.product import price_digits
|
||||
from trytond.pool import Pool
|
||||
from trytond.pyson import Bool, Eval, If
|
||||
|
||||
# Use 2 chars numbering to allow string comparison
|
||||
MONTHS = [
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
# 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 PoolMeta, Pool
|
||||
from trytond import backend
|
||||
from trytond.model import ModelSQL, ModelView, fields, sequence_ordered
|
||||
from trytond.pyson import Eval, Or, Bool
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.pyson import Bool, Eval, Or
|
||||
from trytond.tools import grouped_slice
|
||||
from trytond.transaction import Transaction
|
||||
from trytond import backend
|
||||
|
||||
|
||||
class Category(metaclass=PoolMeta):
|
||||
|
||||
@@ -6,7 +6,8 @@ import io
|
||||
import os
|
||||
import re
|
||||
from configparser import ConfigParser
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
|
||||
def read(fname):
|
||||
|
||||
@@ -3,12 +3,13 @@
|
||||
|
||||
|
||||
import unittest
|
||||
from decimal import Decimal
|
||||
from datetime import date
|
||||
from decimal import Decimal
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
||||
from trytond.tests.test_tryton import suite as test_suite
|
||||
from trytond.pool import Pool
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
from trytond.tests.test_tryton import suite as test_suite
|
||||
from trytond.tests.test_tryton import with_transaction
|
||||
|
||||
|
||||
class CustomsTestCase(ModuleTestCase):
|
||||
|
||||
Reference in New Issue
Block a user