Browse Source

🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

pull/13968/head
pre-commit-ci[bot] 4 days ago
parent
commit
16ee06bb89
  1. 2
      scripts/translate.py

2
scripts/translate.py

@ -184,7 +184,7 @@ def translate_page(
result = agent.run_sync(prompt)
out_content = f"{result.data.strip()}\n"
print(f"Saving translation to {out_path}")
out_path.write_text(out_content, encoding='utf-8', newline='\n')
out_path.write_text(out_content, encoding="utf-8", newline="\n")
def iter_all_en_paths() -> Iterable[Path]:

Loading…
Cancel
Save