Follow isort formatting

issue10928
This commit is contained in:
Cédric Krier
2021-12-11 17:58:45 +01:00
parent 3f1ea1cb34
commit eaee9f7360
6 changed files with 13 additions and 10 deletions
+3
View File
@@ -0,0 +1,3 @@
[settings]
multi_line_output=4
known_first_party=trytond
+1 -2
View File
@@ -3,8 +3,7 @@
from trytond.pool import Pool
from . import web
from . import routes
from . import routes, web
__all__ = ['register', 'routes']
+1 -1
View File
@@ -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
+2 -1
View File
@@ -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):
+3 -3
View File
@@ -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):
+3 -3
View File
@@ -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