yml formatting not respected
### Rationale Adding on [#1](https://gitlab.com/vojko.pribudic.foss/pre-commit-update/-/issues/1) and [#12](https://gitlab.com/vojko.pribudic.foss/pre-commit-update/-/issues/12) i'd like to raise the issue of messed up formatting, basically indentation, again. the used library seems to be the only one i have ever seen to put the indentation after the dashes which seems to be a direct violation of the [yaml spec](https://yaml.org/spec/1.2.2/#21-collections:~:text=In%20YAML%20block%20styles%2C%20structure%20is%20determined%20by%20indentation.%20In%20general%2C%20indentation%20is%20defined%20as%20a%20zero%20or%20more%20space%20characters%20at%20the%20start%20of%20a%20line.) This results in annoying behavior, where I need to reformat the file after each library update of the pre-commit-config. Maybe switching to pyyaml or an other library could solve this problem ### Type (select one) - [ ] Bug - [x] Feature request - [ ] Suggestion ### Pre-submit criteria - [x] No similar issue/feature request/suggestion exists
issue