From c563fda081952b579272097c99d88bc1178c1e62 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 28 May 2024 15:40:15 +1000 Subject: [PATCH] Add two more `pre-commit` hooks (#9077) https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#detect-aws-credentials https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#forbid-submodules --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9004ed9daee..4a5cc3ae716 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,6 +36,8 @@ repos: - id: check-vcs-permalinks #- id: check-yaml - id: destroyed-symlinks + - id: detect-aws-credentials + args: [--allow-missing-credentials] - id: detect-private-key exclude: > (?x) @@ -53,6 +55,7 @@ repos: - id: end-of-file-fixer exclude: \.vhd$ #- id: fix-byte-order-marker + - id: forbid-submodules - id: mixed-line-ending exclude: \.(cs|xml)$ # - id: trailing-whitespace