pre-commit git hooks to take care of OpenTofu configurations
  • Shell 86.3%
  • Dockerfile 10.8%
  • Python 2.9%
Find a file
2017-06-08 11:02:21 +02:00
.pre-commit-config.yaml Ready, probably :) 2016-09-27 21:17:19 +02:00
.pre-commit-hooks.yaml Renamed shell script file to the correct one 2017-06-08 11:02:21 +02:00
hooks.yaml Renamed shell script file to the correct one 2017-06-08 11:02:21 +02:00
README.md Updated sha in README 2017-06-08 10:30:39 +02:00
terraform_fmt.sh Renamed shell script file to the correct one 2017-06-08 11:02:21 +02:00

pre-commit-terraform hook

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: v1.2.0
    hooks:
      -   id: terraform_fmt

Enjoy the clean code!