cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Add yamllint pre-commit hook for YAML file standardization

Open vanzan01 opened this issue 4 months ago • 9 comments

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.yml configuration with relaxed rules for existing files
  • Fix colon spacing in .asf.yaml to 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

vanzan01 avatar Jun 12 '25 15:06 vanzan01