mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
Format
This commit is contained in:
@@ -30,6 +30,8 @@ def generate_html(
|
||||
html_path = resolve_rendercv_file_path(
|
||||
rendercv_model, rendercv_model.settings.render_command.html_path
|
||||
)
|
||||
html_contents = render_html(rendercv_model, markdown_path.read_text(encoding="utf-8"))
|
||||
html_contents = render_html(
|
||||
rendercv_model, markdown_path.read_text(encoding="utf-8")
|
||||
)
|
||||
html_path.write_text(html_contents, encoding="utf-8")
|
||||
return html_path
|
||||
|
||||
@@ -200,7 +200,9 @@ def create_sample_yaml_input_file(
|
||||
yaml_locale_field = yaml_locale_part + "\n".join(below_locale_commented) + "\n"
|
||||
yaml_settings_field = settings_part + split_by_settings[1]
|
||||
|
||||
yaml_string = yaml_cv_field + yaml_design_field + yaml_locale_field + yaml_settings_field
|
||||
yaml_string = (
|
||||
yaml_cv_field + yaml_design_field + yaml_locale_field + yaml_settings_field
|
||||
)
|
||||
|
||||
if file_path is not None:
|
||||
file_path.write_text(yaml_string, encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user