mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:10 +00:00
Fix unstable set comprehension formatting (#5327)
This commit is contained in:
parent
930f03de98
commit
2dfa6ff58d
4 changed files with 35 additions and 13 deletions
|
@ -187,3 +187,8 @@ if (
|
|||
a + b
|
||||
):
|
||||
...
|
||||
|
||||
|
||||
# Unstable formatting in https://github.com/realtyem/synapse-unraid/blob/unraid_develop/synapse/handlers/presence.py
|
||||
for user_id in set(target_user_ids) - {u.user_id for u in updates}:
|
||||
updates.append(UserPresenceState.default(user_id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue