python: Reformat with Ruff formatter.

https://docs.astral.sh/ruff/formatter/

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-12-05 09:45:07 -08:00
committed by Tim Abbott
parent c85b2edbd4
commit 570f3dd447
68 changed files with 137 additions and 184 deletions

View File

@@ -552,7 +552,8 @@ def get_remote_realm_guest_and_non_guest_count(
# bulk_create_users to create the users in the system bot
# realm also generate such audit logs. Such audit logs should
# never be the latest in a normal realm.
.exclude(extra_data={}).last()
.exclude(extra_data={})
.last()
)
if latest_audit_log is not None: