Ivan Matveyev
Ivan Matveyev
I will add a test. Would it be fine if it will call only restore_yaml_comments() or you would like to call dump()?
I have been playing with the code and found out that in case of merging configuration from several sources my code fails to perform correctly. Do not incorporate it to...
This version processes "reordered" texts (e.g. a section was at the top of config_default.yaml file and dump() provides it in the bottom of it's output). Benefits: - No StopIteration exceptions....
"Indentation is not aligned." this one is regarding indentation of comments. E.g. a one-space indentation is fully valid for YAML and dump() uses 4 space indentation.