66import os
77import shlex
88from typing import Any
9- import yaml
109
1110import jsone
1211import requests
12+ import yaml
1313from taskgraph .transforms .base import TransformSequence
1414
1515from fxci_config_taskgraph .util .integration import (
@@ -121,7 +121,9 @@ def rewrite_docker_image(taskdesc: dict[str, Any]) -> None:
121121 }
122122
123123
124- def make_integration_test_description (task_def : dict [str , Any ], additional_dependencies = {}):
124+ def make_integration_test_description (
125+ task_def : dict [str , Any ], additional_dependencies = {}
126+ ):
125127 """Schedule a task on the staging Taskcluster instance.
126128
127129 Typically task_def will come from the firefox-ci instance and will be
@@ -254,7 +256,9 @@ def create_action_task(action: dict) -> dict[str, Any]:
254256 env = {}
255257 for k , v in taskdef ["payload" ]["env" ].items ():
256258 if "SENTINEL" in v :
257- env [k ] = {"task-reference" : v .replace ("SENTINEL" , "<translations-decision>" )}
259+ env [k ] = {
260+ "task-reference" : v .replace ("SENTINEL" , "<translations-decision>" )
261+ }
258262 else :
259263 env [k ] = v
260264 taskdef ["taskGroupId" ] = {"task-reference" : taskGroupId }
@@ -278,7 +282,9 @@ def schedule_tasks_at_index(config, tasks):
278282 fetches = json .loads (
279283 task_def ["payload" ].get ("env" , {}).get ("MOZ_FETCHES" , {})
280284 )
281- if any (not fetch ["artifact" ].startswith ("public" ) for fetch in fetches ):
285+ if any (
286+ not fetch ["artifact" ].startswith ("public" ) for fetch in fetches
287+ ):
282288 continue
283289
284290 yield make_integration_test_description (task_def )
0 commit comments