Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skillopt/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _load_yaml(path: str, _visited: set[str] | None = None) -> dict:
raise ValueError(f"Circular _base_ inheritance: {abs_path}")
_visited.add(abs_path)

with open(abs_path) as f:
with open(abs_path, encoding="utf-8") as f:
cfg = yaml.safe_load(f) or {}

base_ref = cfg.pop("_base_", None)
Expand Down