mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
pre-commit git hooks to take care of OpenTofu configurations
- Shell 86.3%
- Dockerfile 10.8%
- Python 2.9%
| .pre-commit-config.yaml | ||
| hooks.yaml | ||
| README.md | ||
| tffmthook.sh | ||
pre-commit-terraform hooks
Single pre-commit hook which runs terraform fmt on *.tf files.
An example .pre-commit-config.yaml:
- repo: git@github.com:antonbabenko/pre-commit-terraform
sha: HEAD
hooks:
- id: terraform_fmt
Enjoy the clean code!