Skip to content

Commit 6de1000

Browse files
committed
Lint
1 parent 213be89 commit 6de1000

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/release/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
build_init_appdb,
3333
build_init_database,
3434
build_init_om_image,
35-
build_om_image, operator_build_configuration,
35+
build_om_image,
36+
operator_build_configuration,
3637
)
3738
from scripts.release.build_configuration import BuildConfiguration
3839

@@ -64,6 +65,7 @@ def get_builder_function_for_image_name() -> Dict[str, Callable]:
6465

6566
return image_builders
6667

68+
6769
def build_image(image_name: str, build_configuration: BuildConfiguration):
6870
"""Builds one of the supported images by its name."""
6971
get_builder_function_for_image_name()[image_name](build_configuration)

scripts/release/optimized_operator_build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def copy_into_container(client, src, dst):
2424
with open(src + ".tar", "rb") as fd:
2525
container.put_archive(os.path.dirname(dst), fd.read())
2626

27+
2728
def build_operator_image_fast(build_configuration: BuildConfiguration) -> bool:
2829
"""This function builds the operator locally and pushed into an existing
2930
Docker image. This is the fastest way I could image we can do this."""
@@ -69,7 +70,7 @@ def build_operator_image_fast(build_configuration: BuildConfiguration) -> bool:
6970
client,
7071
os.getcwd() + "/docker/mongodb-kubernetes-operator/content/mongodb-kubernetes-operator",
7172
container_name + ":" + operator_binary_location,
72-
)
73+
)
7374

7475
# Commit changes on disk as a tag
7576
container.commit(

0 commit comments

Comments
 (0)