User Activity

  • Posted a comment on ticket #346 on ruamel.yaml

    Here's the part of the spec with text I quoted, it's in "8.2.1. Block Sequences" (https://yaml.org/spec/1.2/spec.html#id2797382): As you can see on this screenshot, the example with "Compact sequence" illustrates this behavior where the block includes the first hypen: -·- one # Compact ··- two # sequence So the block starts at column 0. It's indicated by the color, it starts from column 0 on the second line. On the first line the first hypen is not is part of the block, but part of the indendation....

  • Modified a comment on ticket #346 on ruamel.yaml

    Thanks for taking a look. Quote from the spec: The compact notation may be used when the entry is itself a nested block collection. In this case, both the “-” indicator and the following spaces are considered to be part of the indentation of the nested collection. This means that the first "-" with the following space in the line with "Boston Red Sox" should be considered as part of the block indendation. This is also illustrated by example 8.15 which indicates the whole block: -·- one # Compact...

  • Posted a comment on ticket #346 on ruamel.yaml

    Thanks for taking a look. Quote from the spec: The compact notation may be used when the entry is itself a nested block collection. In this case, both the “-” indicator and the following spaces are considered to be part of the indentation of the nested collection. This means that the first "-" with the following space in the line with "Boston Red Sox" should be considered as part of the block indendation. This is also illustrated by example 8.15 which indicated that the whole : -·- one # Compact...

  • Created ticket #346 on ruamel.yaml

    Compact sequences have extra indentation

View All

Personal Data

Username:
styurin
Joined:
2005-11-21 07:23:48

Projects

  • No projects to display.

Personal Tools

Auth0 Logo