summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2023-05-19 17:35:29 +0200
committerMathieu Velten <mathieuv@matrix.org>2023-05-19 17:35:29 +0200
commita0ea6c1cba1ad0545ee52db7241f65858210b710 (patch)
tree329412b572b06e980af28676630019b38629b410
parentAdd changelog + stuffs (diff)
downloadsynapse-a0ea6c1cba1ad0545ee52db7241f65858210b710.tar.xz
lint
-rw-r--r--synapse/module_api/callbacks/public_rooms_callbacks.py1
-rw-r--r--tests/module_api/test_fetch_public_rooms.py6
2 files changed, 1 insertions, 6 deletions
diff --git a/synapse/module_api/callbacks/public_rooms_callbacks.py b/synapse/module_api/callbacks/public_rooms_callbacks.py
index f12667d202..88f996b684 100644
--- a/synapse/module_api/callbacks/public_rooms_callbacks.py
+++ b/synapse/module_api/callbacks/public_rooms_callbacks.py
@@ -15,7 +15,6 @@
 import logging
 from typing import Awaitable, Callable, Iterable, List, Optional, Tuple
 
-
 from synapse.types import PublicRoom
 
 logger = logging.getLogger(__name__)
diff --git a/tests/module_api/test_fetch_public_rooms.py b/tests/module_api/test_fetch_public_rooms.py
index 7543fa96de..efebf14398 100644
--- a/tests/module_api/test_fetch_public_rooms.py
+++ b/tests/module_api/test_fetch_public_rooms.py
@@ -12,11 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 from http import HTTPStatus
-from typing import (
-    Iterable,
-    Optional,
-    Tuple,
-)
+from typing import Iterable, Optional, Tuple
 
 from twisted.test.proto_helpers import MemoryReactor