black/tests/data/cases/walrus_in_dict.py
cobalt 9a331d606f
fix: Don't allow unparenthesizing walruses (#4155)
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com>
Signed-off-by: RedGuy12 <paul@reid-family.org>
2024-01-17 11:04:15 -08:00

8 lines
139 B
Python

# flags: --preview
{
"is_update": (up := commit.hash in update_hashes)
}
# output
{"is_update": (up := commit.hash in update_hashes)}