Skip to content

Commit 2694111

Browse files
committed
fix: formatting
1 parent 3e1dadb commit 2694111

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

src/el_cl_launcher.star

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def launch(
108108
network_params.network,
109109
network_params.network_id,
110110
),
111-
"launch_method": custom_launchers["el_launcher"]["launch_method"]
111+
"launch_method": custom_launchers["el_launcher"]["launch_method"],
112112
}
113113

114114
el_builder_launchers = {
@@ -149,7 +149,7 @@ def launch(
149149
network_params.network,
150150
network_params.network_id,
151151
),
152-
"launch_method": custom_launchers["el_builder_launcher"]["launch_method"]
152+
"launch_method": custom_launchers["el_builder_launcher"]["launch_method"],
153153
}
154154

155155
cl_launchers = {
@@ -176,11 +176,9 @@ def launch(
176176
if custom_launchers and "cl_launcher" in custom_launchers:
177177
cl_launchers["custom"] = {
178178
"launcher": custom_launchers["cl_launcher"]["launcher"](
179-
deployment_output,
180-
jwt_file,
181-
network_params
179+
deployment_output, jwt_file, network_params
182180
),
183-
"launch_method": custom_launchers["cl_launcher"]["launch_method"]
181+
"launch_method": custom_launchers["cl_launcher"]["launch_method"],
184182
}
185183

186184
cl_builder_launchers = {
@@ -195,11 +193,9 @@ def launch(
195193
if custom_launchers and "cl_builder_launcher" in custom_launchers:
196194
cl_builder_launchers["custom"] = {
197195
"launcher": custom_launchers["cl_builder_launcher"]["launcher"](
198-
deployment_output,
199-
jwt_file,
200-
network_params
196+
deployment_output, jwt_file, network_params
201197
),
202-
"launch_method": custom_launchers["cl_builder_launcher"]["launch_method"]
198+
"launch_method": custom_launchers["cl_builder_launcher"]["launch_method"],
203199
}
204200

205201
sidecar_launchers = {
@@ -222,7 +218,7 @@ def launch(
222218
network_params.network,
223219
network_params.network_id,
224220
),
225-
"launch_method": custom_launchers["sidecar_launcher"]["launch_method"]
221+
"launch_method": custom_launchers["sidecar_launcher"]["launch_method"],
226222
}
227223

228224
all_cl_contexts = []

test/el_cl_launcher_test.star

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_launch_with_defaults(plan):
7373
observability_helper=observability_helper,
7474
supervisors_params=parsed_input_args.supervisors,
7575
da_server_context=da_server_context,
76-
custom_launchers=None
76+
custom_launchers=None,
7777
)
7878

7979
el_service_name = "op-el-2151908-1-op-reth-op-node-"
@@ -206,7 +206,7 @@ def test_launch_with_el_op_besu(plan):
206206
observability_helper=observability_helper,
207207
supervisors_params=parsed_input_args.supervisors,
208208
da_server_context=da_server_context,
209-
custom_launchers=None
209+
custom_launchers=None,
210210
)
211211

212212
el_service_name = "op-el-2151908-1-op-besu-op-node-"
@@ -261,6 +261,7 @@ def test_launch_with_el_op_besu(plan):
261261
],
262262
)
263263

264+
264265
def test_launch_with_custom_launcher(plan):
265266
parsed_input_args = input_parser.input_parser(
266267
plan,
@@ -313,7 +314,7 @@ def test_launch_with_custom_launcher(plan):
313314
"launcher": custom_launcher,
314315
"launch_method": custom_launch,
315316
},
316-
}
317+
},
317318
)
318319

319320
el_service_name = "custom-launcher"
@@ -324,9 +325,11 @@ def test_launch_with_custom_launcher(plan):
324325

325326
pass
326327

328+
327329
def custom_launcher(deployment_output, jwt_file, network, network_id):
328330
pass
329331

332+
330333
def custom_launch(
331334
plan,
332335
launcher,
@@ -342,9 +345,7 @@ def custom_launch(
342345
observability_helper,
343346
interop_params,
344347
):
345-
plan.add_service("custom-launcher", ServiceConfig(
346-
image = "custom-image"
347-
))
348+
plan.add_service("custom-launcher", ServiceConfig(image="custom-image"))
348349

349350
# Just some mocked data that's used in other parts of the codebase
350351
return struct(

0 commit comments

Comments
 (0)