ruff: Partially reformat Python with Ruff 0.9 (2025 style).

These are the changes that are backwards compatible with the 2024
style.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-01-13 15:31:03 -08:00
committed by Tim Abbott
parent 99ea0255da
commit 653b0b0436
23 changed files with 38 additions and 62 deletions

View File

@@ -1874,7 +1874,7 @@ class ActivateTest(ZulipTestCase):
self.login("iago")
# Organization administrator cannot deactivate organization owner.
result = self.client_delete(f'/json/users/{self.example_user("desdemona").id}')
result = self.client_delete(f"/json/users/{self.example_user('desdemona').id}")
self.assert_json_error(result, "Must be an organization owner")
iago = self.example_user("iago")