From ef5f26aa7585b768a6196fe000bafcf2b63e3bf1 Mon Sep 17 00:00:00 2001 From: Marc Wrobel Date: Tue, 13 Feb 2024 08:12:37 +0100 Subject: [PATCH] Stop wrapping line when updating product data (#303) --- latest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/latest.py b/latest.py index eba8af86..1493da4a 100644 --- a/latest.py +++ b/latest.py @@ -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)