From 72324eacbe4cff89b990c9671c58fe32edb232d6 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sat, 18 Jul 2026 12:32:32 -0700 Subject: [PATCH] fix(lint): explicit encoding on probe-file open in UE harness (PLW1514 + windows-footguns) --- scripts/tool_search_livetest_ue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/tool_search_livetest_ue.py b/scripts/tool_search_livetest_ue.py index 36199e699dc..37940d7ad25 100644 --- a/scripts/tool_search_livetest_ue.py +++ b/scripts/tool_search_livetest_ue.py @@ -54,7 +54,8 @@ def _mock_result(tool_name: str) -> str: def load_epic_tools(scale: str) -> List[Dict[str, Any]]: - raw = json.load(open(PROBE)) + with open(PROBE, encoding="utf-8") as f: + raw = json.load(f) out = [] for ts_name, ts in raw["toolsets"].items(): if not isinstance(ts, dict) or not ts.get("tools"):