Follow isort formatting
issue10928
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
+2
-4
@@ -2,10 +2,8 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from . import sale
|
||||
from . import product
|
||||
from . import stock
|
||||
from . import account
|
||||
|
||||
from . import account, product, sale, stock
|
||||
|
||||
|
||||
def register():
|
||||
|
||||
+3
-4
@@ -1,11 +1,10 @@
|
||||
# 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.model import ModelSQL, fields
|
||||
from trytond.pyson import Eval
|
||||
|
||||
from trytond.modules.product import price_digits, round_price
|
||||
from trytond.modules.company.model import CompanyValueMixin
|
||||
from trytond.modules.product import price_digits, round_price
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.pyson import Eval
|
||||
|
||||
|
||||
class Template(metaclass=PoolMeta):
|
||||
|
||||
@@ -7,9 +7,10 @@ from sql import Literal, Union
|
||||
from sql.aggregate import Sum
|
||||
from sql.conditionals import Coalesce
|
||||
from sql.operators import Equal
|
||||
|
||||
from trytond.i18n import gettext
|
||||
from trytond.model import (DeactivableMixin, Exclude, ModelSQL, ModelView,
|
||||
Workflow, fields)
|
||||
from trytond.model import (
|
||||
DeactivableMixin, Exclude, ModelSQL, ModelView, Workflow, fields)
|
||||
from trytond.model.exceptions import AccessError
|
||||
from trytond.modules.account.tax import TaxableMixin
|
||||
from trytond.modules.currency.fields import Monetary
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -1,10 +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.
|
||||
import unittest
|
||||
import doctest
|
||||
import unittest
|
||||
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
from trytond.tests.test_tryton import doctest_teardown, doctest_checker
|
||||
from trytond.tests.test_tryton import (
|
||||
ModuleTestCase, doctest_checker, doctest_teardown)
|
||||
|
||||
|
||||
class POSTestCase(ModuleTestCase):
|
||||
|
||||
Reference in New Issue
Block a user