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:
1 parent
93f45cb356
commit
75e985d392
1 file changed
+1
-5
@@ -318,11 +318,7 @@ def _option_number_write(prefix, factor=1):
|
|||||||
def write(payload, rep, href=None):
|
def write(payload, rep, href=None):
|
||||||
return (
|
return (
|
||||||
["mode", "vs", "0"],
|
["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
|
return write
|
||||||
|
|||||||
Reference in new issue
Block a user