From 7a9aa4b81bf84cd1f0b61823ae69e9a91cd2fa98 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 15 Mar 2019 12:00:23 +0000 Subject: [PATCH] Isort --- synapse/handlers/profile.py | 4 ++-- synapse/rest/client/v2_alpha/account.py | 2 +- tests/rulecheck/test_domainrulecheck.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index 2313379c58..7b8c77ba4d 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -16,12 +16,12 @@ import logging +from six.moves import range + from signedjson.sign import sign_json from twisted.internet import defer, reactor -from six.moves import range - from synapse.api.errors import ( AuthError, CodeMessageException, diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index e1745fad2d..53f47e9da7 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -27,9 +27,9 @@ from synapse.http.servlet import ( assert_params_in_dict, parse_json_object_from_request, ) +from synapse.types import UserID from synapse.util.msisdn import phone_number_to_msisdn from synapse.util.threepids import check_3pid_allowed -from synapse.types import UserID from ._base import client_v2_patterns, interactive_auth_handler diff --git a/tests/rulecheck/test_domainrulecheck.py b/tests/rulecheck/test_domainrulecheck.py index a24fb53766..702862f78b 100644 --- a/tests/rulecheck/test_domainrulecheck.py +++ b/tests/rulecheck/test_domainrulecheck.py @@ -14,11 +14,11 @@ # limitations under the License. -from tests import unittest - from synapse.config._base import ConfigError from synapse.rulecheck.domain_rule_checker import DomainRuleChecker +from tests import unittest + class DomainRuleCheckerTestCase(unittest.TestCase):