From c6d0bacc089057a7dca3201e7a7ec431f831f751 Mon Sep 17 00:00:00 2001 From: zmeir Date: Thu, 27 Jul 2023 17:31:31 +0300 Subject: [PATCH] Match styling of both /describe modes --- pr_agent/tools/pr_description.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/tools/pr_description.py b/pr_agent/tools/pr_description.py index 97585620..d0f0c9ee 100644 --- a/pr_agent/tools/pr_description.py +++ b/pr_agent/tools/pr_description.py @@ -160,11 +160,11 @@ class PRDescription: # Iterate over the remaining dictionary items and append the key and value to 'pr_body' in a markdown format, # except for the items containing the word 'walkthrough' for key, value in data.items(): - pr_body += f"{key}:\n" + pr_body += f"## {key}:\n" if 'walkthrough' in key.lower(): pr_body += f"{value}\n" else: - pr_body += f"**{value}**\n\n___\n" + pr_body += f"{value}\n\n___\n" if settings.config.verbosity_level >= 2: logging.info(f"title:\n{title}\n{pr_body}")