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

        issue10928
diffstat:

 .isort.cfg                          |  3 +++
 __init__.py                         |  1 +
 setup.py                            |  3 ++-
 tests/__init__.py                   |  3 ++-
 tests/test_stock_supply_forecast.py |  8 ++++----
 5 files changed, 12 insertions(+), 6 deletions(-)

diffs (63 lines):

diff -r e9eb6722a103 -r f7d0e2230e6f .isort.cfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/.isort.cfg        Sat Dec 11 17:58:45 2021 +0100
@@ -0,0 +1,3 @@
+[settings]
+multi_line_output=4
+known_first_party=trytond
diff -r e9eb6722a103 -r f7d0e2230e6f __init__.py
--- a/__init__.py       Mon Nov 01 17:33:19 2021 +0100
+++ b/__init__.py       Sat Dec 11 17:58:45 2021 +0100
@@ -2,6 +2,7 @@
 # this repository contains the full copyright notices and license terms.
 
 from trytond.pool import Pool
+
 from . import purchase_request
 
 
diff -r e9eb6722a103 -r f7d0e2230e6f setup.py
--- a/setup.py  Mon Nov 01 17:33:19 2021 +0100
+++ b/setup.py  Sat Dec 11 17:58:45 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 e9eb6722a103 -r f7d0e2230e6f tests/__init__.py
--- a/tests/__init__.py Mon Nov 01 17:33:19 2021 +0100
+++ b/tests/__init__.py Sat Dec 11 17:58:45 2021 +0100
@@ -2,7 +2,8 @@
 # this repository contains the full copyright notices and license terms.
 
 try:
-    from 
trytond.modules.stock_supply_forecast.tests.test_stock_supply_forecast import 
suite  # noqa: E501
+    from 
trytond.modules.stock_supply_forecast.tests.test_stock_supply_forecast import \
+        suite  # noqa: E501
 except ImportError:
     from .test_stock_supply_forecast import suite
 
diff -r e9eb6722a103 -r f7d0e2230e6f tests/test_stock_supply_forecast.py
--- a/tests/test_stock_supply_forecast.py       Mon Nov 01 17:33:19 2021 +0100
+++ b/tests/test_stock_supply_forecast.py       Sat Dec 11 17:58:45 2021 +0100
@@ -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.
+import doctest
 import unittest
-import doctest
+
 import trytond.tests.test_tryton
-from trytond.tests.test_tryton import ModuleTestCase
-from trytond.tests.test_tryton import doctest_teardown
-from trytond.tests.test_tryton import doctest_checker
+from trytond.tests.test_tryton import (
+    ModuleTestCase, doctest_checker, doctest_teardown)
 
 
 class StockSupplyForecastTestCase(ModuleTestCase):

Reply via email to