Skip to content

Commit a0357dd

Browse files
committed
fix quotes and commas to standard
1 parent a7c130b commit a0357dd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

detect_secrets/pre_commit_hook.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,15 @@ def _print_secrets_found(secrets):
207207

208208
def _print_mitigation_suggestions():
209209
security_team = os.environ.get(
210-
"DETECT_SECRETS_SECURITY_TEAM",
211-
"in #security"
210+
'DETECT_SECRETS_SECURITY_TEAM',
211+
'in #security'
212212
)
213213
suggestions = [
214-
"For information about putting your secrets in a safer place, "
215-
"please ask " + security_team,
216-
"Mark false positives with an inline"
217-
"`pragma: allowlist secret` comment",
218-
"Commit with `--no-verify` if this is a one-time false positive",
214+
'For information about putting your secrets in a safer place, ' +
215+
'please ask ' + security_team,
216+
'Mark false positives with an inline ' +
217+
'`pragma: allowlist secret` comment',
218+
'Commit with `--no-verify` if this is a one-time false positive',
219219
]
220220

221221
wrapper = textwrap.TextWrapper(

0 commit comments

Comments
 (0)