mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-05-01 03:31:21 +00:00
stype: fix ruff warnings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user