summary refs log tree commit diff
diff options
context:
space:
mode:
authorKegan Dougal <7190048+kegsay@users.noreply.github.com>2024-01-30 16:48:43 +0000
committerKegan Dougal <7190048+kegsay@users.noreply.github.com>2024-01-30 16:48:43 +0000
commitfab5948f5b42db0cb45d08aaa31cddec9526dd3a (patch)
tree24a9366d917eed7a6952ef22556e3dcbd25d8e25
parentChangelog (diff)
downloadsynapse-fab5948f5b42db0cb45d08aaa31cddec9526dd3a.tar.xz
Linting
-rw-r--r--synapse/handlers/device.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index d5a8bc0126..c6def74259 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -22,6 +22,7 @@
 import logging
 from typing import TYPE_CHECKING, Dict, Iterable, List, Mapping, Optional, Set, Tuple
 
+import synapse.metrics
 from synapse.api import errors
 from synapse.api.constants import EduTypes, EventTypes, Membership
 from synapse.api.errors import (
@@ -33,7 +34,6 @@ from synapse.api.errors import (
     SynapseError,
 )
 from synapse.logging.opentracing import log_kv, set_tag, trace
-import synapse.metrics
 from synapse.metrics.background_process_metrics import (
     run_as_background_process,
     wrap_as_background_process,
@@ -56,7 +56,7 @@ from synapse.util import stringutils
 from synapse.util.async_helpers import Linearizer
 from synapse.util.caches.expiringcache import ExpiringCache
 from synapse.util.cancellation import cancellable
-from synapse.util.metrics import measure_func, Measure
+from synapse.util.metrics import Measure, measure_func
 from synapse.util.retryutils import (
     NotRetryingDestination,
     filter_destinations_by_retry_limiter,