Skip to content

Commit ae81007

Browse files
style: pre-commit.ci auto fixes [...]
1 parent 772cbc8 commit ae81007

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

taskcluster/fxci_config_taskgraph/util/integration.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
import requests
99
import taskcluster
10-
from taskgraph.util.taskcluster import get_ancestors
11-
from taskgraph.util.taskcluster import logging
10+
from taskgraph.util.taskcluster import get_ancestors, logging
1211

1312
FIREFOXCI_ROOT_URL = "https://firefox-ci-tc.services.mozilla.com"
1413
STAGING_ROOT_URL = "https://stage.taskcluster.nonprod.cloudops.mozgcp.net"
@@ -21,7 +20,9 @@ def get_taskcluster_client(service: str):
2120

2221

2322
@cache
24-
def find_tasks(decision_index_path: str, include_deps: bool = False) -> list[dict[str, Any]]:
23+
def find_tasks(
24+
decision_index_path: str, include_deps: bool = False
25+
) -> list[dict[str, Any]]:
2526
"""Find tasks targeted by the Decision task pointed to by `decision_index_path`."""
2627
queue = get_taskcluster_client("queue")
2728
index = get_taskcluster_client("index")
@@ -57,6 +58,7 @@ def find_tasks(decision_index_path: str, include_deps: bool = False) -> list[dic
5758
logging.info("including deps")
5859
# TODO: remove hack
5960
import os
61+
6062
orig = os.environ["TASKCLUSTER_ROOT_URL"]
6163
os.environ["TASKCLUSTER_ROOT_URL"] = FIREFOXCI_ROOT_URL
6264
logging.info(f"fetching ancestors for {task['task_id']}")

0 commit comments

Comments
 (0)