stype: fix ruff warnings

This commit is contained in:
Dowon
2024-07-17 20:20:32 +09:00
parent 0a9b7fdc3a
commit ae98eb90ed
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ def on_widget_change(state: dict, value: Any, *, attr: str):
def on_generate_click(state: dict, *values: Any):
for attr, value in zip(ALL_ARGS.attrs, values):
state[attr] = value
state[attr] = value # noqa: PERF403
state["is_api"] = ()
return state