Formatting fixups
diff --git a/pre_commit_hooks/detect_aws_credentials.py b/pre_commit_hooks/detect_aws_credentials.py index a7847b9..b0826ca 100644 --- a/pre_commit_hooks/detect_aws_credentials.py +++ b/pre_commit_hooks/detect_aws_credentials.py
@@ -74,8 +74,9 @@ # naively match the entire file, low chance of incorrect # collision if key in text_body: - bad_files.append({'filename': filename, - 'key': key[:4] + '*' * 28}) + bad_files.append({ + 'filename': filename, 'key': key[:4] + '*' * 28, + }) return bad_files @@ -86,8 +87,9 @@ '--credentials-file', dest='credential_files', action='append', - default=['~/.aws/config', '~/.aws/credentials', '/etc/boto.cfg', - '~/.boto'], + default=[ + '~/.aws/config', '~/.aws/credentials', '/etc/boto.cfg', '~/.boto', + ], help=( 'Location of additional AWS credential files from which to get ' 'secret keys from'