Skip to content

Commit 7910b24

Browse files
committed
Use yaml format for .roosterizerc.
1 parent 4cad692 commit 7910b24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roosterize/interface/CommandLineInterface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ def load_configs(self, prj_root: Optional[Path] = None, force_reload: bool = Fal
8585
# First, load global config
8686
global_config_file = RoosterizeDirUtils.get_global_config_file()
8787
if global_config_file.exists():
88-
global_config = IOUtils.load(global_config_file, IOUtils.Format.json)
88+
global_config = IOUtils.load(global_config_file, IOUtils.Format.yaml)
8989
self.set_configs_from_dict(global_config, self.GLOBAL_CONFIGS)
9090

9191
# Then, load local config
9292
if prj_root is not None:
9393
local_config_file = RoosterizeDirUtils.get_local_config_file(prj_root)
9494
if local_config_file.exists():
95-
local_config = IOUtils.load(local_config_file, IOUtils.Format.json)
95+
local_config = IOUtils.load(local_config_file, IOUtils.Format.yaml)
9696
self.set_configs_from_dict(local_config, self.LOCAL_CONFIGS)
9797

9898
self.loaded_config_prj = prj_root

0 commit comments

Comments
 (0)