From 8d23855286ccdce19b629d4460261dd3bd751e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Fri, 14 Jun 2024 15:19:28 +0200 Subject: [PATCH] build: upgrade `pre-commit` hooks config --- .pre-commit-config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ccf2134..38d7280 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: stages: [pre-commit] - repo: https://github.com/antonbabenko/pre-commit-terraform.git - rev: v1.88.4 + rev: v1.91.0 hooks: - id: terraform_fmt stages: [pre-commit] @@ -35,6 +35,9 @@ repos: - id: terraform_validate stages: [pre-commit] exclude: ^examples + args: + - --tf-init-args=-upgrade + - --hook-config=--retry-once-with-cleanup=true - id: terraform_tflint stages: [pre-commit] exclude: ^examples