NVIDIA / GenerativeAIExamples

Generative AI reference workflows optimized for accelerated infrastructure and microservice architecture.
Apache License 2.0
2.45k stars 527 forks source link

Add yamllint CI and add yamlfmt pre-commit hook #229

Open grische opened 3 weeks ago

grische commented 3 weeks ago

This commit adds a CI for yamllint and adds a pre-commit hook for yamlfmt.

These two together will avoid issues like these https://github.com/NVIDIA/GenerativeAIExamples/pull/225

The PR also has a third commit to fix some issues on the current yaml files (like duplicate keys, invalid formatting, etc) and also applies ymlfmt on the remaining files.