Add Pre-Commit

This commit is contained in:
Alexander Hosking 2021-10-14 13:57:46 -04:00
parent 5f9566a2ac
commit c75d9d9000

View File

@ -1,9 +1,9 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks # - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0 # Use the ref you want to point at # rev: v3.1.0 # Use the ref you want to point at
hooks: # hooks:
- id: detect-aws-credentials # - id: detect-aws-credentials
- id: detect-private-key # - id: detect-private-key
- repo: local - repo: local
hooks: hooks:
- id: terraform-fmt - id: terraform-fmt