Follow isort formatting
issue10928
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
+1
-2
@@ -3,8 +3,7 @@
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import web
|
||||
from . import routes
|
||||
from . import routes, web
|
||||
|
||||
__all__ = ['register', 'routes']
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ try:
|
||||
except ImportError:
|
||||
from http import client as HTTPStatus
|
||||
|
||||
from werkzeug.utils import redirect
|
||||
from werkzeug.exceptions import abort
|
||||
from werkzeug.utils import redirect
|
||||
|
||||
from trytond.protocols.wrappers import with_pool, with_transaction
|
||||
from trytond.wsgi import app
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -5,10 +5,10 @@ import random
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
||||
from trytond.tests.test_tryton import suite as test_suite
|
||||
from trytond.pool import Pool
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
from trytond.tests.test_tryton import suite as test_suite
|
||||
from trytond.tests.test_tryton import with_transaction
|
||||
|
||||
|
||||
class WebShortenerTestCase(ModuleTestCase):
|
||||
|
||||
@@ -1,14 +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 string
|
||||
import logging
|
||||
from urllib.parse import urljoin, quote
|
||||
import string
|
||||
from urllib.parse import quote, urljoin
|
||||
|
||||
from sql.aggregate import Count
|
||||
|
||||
from trytond.config import config
|
||||
from trytond.model import fields, ModelSQL, ModelView
|
||||
from trytond.model import ModelSQL, ModelView, fields
|
||||
from trytond.pool import Pool
|
||||
from trytond.tools import grouped_slice, reduce_ids
|
||||
from trytond.transaction import Transaction
|
||||
|
||||
Reference in New Issue
Block a user