Skip to content

Commit

Permalink
fix(ruff): avoid using boolean arguments on a call without naming them
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Sep 27, 2024
1 parent 83246b8 commit 012d9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph_client/commands/instance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ async def delete(
crn_url = str(info["crn_url"])
if not auto_scheduled and crn_url:
try:
status = await erase(item_hash, crn_url, private_key, private_key_file, True, debug)
status = await erase(item_hash, crn_url, private_key, private_key_file, silent=True, debug=debug)

Check warning on line 519 in src/aleph_client/commands/instance/__init__.py

View check run for this annotation

Codecov / codecov/patch

src/aleph_client/commands/instance/__init__.py#L519

Added line #L519 was not covered by tests
if status == 1:
echo(f"No associated VM on {crn_url}. Skipping...")
except Exception:
Expand Down

0 comments on commit 012d9e5

Please sign in to comment.