black: Reformat with Black 23.

Black 23 enforces some slightly more specific rules about empty line
counts and redundant parenthesis removal, but the result is still
compatible with Black 22.

(This does not actually upgrade our Python environment to Black 23
yet.)

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-02-01 19:35:24 -08:00
committed by Tim Abbott
parent bbf5b3d6ce
commit df001db1a9
581 changed files with 57 additions and 721 deletions

View File

@@ -2185,7 +2185,6 @@ class StreamAdminTest(ZulipTestCase):
using_legacy_emails: bool = False,
other_sub_users: Sequence[UserProfile] = [],
) -> "TestHttpResponse":
# Set up the main user, who is in most cases an admin.
if is_realm_admin:
user_profile = self.example_user("iago")
@@ -4595,7 +4594,6 @@ class SubscriptionAPITest(ZulipTestCase):
)
def test_bulk_subscribe_many(self) -> None:
# Create a whole bunch of streams
streams = [f"stream_{i}" for i in range(30)]
for stream_name in streams: