python: Tweak some magic trailing commas to avoid Black bugs.

https://github.com/psf/black/issues/1658
https://github.com/psf/black/issues/1671

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-02 20:49:50 -07:00
committed by Tim Abbott
parent f91d287447
commit 3b301f522b
8 changed files with 11 additions and 11 deletions

View File

@@ -1201,7 +1201,7 @@ def get_recipient_info(recipient: Recipient,
if user_ids:
query = UserProfile.objects.filter(
is_active=True,
is_active=True
).values(
'id',
'enable_online_push_notifications',
@@ -4101,7 +4101,7 @@ def do_mark_all_as_read(user_profile: UserProfile, client: Client) -> int:
do_clear_mobile_push_notifications_for_ids([user_profile.id], all_push_message_ids)
msgs = UserMessage.objects.filter(
user_profile=user_profile,
user_profile=user_profile
).extra(
where=[UserMessage.where_unread()],
)