Open
Description
Description
yamlfix breaks volumes: ["/a:/b"]
by removing the quoting, making the list item a mapping.
It looks like this is a ruyaml bug as this happens in
yamlfix/src/yamlfix/adapters.py
Line 382 in 47039c9
Steps to reproduce
❯ yamlfix - <<<'volumes: ["/a:/b"]'
[+] YamlFix: Fixing files
[+] Fixed <stdin>
---
volumes: [/a:/b]
Current behavior
yamlfix breaks volumes: ["/a:/b"]
by removing the quoting, making the list item a mapping.
Desired behavior
Don't break the yaml on formatting
Environment
yamlfix: 1.16.0
Python: 3.10.12
Platform: Linux-6.5.0-1018-oem-x86_64-with-glibc2.35