black/tests/data/cases/walrus_in_dict.py
2025-01-24 18:00:35 -08:00

10 lines
340 B
Python

# flags: --unstable
# This is testing an issue that is specific to the unstable style (wrap_long_dict_values_in_parens)
{
"is_update": (up := commit.hash in update_hashes)
}
# output
# This is testing an issue that is specific to the unstable style (wrap_long_dict_values_in_parens)
{"is_update": (up := commit.hash in update_hashes)}