Skip to content

Commit 1ea7243

Browse files
style: pre-commit.ci auto fixes [...]
1 parent c8972d7 commit 1ea7243

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

taskcluster/fxci_config_taskgraph/transforms/integration_test.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
import os
77
import shlex
88
from typing import Any
9-
import yaml
109

1110
import jsone
1211
import requests
12+
import yaml
1313
from taskgraph.transforms.base import TransformSequence
1414

1515
from 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

Comments
 (0)