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


##########
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:
   This is the actual code:
   ```
           self.best_width = 80
           if width and width > self.best_sequence_indent * 2:
               self.best_width = width
   ```
   
   There is no provision for negative values.



-- 
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