mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 20:16:53 +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_secrets.txt
Normal file
5
testing/resources/with_secrets.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#file with a secret key, you'll notice it is a section of sample_aws_credentials
|
||||
|
||||
[production]
|
||||
aws_access_key_id = AKIAVOGONSVOGONS0042
|
||||
aws_secret_access_key = z2rpgs5uit782eapz5l1z0y2lurtsyyk6hcfozlb
|
||||
Loading…
Add table
Add a link
Reference in a new issue