Silence bandit paranoia on certain lines
This commit is contained in:
parent
9ebd8ff990
commit
62ec8e8b1b
3 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@ from __future__ import annotations
|
|||
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import subprocess # nosec
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
from typing import Iterable, List, Optional
|
||||
|
|
@ -62,7 +62,7 @@ def encrypt_file_binary(
|
|||
],
|
||||
capture_output=True,
|
||||
check=False,
|
||||
)
|
||||
) # nosec
|
||||
if res.returncode != 0:
|
||||
raise SopsError(
|
||||
"sops encryption failed:\n"
|
||||
|
|
@ -112,7 +112,7 @@ def decrypt_file_binary_to(
|
|||
],
|
||||
capture_output=True,
|
||||
check=False,
|
||||
)
|
||||
) # nosec
|
||||
if res.returncode != 0:
|
||||
raise SopsError(
|
||||
"sops decryption failed:\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue