From a0ea6c1cba1ad0545ee52db7241f65858210b710 Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Fri, 19 May 2023 17:35:29 +0200 Subject: [PATCH] lint --- synapse/module_api/callbacks/public_rooms_callbacks.py | 1 - tests/module_api/test_fetch_public_rooms.py | 6 +----- 2 files changed, 1 insertion(+), 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