ruff: Fix PLW1510 subprocess.run without explicit check argument.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit c43629a222)
This commit is contained in:
Anders Kaseorg
2023-08-17 15:50:03 -07:00
committed by Alex Vandiver
parent 4ac849d006
commit 47e2b07316
5 changed files with 7 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ skip_backups = subprocess.run(
["crudini", "--get", "/etc/zulip/zulip.conf", "postgresql", "skip_backups"],
capture_output=True,
text=True,
check=False,
)
if skip_backups.returncode == 0 and skip_backups.stdout.strip().lower() in [
1,