gtristan commented on code in PR #2046:
URL: https://github.com/apache/buildstream/pull/2046#discussion_r2300324294


##########
src/buildstream/_yaml.pyx:
##########
@@ -389,6 +389,8 @@ 
yaml.RoundTripConstructor.add_constructor(u'tag:yaml.org,2002:timestamp',
 def prepare_roundtrip_yaml():
     yml = yaml.YAML()
     yml.preserve_quotes=True
+    # defaults to 80 if we don't set it
+    yml.width=9999

Review Comment:
   Have we tried a negative value here ? It would seem a value of `-1` may be 
unlimited.
   
   Otherwise `9999` seems like a perfectly sensible value.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to