mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 11:45:09 +02:00
Upgrade ruff to 0.0.285 (#98647)
This commit is contained in:
@@ -44,7 +44,8 @@ def run_download_docker():
|
||||
"json",
|
||||
"--unzip-to",
|
||||
"/opt/dest",
|
||||
]
|
||||
],
|
||||
check=False,
|
||||
)
|
||||
print()
|
||||
|
||||
|
@@ -42,6 +42,7 @@ def run_upload_docker():
|
||||
"--convert-placeholders=false",
|
||||
"--replace-modified",
|
||||
],
|
||||
check=False,
|
||||
)
|
||||
print()
|
||||
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user