[ci] Enable the ruff rule requiring explicit encoding on text file I/O (#17897)

This commit is contained in:
J. Nick Koston
2026-07-29 13:44:39 -04:00
committed by GitHub
parent 306d200b02
commit ca1f89e500
11 changed files with 23 additions and 14 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ def cmd_update(args: argparse.Namespace) -> int:
def cmd_har_only(args: argparse.Namespace) -> int:
Path(args.har).write_text(run_waterfall(TARGET_MODULE))
Path(args.har).write_text(run_waterfall(TARGET_MODULE), encoding="utf-8")
print(f"Wrote waterfall HAR to {args.har}")
return 0