TIL: Fixing YAML
I got tired of manually correcting and prettifying YAML only to run into periodic instances where my cleanup broke configurations. Alas,
yamllint tells you what's wrong but doesn't fix problems. I would rather have an easy-to-use CLI tool that does all the work for me.
Thanks to David Winterbottom for the suggestion.
Step 1: Install
pip install yamlfix
Step 2: Recursively clean up all the YAML
Tags: howto python TIL