From 4c77db0b3134e7a9409af1907a390ab80df6b706 Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Fri, 20 Mar 2020 11:52:35 +0100 Subject: [PATCH] update pre-commit + add terragrunt fmt --- .pre-commit-config.yaml | 5 +++-- dot_git-template/.pre-commit-config.yaml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 55ac732..7e0619b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.4.0 + rev: v2.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -17,10 +17,11 @@ repos: - id: requirements-txt-fixer - id: sort-simple-yaml - repo: git://github.com/antonbabenko/pre-commit-terraform - rev: v1.25.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases + rev: v1.27.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt - id: terraform_docs + - id: terragrunt_fmt - id: terraform_tflint args: ['--deep'] - id: terraform_validate diff --git a/dot_git-template/.pre-commit-config.yaml b/dot_git-template/.pre-commit-config.yaml index 55ac732..7e0619b 100644 --- a/dot_git-template/.pre-commit-config.yaml +++ b/dot_git-template/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.4.0 + rev: v2.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -17,10 +17,11 @@ repos: - id: requirements-txt-fixer - id: sort-simple-yaml - repo: git://github.com/antonbabenko/pre-commit-terraform - rev: v1.25.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases + rev: v1.27.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt - id: terraform_docs + - id: terragrunt_fmt - id: terraform_tflint args: ['--deep'] - id: terraform_validate