changeset a38852cddc99 in modules/stock_shipment_measurements:default
details: 
https://hg.tryton.org/modules/stock_shipment_measurements?cmd=changeset&node=a38852cddc99
description:
        Follow isort formatting

        issue10928
diffstat:

 .isort.cfg                                |  3 +++
 setup.py                                  |  3 ++-
 stock.py                                  |  2 +-
 tests/__init__.py                         |  3 ++-
 tests/test_stock_shipment_measurements.py |  9 ++++-----
 5 files changed, 12 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r 992302f9cc23 -r a38852cddc99 .isort.cfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/.isort.cfg        Sat Dec 11 17:58:44 2021 +0100
@@ -0,0 +1,3 @@
+[settings]
+multi_line_output=4
+known_first_party=trytond
diff -r 992302f9cc23 -r a38852cddc99 setup.py
--- a/setup.py  Mon Nov 01 17:37:38 2021 +0100
+++ b/setup.py  Sat Dec 11 17:58:44 2021 +0100
@@ -6,7 +6,8 @@
 import os
 import re
 from configparser import ConfigParser
-from setuptools import setup, find_packages
+
+from setuptools import find_packages, setup
 
 
 def read(fname):
diff -r 992302f9cc23 -r a38852cddc99 stock.py
--- a/stock.py  Mon Nov 01 17:37:38 2021 +0100
+++ b/stock.py  Sat Dec 11 17:58:44 2021 +0100
@@ -6,7 +6,7 @@
 from sql.operators import Concat
 
 from trytond.model import fields
-from trytond.pool import PoolMeta, Pool
+from trytond.pool import Pool, PoolMeta
 from trytond.tools import grouped_slice, reduce_ids
 from trytond.transaction import Transaction
 
diff -r 992302f9cc23 -r a38852cddc99 tests/__init__.py
--- a/tests/__init__.py Mon Nov 01 17:37:38 2021 +0100
+++ b/tests/__init__.py Sat Dec 11 17:58:44 2021 +0100
@@ -2,7 +2,8 @@
 # this repository contains the full copyright notices and license terms.
 
 try:
-    from 
trytond.modules.stock_shipment_measurements.tests.test_stock_shipment_measurements
 import suite  # noqa: E501
+    from 
trytond.modules.stock_shipment_measurements.tests.test_stock_shipment_measurements
 import \
+        suite  # noqa: E501
 except ImportError:
     from .test_stock_shipment_measurements import suite
 
diff -r 992302f9cc23 -r a38852cddc99 tests/test_stock_shipment_measurements.py
--- a/tests/test_stock_shipment_measurements.py Mon Nov 01 17:37:38 2021 +0100
+++ b/tests/test_stock_shipment_measurements.py Sat Dec 11 17:58:44 2021 +0100
@@ -4,13 +4,12 @@
 import unittest
 from decimal import Decimal
 
+from trytond.modules.company.tests import (
+    CompanyTestMixin, create_company, set_company)
 from trytond.pool import Pool
-from trytond.tests.test_tryton import (ModuleTestCase, activate_module,
-    with_transaction)
+from trytond.tests.test_tryton import ModuleTestCase, activate_module
 from trytond.tests.test_tryton import suite as test_suite
-
-from trytond.modules.company.tests import (
-    create_company, set_company, CompanyTestMixin)
+from trytond.tests.test_tryton import with_transaction
 
 
 class StockShipmentMeasurementsTestCase(CompanyTestMixin, ModuleTestCase):

Reply via email to