From be924b4bf617382d55cf2b42f3829779e49c8078 Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 29 Jul 2025 12:03:39 -0400 Subject: [PATCH] update pre-commit --- .pre-commit-config.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 503bd08..b24c6a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,29 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform -# rev: v1.31.0 - rev: v1.47.0 + rev: v1.83.5 hooks: # - id: terraform_validate - id: terraform_fmt - - id: terraform_docs_replace - args: ['table'] +# - id: terraform_docs_replace +# args: ['table'] # exclude: common/*.tf # exclude: version.tf +# exclude: examples + - id: terraform_docs + exclude: common/*.tf + exclude: version.tf + exclude: examples + exclude: conversion + args: + - --args=--config .terraform-docs.yml +# - id: terraform_tflint +# args: [ "--args=--config=__GIT_WORKING_DIR__/.tflint.hcl"] +# exclude: examples - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.1.0 + rev: v4.5.0 hooks: - id: check-symlinks - id: detect-aws-credentials + args: [ "--allow-missing-credentials" ] - id: detect-private-key