[pgp] Fix ruff errors

This commit is contained in:
Philipp Hörist
2025-02-09 09:32:25 +01:00
parent 7e241d7a7d
commit f25f920036
4 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ def find_gpg():
gpg_cmd = binary + " -h >nul 2>&1"
else:
gpg_cmd = binary + " -h >/dev/null 2>&1"
if subprocess.call(gpg_cmd, shell=True):
if subprocess.call(gpg_cmd, shell=True): # noqa: S602
return False
return True