Fix pylint unspecified-encoding warnings in generate_boards.py

This commit is contained in:
J. Nick Koston
2026-03-05 13:57:40 -10:00
parent e103ca20ba
commit 424d4193b2
+1 -1
View File
@@ -64,7 +64,7 @@ def load_boards(arduino_pico_path: Path) -> tuple[dict, dict]:
for json_file in sorted(json_dir.glob("*.json")):
board_name = json_file.stem
with open(json_file) as f:
with open(json_file, encoding="utf-8") as f:
data = json.load(f)
build = data.get("build", {})