Skip to content

Commit fe89b7e

Browse files
committed
lint!
1 parent 07cef9c commit fe89b7e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

add_to_pydotorg.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,16 +423,21 @@ def has_sigstore_signature(filename: str) -> bool:
423423

424424
if os.path.exists(filename_sigstore):
425425
run_cmd(
426-
sigstore_verify_argv
427-
+ ["--bundle", filename_sigstore, filename],
426+
sigstore_verify_argv + ["--bundle", filename_sigstore, filename],
428427
stderr=subprocess.STDOUT, # Sigstore sends stderr on success.
429428
)
430429

431430
# We use an 'or' here to error out if one of the files is missing.
432431
if os.path.exists(filename_sig) or os.path.exists(filename_crt):
433432
run_cmd(
434433
sigstore_verify_argv
435-
+ ["--certificate", filename_crt, "--signature", filename_sig, filename],
434+
+ [
435+
"--certificate",
436+
filename_crt,
437+
"--signature",
438+
filename_sig,
439+
filename,
440+
],
436441
stderr=subprocess.STDOUT, # Sigstore sends stderr on success.
437442
)
438443

0 commit comments

Comments
 (0)