summary refs log tree commit diff
path: root/synapse/_scripts
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-07-05 12:35:57 +0000
committerGitHub <noreply@github.com>2024-07-05 12:35:57 +0000
commit20de685a4b500212d19acda5f637d51a8dd6be4e (patch)
treecb4ede58d67fc349a4c783b99eb178bd28e061cb /synapse/_scripts
parentAllow enabling sliding sync per-user (#17393) (diff)
downloadsynapse-20de685a4b500212d19acda5f637d51a8dd6be4e.tar.xz
Bump ruff from 0.3.7 to 0.5.0 (#17381)
Diffstat (limited to 'synapse/_scripts')
-rwxr-xr-xsynapse/_scripts/generate_workers_map.py2
-rw-r--r--synapse/_scripts/update_synapse_database.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/_scripts/generate_workers_map.py b/synapse/_scripts/generate_workers_map.py
index 5b6c8f6837..715c7ddc17 100755
--- a/synapse/_scripts/generate_workers_map.py
+++ b/synapse/_scripts/generate_workers_map.py
@@ -44,7 +44,7 @@ logger = logging.getLogger("generate_workers_map")
 
 
 class MockHomeserver(HomeServer):
-    DATASTORE_CLASS = DataStore  # type: ignore
+    DATASTORE_CLASS = DataStore
 
     def __init__(self, config: HomeServerConfig, worker_app: Optional[str]) -> None:
         super().__init__(config.server.server_name, config=config)
diff --git a/synapse/_scripts/update_synapse_database.py b/synapse/_scripts/update_synapse_database.py
index 8d22bf53d4..d8b4dbd6c6 100644
--- a/synapse/_scripts/update_synapse_database.py
+++ b/synapse/_scripts/update_synapse_database.py
@@ -41,7 +41,7 @@ logger = logging.getLogger("update_database")
 
 
 class MockHomeserver(HomeServer):
-    DATASTORE_CLASS = DataStore  # type: ignore [assignment]
+    DATASTORE_CLASS = DataStore
 
     def __init__(self, config: HomeServerConfig):
         super().__init__(