From 89af8ccc33edd481ac00b0e8d8845217c8b5aa17 Mon Sep 17 00:00:00 2001 From: Bryce Wade Date: Mon, 23 Jan 2023 13:21:24 -0600 Subject: [PATCH] Change the way we specify file check for iam --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 7d609b3..0ab0417 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -51,7 +51,7 @@ description: checks terraform files for parseable IAM syntax. entry: check-iam language: python - types: [tf] + files: \.tf$ - id: check-shebang-scripts-are-executable name: check that scripts with shebangs are executable description: ensures that (non-binary) files with a shebang are executable.