Hands-on task
This task is step 2 of the course “CI/CD: pipelines and docker compose”
pre-commit config
Write /root/.pre-commit-config.yaml with one hook repository and at least one hook (structure repos: [{repo, rev, hooks: [{id}]}]). The file must be valid YAML. Write it in the Editor tab: it highlights YAML and broken indentation.
What you'll practise:
- pre-commit
- yaml config
- repos and hooks
- rev pinning
- git hooks