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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user