I prefer my yml list items indented. Every time I ...
# troubleshooting
t
I prefer my yml list items indented. Every time I run a meltano command that modifies a yml all of my ymls get un-indented. Can I turn that off somehow?
r
I don't think there is a way to control how Meltano serialises the
meltano.yml
, if that's what you are asking. I have run into this a couple of times, although I generally just accept it and move on. Definitely annoying if you're doing a mix of manually editing the
meltano.yml
and running `meltano add`/`meltano config <plugin> set` often... Curious what maintainers have to say.
e
We had a issue reporting this but it fell off: https://github.com/meltano/meltano/issues/7054. I wonder if we should allow folks to configure this globally (e.g. in
~/.meltanorc
) for the things than Ruamel allows. If the file is present, we load it and read from to call
Copy code
yaml.indent(mapping=..., sequence=..., offset=...)
I don't think putting something like that in
meltano.yml
makes sense, but on the other hand this would add a new file 🤷
t
I'm fine with either solution but I would very much like that option