repos:
- repo: https://github.com/terraform-docs/terraform-docs
rev: "v0.16.0"
hooks:
- id: terraform-docs-go
args: ["markdown", "table", "--output-file", "README.md", "./"]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: "v1.74.1"
hooks:
- id: terraform_fmt
files are being skipped, and only when i run this manually
pre-commit run --all-files
Will the hook run, so when i run git add . && git commit -m 'whatever' it doesnt check... whats the point of that?