Skip to content

Commit

Permalink
chore(ruff): fix PLW1510 subprocess.run without explicit check ar…
Browse files Browse the repository at this point in the history
…gument
  • Loading branch information
vlaci committed Sep 20, 2023
1 parent e96f769 commit 083c5d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-vendored-nix-dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ def create_pr(
def update_dependencies():
with NamedTemporaryFile() as log:
subprocess.run(
["nvfetcher", "--build-dir", "nix/_sources", "--changelog", log.name]
["nvfetcher", "--build-dir", "nix/_sources", "--changelog", log.name],
check=True,
)
return Path(log.name).read_text()

Expand Down
1 change: 1 addition & 0 deletions unblob/extractors/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def no_op():
stdout=stdout_file,
stderr=subprocess.PIPE,
timeout=COMMAND_TIMEOUT,
check=False,
)
if res.returncode != 0:
error_report = ExtractCommandFailedReport(
Expand Down

0 comments on commit 083c5d3

Please sign in to comment.