From b68651067ed0afcb847b902913707854be8aa80c Mon Sep 17 00:00:00 2001 From: kodymo Date: Tue, 14 Sep 2021 11:04:13 +0200 Subject: [PATCH] Add line break after each job group to clean up formatting Job groups after the first one are indented, this is fixed by a line break Also deleted a superfluous colon --- openqa_review/openqa_review.py | 2 +- tests/todo-only/report-todo-only.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/openqa_review/openqa_review.py b/openqa_review/openqa_review.py index 34ee263..3979710 100755 --- a/openqa_review/openqa_review.py +++ b/openqa_review/openqa_review.py @@ -1464,7 +1464,7 @@ def __str__(self): if not len(generated): continue report_str += ( - "### %s:\n%s" % (k, generated) if self.args.todo_only else "# %s\n\n%s\n---\n" % (k, generated) + "### %s\n%s\n" % (k, generated) if self.args.todo_only else "# %s\n\n%s\n---\n" % (k, generated) ) return report_str diff --git a/tests/todo-only/report-todo-only.md b/tests/todo-only/report-todo-only.md index 3df8586..18987cb 100644 --- a/tests/todo-only/report-todo-only.md +++ b/tests/todo-only/report-todo-only.md @@ -1,5 +1,6 @@ **TODO: review** -### 1: +### 1 * **existing** [openqa_from_containers](https://openqa.opensuse.org/tests/1841487 "Failed modules: search") [(ref)](https://openqa.opensuse.org/tests/1840980 "Previous test") * **existing** [openqa_from_git](https://openqa.opensuse.org/tests/1841489 "Failed modules: search") [(ref)](https://openqa.opensuse.org/tests/1840982 "Previous test") +