mirror of
https://github.com/esphome/esphome.git
synced 2026-09-02 02:56:01 +00:00
Fix pylint unspecified-encoding warnings in generate_boards.py
This commit is contained in:
@@ -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", {})
|
||||
|
||||
Reference in New Issue
Block a user