Skip to content

Commit b7f92dc

Browse files
committed
fix: formatting
1 parent 2e3a87f commit b7f92dc

3 files changed

Lines changed: 15 additions & 18 deletions

File tree

main.star

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def run(plan, args={}, custom_launchers=None):
120120
persistent,
121121
observability_helper,
122122
interop_params,
123-
custom_launchers
123+
custom_launchers,
124124
)
125125
)
126126

src/el_cl_launcher.star

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def launch(
104104
network_params.network,
105105
network_params.network_id,
106106
),
107-
"launch_method": custom_launchers["el_launcher"]["launch_method"]
107+
"launch_method": custom_launchers["el_launcher"]["launch_method"],
108108
}
109109

110110
el_builder_launchers = {
@@ -145,7 +145,7 @@ def launch(
145145
network_params.network,
146146
network_params.network_id,
147147
),
148-
"launch_method": custom_launchers["el_builder_launcher"]["launch_method"]
148+
"launch_method": custom_launchers["el_builder_launcher"]["launch_method"],
149149
}
150150

151151
cl_launchers = {
@@ -166,11 +166,9 @@ def launch(
166166
if custom_launchers and "cl_launcher" in custom_launchers:
167167
cl_launchers["custom"] = {
168168
"launcher": custom_launchers["cl_launcher"]["launcher"](
169-
deployment_output,
170-
jwt_file,
171-
network_params
169+
deployment_output, jwt_file, network_params
172170
),
173-
"launch_method": custom_launchers["cl_launcher"]["launch_method"]
171+
"launch_method": custom_launchers["cl_launcher"]["launch_method"],
174172
}
175173

176174
cl_builder_launchers = {
@@ -185,11 +183,9 @@ def launch(
185183
if custom_launchers and "cl_builder_launcher" in custom_launchers:
186184
cl_builder_launchers["custom"] = {
187185
"launcher": custom_launchers["cl_builder_launcher"]["launcher"](
188-
deployment_output,
189-
jwt_file,
190-
network_params
186+
deployment_output, jwt_file, network_params
191187
),
192-
"launch_method": custom_launchers["cl_builder_launcher"]["launch_method"]
188+
"launch_method": custom_launchers["cl_builder_launcher"]["launch_method"],
193189
}
194190

195191
sidecar_launchers = {
@@ -212,7 +208,7 @@ def launch(
212208
network_params.network,
213209
network_params.network_id,
214210
),
215-
"launch_method": custom_launchers["sidecar_launcher"]["launch_method"]
211+
"launch_method": custom_launchers["sidecar_launcher"]["launch_method"],
216212
}
217213

218214
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
interop_params=parsed_input_args.interop,
7575
da_server_context=da_server_context,
76-
custom_launchers=None
76+
custom_launchers=None,
7777
)
7878

7979
el_service_name = "op-el-1-op-reth-op-node-"
@@ -204,7 +204,7 @@ def test_launch_with_el_op_besu(plan):
204204
observability_helper=observability_helper,
205205
interop_params=parsed_input_args.interop,
206206
da_server_context=da_server_context,
207-
custom_launchers=None
207+
custom_launchers=None,
208208
)
209209

210210
el_service_name = "op-el-1-op-besu-op-node-"
@@ -259,6 +259,7 @@ def test_launch_with_el_op_besu(plan):
259259
],
260260
)
261261

262+
262263
def test_launch_with_custom_launcher(plan):
263264
parsed_input_args = input_parser.input_parser(
264265
plan,
@@ -311,7 +312,7 @@ def test_launch_with_custom_launcher(plan):
311312
"launcher": custom_launcher,
312313
"launch_method": custom_launch,
313314
},
314-
}
315+
},
315316
)
316317

317318
el_service_name = "custom-launcher"
@@ -322,9 +323,11 @@ def test_launch_with_custom_launcher(plan):
322323

323324
pass
324325

326+
325327
def custom_launcher(deployment_output, jwt_file, network, network_id):
326328
pass
327329

330+
328331
def custom_launch(
329332
plan,
330333
launcher,
@@ -340,9 +343,7 @@ def custom_launch(
340343
observability_helper,
341344
interop_params,
342345
):
343-
plan.add_service("custom-launcher", ServiceConfig(
344-
image = "custom-image"
345-
))
346+
plan.add_service("custom-launcher", ServiceConfig(image="custom-image"))
346347

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

0 commit comments

Comments
 (0)