commit 8c94ec52dfb079762c91005f7962c3846b0363ae
parent 4da439adf9961e21a7bc3b241ce30b85357f57dd
Author: Andrew Halberstadt <ahal@mozilla.com>
Date: Wed, 29 Oct 2025 18:28:06 +0000
Bug 1980436 - Format taskcluster/gecko_taskgraph/main.py, r=taskgraph-reviewers,bhearsum
Adding here to keep future commits clean.
Differential Revision: https://phabricator.services.mozilla.com/D260144
Diffstat:
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/taskcluster/gecko_taskgraph/main.py b/taskcluster/gecko_taskgraph/main.py
@@ -145,7 +145,7 @@ FORMAT_METHODS["yaml"] = format_taskgraph_yaml
"--tasks-regex",
"--tasks",
default=None,
- help="only return tasks with labels matching this regular " "expression.",
+ help="only return tasks with labels matching this regular expression.",
)
@argument(
"--exclude-key",
@@ -379,8 +379,7 @@ def show_taskgraph(options):
if options["format"] != "json":
print(
- "If you were expecting differences in task bodies "
- 'you should pass "-J"\n',
+ 'If you were expecting differences in task bodies you should pass "-J"\n',
file=sys.stderr,
)
@@ -415,8 +414,7 @@ def build_image(args):
)
@argument(
"--task-id",
- help="Load the image at public/image.tar.zst in this task, "
- "rather than searching the index",
+ help="Load the image at public/image.tar.zst in this task, rather than searching the index",
)
@argument(
"-t",
@@ -453,8 +451,7 @@ def load_image(args):
@command("image-digest", help="Print the digest of a docker image.")
@argument(
"image_name",
- help="Print the digest of the image of this name based on the current "
- "contents of the tree.",
+ help="Print the digest of the image of this name based on the current contents of the tree.",
)
def image_digest(args):
from taskgraph.docker import get_image_digest
@@ -572,7 +569,7 @@ def action_callback(options):
"--parameters",
"-p",
default="",
- help="parameters file (.yml or .json; see " "`taskcluster/docs/parameters.rst`)`",
+ help="parameters file (.yml or .json; see `taskcluster/docs/parameters.rst`)`",
)
@argument("--task-id", default=None, help="TaskId to which the action applies")
@argument(