[ci] pin ruff version and fix lint errors (#10681)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-07-24 16:29:58 +08:00
committed by GitHub
parent 3f77101580
commit 2ebe7be611
10 changed files with 30 additions and 21 deletions

View File

@@ -60,7 +60,13 @@ def create_eval_tab(engine: "Engine") -> dict[str, "Component"]:
input_elems.update({max_new_tokens, top_p, temperature, eval_seed, output_dir})
elem_dict.update(
dict(max_new_tokens=max_new_tokens, top_p=top_p, temperature=temperature, eval_seed=eval_seed, output_dir=output_dir)
dict(
max_new_tokens=max_new_tokens,
top_p=top_p,
temperature=temperature,
eval_seed=eval_seed,
output_dir=output_dir,
)
)
with gr.Row():