From a7aa982920a78dcfeddce471ccb2e4b459a948bc Mon Sep 17 00:00:00 2001 From: Barry Morrison <689591+esacteksab@users.noreply.github.com> Date: Sat, 11 Jan 2025 11:44:09 -0600 Subject: [PATCH] fix: exclude LICENSE from terraform_docs --- .pre-commit-config.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca61b06..71b4f2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,6 +26,7 @@ repos: - id: terraform_docs args: - --args=--config=.terraform-docs.yml - - --hook-config=--path-to-file=README.md - - --hook-config=--add-to-existing-file=true - - --hook-config=--create-file-if-not-exist=true + exclude: | + (?x)^( + LICENSE + )$