We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 254cf26 commit 4f110d6Copy full SHA for 4f110d6
1 file changed
openrl/configs/utils.py
@@ -92,7 +92,7 @@ def __call__(self, parser, cfg, values, option_string=None):
92
93
# Write the result to a temporary file. This works on all platforms.
94
temp_fd, temp_filename = tempfile.mkstemp(suffix=".yaml")
95
- with os.fdopen(temp_fd, 'w') as temp_file:
+ with os.fdopen(temp_fd, "w") as temp_file:
96
yaml.dump(data, temp_file)
97
try:
98
# Use the default behavior of ActionConfigFile to handle the temporary file
0 commit comments