Stop wrapping line when updating product data (#303)

This commit is contained in:
Marc Wrobel
2024-02-13 08:12:37 +01:00
committed by GitHub
parent 28da227a5e
commit ef5f26aa75

View File

@@ -178,6 +178,7 @@ class Product:
product_file.write("---\n")
yaml_frontmatter = YAML()
yaml_frontmatter.width = 4096 # prevent line-wrap
yaml_frontmatter.indent(sequence=4)
yaml_frontmatter.dump(self.data, product_file)