style: let ruff format the write helper

`ruff format --check` is part of the Validate workflow and my hand-wrapped
version of the dict literal was not what it produces. No behaviour change.
This commit is contained in:
perseus177
2026-08-05 12:27:24 +02:00
parent 93f45cb356
commit 75e985d392
@@ -318,11 +318,7 @@ def _option_number_write(prefix, factor=1):
def write(payload, rep, href=None):
return (
["mode", "vs", "0"],
{
"x.com.samsung.da.options": option_write(
prefix, str(round(float(payload) * factor))
)
},
{"x.com.samsung.da.options": option_write(prefix, str(round(float(payload) * factor)))},
)
return write