From 7c9a389abf1ca1e6677d5f384056f8b90abdc8c0 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Mon, 26 Feb 2024 09:27:13 +0200 Subject: [PATCH] review formatting --- pr_agent/algo/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index c850c7fd..09a6a39b 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -51,7 +51,7 @@ def convert_to_markdown(output_data: dict, gfm_supported: bool=True) -> str: markdown_text += f"## PR Review\n\n" if gfm_supported: markdown_text += "\n\n" - markdown_text += """""" + # markdown_text += """""" if not output_data or not output_data.get('review', {}): return "" @@ -62,6 +62,8 @@ def convert_to_markdown(output_data: dict, gfm_supported: bool=True) -> str: key_nice = key.replace('_', ' ').capitalize() emoji = emojis.get(key_nice, "") if gfm_supported: + if 'Estimated effort to review' in key_nice: + key_nice = 'Estimated effort to review [1-5]' if 'possible issues' in key_nice.lower(): value = value.strip() issues = value.split('\n- ')
     PR feedback                     
      Feedback