@@ -155,11 +155,10 @@ def get_base_image_steps(images: Sequence[ImageConfig]) -> list[dict]:
155155
156156 dockerfile_path = os .path .join ('oss-fuzz' , image_config .dockerfile_path )
157157 steps .append (
158- build_lib .get_docker_build_step (
159- tags ,
160- image_config .path ,
161- dockerfile_path = dockerfile_path ,
162- build_args = image_config .build_args ))
158+ build_lib .get_docker_build_step (tags ,
159+ image_config .path ,
160+ dockerfile_path = dockerfile_path ,
161+ build_args = image_config .build_args ))
163162 return steps
164163
165164
@@ -174,15 +173,19 @@ def run_build(steps: list[dict],
174173 configuration if in dry_run mode.
175174 """
176175 if dry_run :
177- print ('--------------------------------------------------------------------' )
176+ print (
177+ '--------------------------------------------------------------------' )
178178 print (f'DRY RUN FOR VERSION: { build_version } ' )
179- print ('--------------------------------------------------------------------' )
179+ print (
180+ '--------------------------------------------------------------------' )
180181 print (f'Images to push: { images_to_push } ' )
181182 print (f'Push enabled: { not no_push } ' )
182183 print ('Build steps:' )
183184 for step in steps :
184185 print (f" - { step ['name' ]} : { ' ' .join (step ['args' ])} " )
185- print ('--------------------------------------------------------------------\n ' )
186+ print (
187+ '--------------------------------------------------------------------\n '
188+ )
186189 return
187190
188191 images_for_gcb = images_to_push
@@ -230,8 +233,7 @@ def get_images_architecture_manifest_steps(target_tag: str) -> list[dict]:
230233 ]
231234 steps = []
232235 for image in images :
233- steps .extend (
234- get_image_push_architecture_manifest_steps (image , target_tag ))
236+ steps .extend (get_image_push_architecture_manifest_steps (image , target_tag ))
235237 return steps
236238
237239
@@ -292,10 +294,7 @@ def get_image_push_architecture_manifest_steps(image: str,
292294 return steps
293295
294296
295- def base_builder (event ,
296- context ,
297- dry_run : bool = False ,
298- no_push : bool = False ):
297+ def base_builder (event , context , dry_run : bool = False , no_push : bool = False ):
299298 """
300299 Cloud function entry point. Triggers parallel base image builds for each
301300 supported Ubuntu version.
@@ -325,12 +324,11 @@ def base_builder(event,
325324 ])
326325
327326 logging .info ('Triggering GCB build for version: %s' , version )
328- run_build (
329- steps ,
330- images_to_push ,
331- build_version = version ,
332- dry_run = dry_run ,
333- no_push = no_push )
327+ run_build (steps ,
328+ images_to_push ,
329+ build_version = version ,
330+ dry_run = dry_run ,
331+ no_push = no_push )
334332
335333
336334if __name__ == '__main__' :
0 commit comments