Context I am using ruamel.yaml (0.17.21) to automatically inject/update nested objects to a collection of existing YAML documents. All these documents have a maximum line length of 120 characters, enforced by a linter. I was expecting to be able to retain this formatting rule by setting the width attribute on the YAML instance. However, in practice, unbreakable words such as
Tag: ruamel.yaml
Is ‘yes’ really an alias for ‘true’ according to the YAML 1.1 spec? The 1.2 spec?
I’m trying to debug an issue, and it boils down to… There are rumors on the internet about “yes” and “no” being reserved words that are also synonyms for true and false respectively. But there is only passing mention in the 1.1 spec but no elaboration, and the string “yes” doesn’t appear in the 1.2 spec at all. In fact