mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 04:26:52 +00:00
add tests, test sample files and minor refactor of exit codes in actual hook in order to facilitate testing
This commit is contained in:
parent
88725503c4
commit
02e8bdc9d8
6 changed files with 66 additions and 2 deletions
5
testing/resources/with_no_secrets.txt
Normal file
5
testing/resources/with_no_secrets.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# file with an access key but no secrets
|
||||
# you'll notice it is a redacted section of sample_aws_credentials
|
||||
|
||||
[production]
|
||||
aws_access_key_id = AKIASLARTIBARTFAST11
|
||||
Loading…
Add table
Add a link
Reference in a new issue