Skip to content

Commit 04395f4

Browse files
authored
[CI] Add official pre-commit hook detect-aws-credentials (apache#1328)
1 parent 4c9efd7 commit 04395f4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ repos:
8787
- id: debug-statements
8888
name: run debug-statements
8989
description: check for debugger imports and py37+ `breakpoint()` calls in python source.
90+
- id: detect-aws-credentials
91+
name: run detect-aws-credentials
92+
description: checks for the existence of AWS secrets that you have set up with the AWS CLI
93+
args: [--allow-missing-credentials]
9094
- id: detect-private-key
9195
name: run detect-private-key
9296
description: checks for the existence of private keys

0 commit comments

Comments
 (0)