Fixed formatting issues

This commit is contained in:
richardpaulhudson 2022-05-10 09:51:37 +02:00
parent a2bd489a8c
commit 8c8b81a413
2 changed files with 18 additions and 16 deletions

View File

@ -76,7 +76,9 @@ def project_document(
if isinstance(step, str): if isinstance(step, str):
rendered_steps.append(md.code(step)) rendered_steps.append(md.code(step))
else: else:
rendered_steps.append('[' + ', '.join(md.code(p_step) for p_step in step) + ']') rendered_steps.append(
"[" + ", ".join(md.code(p_step) for p_step in step) + "]"
)
data.append([md.code(n), " → ".join(rendered_steps)]) data.append([md.code(n), " → ".join(rendered_steps)])
if data: if data:
md.add(md.title(3, "Workflows", "")) md.add(md.title(3, "Workflows", ""))