Follow isort formatting
issue10928
This commit is contained in:
1 parent
9b235bd784
commit
6869922338
7 files changed
+20
-19
No files matched your search
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
+2
-3
@@ -2,9 +2,8 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from . import user
|
||||
from . import party
|
||||
from . import ir
|
||||
|
||||
from . import ir, party, user
|
||||
|
||||
|
||||
def register():
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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 trytond.pool import PoolMeta, Pool
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.tools import escape_wildcard
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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 trytond.pool import PoolMeta, Pool
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
|
||||
|
||||
class Replace(metaclass=PoolMeta):
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -2,16 +2,15 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import unittest
|
||||
from unittest.mock import ANY, patch
|
||||
|
||||
from unittest.mock import patch, ANY
|
||||
|
||||
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.config import config
|
||||
|
||||
from trytond.modules.party.tests import PartyCheckEraseMixin
|
||||
from trytond.modules.web_user import user as user_module
|
||||
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
|
||||
|
||||
VALIDATION_URL = 'http://www.example.com/validation'
|
||||
RESET_PASSWORD_URL = 'http://www.example.com/reset_password'
|
||||
|
||||
@@ -25,18 +25,17 @@ from sql.operators import Equal
|
||||
|
||||
from trytond.config import config
|
||||
from trytond.exceptions import RateLimitException
|
||||
from trytond.ir.session import token_hex
|
||||
from trytond.model import (
|
||||
ModelView, ModelSQL, DeactivableMixin, fields, Unique, Exclude,
|
||||
avatar_mixin)
|
||||
DeactivableMixin, Exclude, ModelSQL, ModelView, Unique, avatar_mixin,
|
||||
fields)
|
||||
from trytond.pool import Pool
|
||||
from trytond.pyson import Eval
|
||||
from trytond.report import Report, get_email
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.tools.email_ import set_from_header
|
||||
from trytond.res.user import CRYPT_CONTEXT, LoginAttempt
|
||||
from trytond.sendmail import sendmail_transactional
|
||||
|
||||
from trytond.ir.session import token_hex
|
||||
from trytond.res.user import LoginAttempt, CRYPT_CONTEXT
|
||||
from trytond.tools.email_ import set_from_header
|
||||
from trytond.transaction import Transaction
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in new issue
Block a user