Follow isort formatting
issue10928
This commit is contained in:
1 parent
43772d4969
commit
8676b6b309
11 files changed
+19
-10
No files matched your search
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
+1
-1
@@ -3,9 +3,9 @@
|
||||
'''
|
||||
A library to access Tryton's models like a client.
|
||||
'''
|
||||
import threading
|
||||
import datetime
|
||||
import functools
|
||||
import threading
|
||||
from decimal import Decimal
|
||||
|
||||
import proteus.config
|
||||
|
||||
+1
-1
@@ -10,8 +10,8 @@ import os
|
||||
import threading
|
||||
import urllib.parse
|
||||
import xmlrpc.client
|
||||
from decimal import Decimal
|
||||
from contextlib import contextmanager
|
||||
from decimal import Decimal
|
||||
|
||||
__all__ = ['set_trytond', 'set_xmlrpc', 'get_config']
|
||||
|
||||
|
||||
+3
-2
@@ -1,11 +1,12 @@
|
||||
# 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 json
|
||||
import datetime
|
||||
import json
|
||||
from decimal import Decimal
|
||||
from dateutil.relativedelta import relativedelta
|
||||
from functools import reduce
|
||||
|
||||
from dateutil.relativedelta import relativedelta
|
||||
|
||||
|
||||
class PYSON(object):
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# 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 os
|
||||
import sys
|
||||
import unittest
|
||||
import doctest
|
||||
|
||||
import proteus
|
||||
import proteus.config
|
||||
|
||||
@@ -2,9 +2,8 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from unittest import TestCase
|
||||
|
||||
from trytond.tests.test_tryton import db_exist, create_db
|
||||
|
||||
from proteus import config
|
||||
from trytond.tests.test_tryton import create_db, db_exist
|
||||
|
||||
|
||||
class ProteusTestCase(TestCase):
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# 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 proteus.config
|
||||
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# 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 proteus import Model
|
||||
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
# 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
|
||||
|
||||
try:
|
||||
import pydot
|
||||
except ImportError:
|
||||
pydot = None
|
||||
|
||||
from proteus import Report, Model
|
||||
from proteus import Model, Report
|
||||
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# 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 proteus import Wizard, Model
|
||||
from proteus import Model, Wizard
|
||||
|
||||
from .common import ProteusTestCase
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user