summaryrefslogtreecommitdiff
path: root/robusta_krr/formatters/table.py
diff options
context:
space:
mode:
authorПавел Жуков <33721692+LeaveMyYard@users.noreply.github.com>2023-05-25 21:25:47 +0300
committerПавел Жуков <33721692+LeaveMyYard@users.noreply.github.com>2023-05-25 21:25:47 +0300
commit8da544e4ca733a9dcf613c7341b75fa256dd824f (patch)
tree565cd9b5d2db8bd82246b45ae102030670304d6b /robusta_krr/formatters/table.py
parent3af322e16244d446a7d1ce244cc8e877b1b0b654 (diff)
Fix score calculation
Diffstat (limited to 'robusta_krr/formatters/table.py')
-rw-r--r--robusta_krr/formatters/table.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/robusta_krr/formatters/table.py b/robusta_krr/formatters/table.py
index 8ef1696..6faef56 100644
--- a/robusta_krr/formatters/table.py
+++ b/robusta_krr/formatters/table.py
@@ -55,8 +55,7 @@ class TableFormatter(BaseFormatter):
title=f"\n{result.description}\n" if result.description else None,
title_justify="left",
title_style="",
- # TODO: Fix points calculation at [MAIN-270]
- # caption=f"Scan result ({result.score} points)",
+ caption=f"{result.score} points - {result.score_letter}",
)
table.add_column("Number", justify="right", no_wrap=True)