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

        issue10928
diffstat:

 .isort.cfg                         |   3 +++
 __init__.py                        |   3 +--
 setup.py                           |   3 ++-
 stock.py                           |   9 ++++-----
 tests/__init__.py                  |   3 ++-
 tests/test_stock_quantity_issue.py |  11 ++++-------
 6 files changed, 16 insertions(+), 16 deletions(-)

diffs (92 lines):

diff -r 9db92051afe9 -r 7e6efbecbe5f .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 9db92051afe9 -r 7e6efbecbe5f __init__.py
--- a/__init__.py       Mon Nov 01 17:16:00 2021 +0100
+++ b/__init__.py       Sat Dec 11 17:58:44 2021 +0100
@@ -5,8 +5,7 @@
 
 __all__ = ['register']
 
-from . import ir
-from . import stock
+from . import ir, stock
 
 
 def register():
diff -r 9db92051afe9 -r 7e6efbecbe5f setup.py
--- a/setup.py  Mon Nov 01 17:16:00 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 9db92051afe9 -r 7e6efbecbe5f stock.py
--- a/stock.py  Mon Nov 01 17:16:00 2021 +0100
+++ b/stock.py  Sat Dec 11 17:58:44 2021 +0100
@@ -5,14 +5,13 @@
 
 from trytond.i18n import gettext
 from trytond.model import (
-    Model, ModelSQL, ModelView, Workflow, sequence_ordered, fields)
+    Model, ModelSQL, ModelView, Workflow, fields, sequence_ordered)
+from trytond.modules.company.model import (
+    employee_field, reset_employee, set_employee)
 from trytond.pool import Pool, PoolMeta
 from trytond.pyson import Eval
 from trytond.transaction import Transaction
-from trytond.wizard import Wizard, StateView, StateAction, Button
-
-from trytond.modules.company.model import (
-    set_employee, reset_employee, employee_field)
+from trytond.wizard import Button, StateAction, StateView, Wizard
 
 from .exceptions import QuantityIssueError
 
diff -r 9db92051afe9 -r 7e6efbecbe5f tests/__init__.py
--- a/tests/__init__.py Mon Nov 01 17:16:00 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_quantity_issue.tests.test_stock_quantity_issue 
import suite  # noqa: E501
+    from trytond.modules.stock_quantity_issue.tests.test_stock_quantity_issue 
import \
+        suite  # noqa: E501
 except ImportError:
     from .test_stock_quantity_issue import suite
 
diff -r 9db92051afe9 -r 7e6efbecbe5f tests/test_stock_quantity_issue.py
--- a/tests/test_stock_quantity_issue.py        Mon Nov 01 17:16:00 2021 +0100
+++ b/tests/test_stock_quantity_issue.py        Sat Dec 11 17:58:44 2021 +0100
@@ -1,16 +1,13 @@
 # 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 doctest
 import unittest
 
-import doctest
-
-from trytond.tests.test_tryton import ModuleTestCase
+from trytond.modules.company.tests import CompanyTestMixin
+from trytond.tests.test_tryton import (
+    ModuleTestCase, doctest_checker, doctest_teardown)
 from trytond.tests.test_tryton import suite as test_suite
-from trytond.tests.test_tryton import doctest_teardown
-from trytond.tests.test_tryton import doctest_checker
-
-from trytond.modules.company.tests import CompanyTestMixin
 
 
 class StockQuantityIssueTestCase(CompanyTestMixin, ModuleTestCase):

Reply via email to