Skip to content

Commit 0daaf61

Browse files
Run precommit
1 parent 982c77d commit 0daaf61

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/publish_helm_chart.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ def run_command(command: list[str]):
2020
except subprocess.CalledProcessError as e:
2121
raise RuntimeError(f"Command {' '.join(command)} failed. Stderr: {e.stderr.strip()}") from e
2222
except FileNotFoundError:
23-
raise FileNotFoundError(f"Error: {command[0]} command not found. Ensure {command[0]} is installed and in your PATH.")
23+
raise FileNotFoundError(
24+
f"Error: {command[0]} command not found. Ensure {command[0]} is installed and in your PATH."
25+
)
2426

2527

2628
# update_chart_and_get_metadata updates the helm chart's Chart.yaml and sets the version
@@ -71,7 +73,6 @@ def get_oci_registry(chart_info: HelmChartInfo) -> str:
7173
if not repo:
7274
raise ValueError("Error: reposiotry doesn't seem to be set in HelmChartInfo.")
7375

74-
7576
oci_registry = f"oci://{registry}/{repo}"
7677
logger.info(f"Determined OCI Registry: {oci_registry}")
7778
return oci_registry

scripts/release/helm_registry_login.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def main():
6969
region = build_info.helm_charts["mongodb-kubernetes"].region
7070
return helm_registry_login(registry, region)
7171

72+
7273
if __name__ == "__main__":
7374
try:
7475
main()

0 commit comments

Comments
 (0)