mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 20:14:15 +00:00
refactor(yaml): run code formatter
This commit is contained in:
1 parent
79b48a3730
commit
0153af8283
19 files changed
+70
-58
No files matched your search
@@ -45,7 +45,8 @@ for filename in Path(I18N_PATH).glob("*.yaml"):
|
||||
|
||||
# Write the synced language pack to file.
|
||||
with open(i18n_file, 'w') as f:
|
||||
yaml.dump(tmp_map, f, allow_unicode=True, width=float("inf")) # PyYAML will break lines unless a large column width is set.
|
||||
# PyYAML will break lines unless a large column `width` is set.
|
||||
yaml.dump(tmp_map, f, allow_unicode=True, width=float("inf"), default_style='\'')
|
||||
cnt += 1
|
||||
|
||||
# Print results.
|
||||
|
||||
Reference in new issue
Block a user