Skip to content

Commit 748e3a3

Browse files
committed
Run black on doc builder
1 parent 7508942 commit 748e3a3

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

python/lsst/pipe/base/pipeline_graph/doc_builder.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,7 @@ def write_dot(self, task_defs: Sequence[TaskDef] | None = None) -> None:
433433
self.tasks[task_def.label].write_dot(task_def)
434434

435435
def write_rst(self, pipeline_graph: PipelineGraph) -> None:
436-
"""Write the reStructuredText files for the pipeline and its tasks.
437-
"""
436+
"""Write the reStructuredText files for the pipeline and its tasks."""
438437
with self._mkdir_and_open(self.rst_path) as buffer:
439438
buffer.write(
440439
textwrap.dedent(
@@ -455,9 +454,7 @@ def write_rst(self, pipeline_graph: PipelineGraph) -> None:
455454
)
456455
)
457456
for label in pipeline_graph.tasks:
458-
buffer.write(
459-
f" {label} <{self._relative_to_rst(self.tasks[label].rst_path)}>\n"
460-
)
457+
buffer.write(f" {label} <{self._relative_to_rst(self.tasks[label].rst_path)}>\n")
461458
buffer.write("\n")
462459
buffer.write(
463460
textwrap.dedent(
@@ -481,8 +478,7 @@ def write_rst(self, pipeline_graph: PipelineGraph) -> None:
481478
self.tasks[task_node.label].write_rst(self.name, task_node)
482479

483480
def write_configs(self, pipeline_graph: PipelineGraph) -> None:
484-
"""Write the config file for all tasks.
485-
"""
481+
"""Write the config file for all tasks."""
486482
for task_node in pipeline_graph.tasks.values():
487483
self.tasks[task_node.label].write_config(self.name, task_node)
488484

0 commit comments

Comments
 (0)