Skip to content

Commit

Permalink
line-length 80
Browse files Browse the repository at this point in the history
  • Loading branch information
tburgin committed May 6, 2024
1 parent 0f31041 commit 9810d59
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pyink-config
@@ -1,5 +1,5 @@
[tool.pyink]
pyink = true
line-length = 88
line-length = 80
pyink-indentation = 2
pyink-use-majority-quotes = true
4 changes: 3 additions & 1 deletion Testing/integration/actions/start_vm.py
Expand Up @@ -18,7 +18,9 @@
parser = argparse.ArgumentParser(description="Start E2E VM")
# This is redundant, but kept to keep consistency with update_vm.py
parser.add_argument("--vm", help="VM tar.gz. name", required=True)
parser.add_argument("--vmcli", help="Path to VMCLI binary", default="/opt/bin/VMCLI")
parser.add_argument(
"--vmcli", help="Path to VMCLI binary", default="/opt/bin/VMCLI"
)
args = parser.parse_args()

if not args.vm.endswith(".tar.gz"):
Expand Down
8 changes: 6 additions & 2 deletions Testing/integration/actions/update_vm.py
Expand Up @@ -51,7 +51,9 @@
if blob.updated > datetime.datetime.fromtimestamp(
local_ctime, tz=datetime.timezone.utc
):
logging.info(f"VM {extracted_path} not present or not up to date, downloading...")
logging.info(
f"VM {extracted_path} not present or not up to date, downloading..."
)

# Remove the old version of the image if present
try:
Expand Down Expand Up @@ -97,5 +99,7 @@
)

logging.info("Extracting...")
subprocess.check_output(["tar", "-C", VMS_DIR, "-x", "-S", "-z", "-f", tar_path])
subprocess.check_output(
["tar", "-C", VMS_DIR, "-x", "-S", "-z", "-f", tar_path]
)
tar_path.unlink()

0 comments on commit 9810d59

Please sign in to comment.