Upgrade ruff to 0.0.285 (#98647)

This commit is contained in:
Ville Skyttä
2023-08-19 15:17:17 +03:00
committed by GitHub
parent f318063a77
commit 3094991236
39 changed files with 109 additions and 119 deletions

View File

@@ -44,7 +44,8 @@ def run_download_docker():
"json",
"--unzip-to",
"/opt/dest",
]
],
check=False,
)
print()

View File

@@ -42,6 +42,7 @@ def run_upload_docker():
"--convert-placeholders=false",
"--replace-modified",
],
check=False,
)
print()

View File

@@ -48,7 +48,9 @@ def get_current_branch():
"""Get current branch."""
return (
subprocess.run(
["git", "rev-parse", "--abbrev-ref", "HEAD"], stdout=subprocess.PIPE
["git", "rev-parse", "--abbrev-ref", "HEAD"],
stdout=subprocess.PIPE,
check=True,
)
.stdout.decode()
.strip()