Skip to content

Commit 427a9ec

Browse files
vinayvennelaLee-W
authored andcommitted
fix: remove yaml warnings when using '.cz.yaml'
1 parent ae9ba6f commit 427a9ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/config/yaml_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def set_key(self, key, value):
3838
We use to update the version number.
3939
"""
4040
with open(self.path, "r") as yaml_file:
41-
parser = yaml.load(yaml_file)
41+
parser = yaml.load(yaml_file, Loader=yaml.FullLoader)
4242

4343
parser["commitizen"][key] = value
4444
with open(self.path, "w") as yaml_file:

0 commit comments

Comments
 (0)