cloudstack
cloudstack copied to clipboard
Add yamllint pre-commit hook for YAML file standardization
Add yamllint hook to .pre-commit-config.yaml to standardize YAML files across the project. Created .yamllint.yml configuration with relaxed rules to accommodate existing files. Fixed colon spacing in .asf.yaml to pass yamllint checks.
Changes
- Add yamllint hook to
.pre-commit-config.yaml - Create
.yamllint.ymlconfiguration with relaxed rules for existing files - Fix colon spacing in
.asf.yamlto pass yamllint checks
Test plan
- [x] yamllint runs successfully on existing YAML files
- [x] Configuration allows existing files to pass with minimal changes
- [x] Fixed formatting issue in .asf.yaml
Closes #10974