mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 13:12:30 +00:00
Format files with Ruff (#17643)
I thought ruff check would also format, but it doesn't. This runs ruff format in CI and dev scripts. The first commit is just a run of `ruff format .` in the root directory.
This commit is contained in:
1 parent
709b7363fe
commit
7d52ce7d4b
152 files changed
+526
-492
No files matched your search
@@ -164,6 +164,8 @@ class ModuleApiTestCase(HomeserverTestCase):
|
||||
# noinspection PyTypeChecker
|
||||
self.get_success_or_raise(
|
||||
self._module_api.account_data_manager.put_global(
|
||||
self.user_id, "test.data", 42 # type: ignore[arg-type]
|
||||
self.user_id,
|
||||
"test.data",
|
||||
42, # type: ignore[arg-type]
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user