clang-tidy parser and executor #26

Merged
张泊明518370910136 merged 26 commits from clang-tidy into master 2024-05-18 02:50:13 +08:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 430662daca - Show all commits

@ -1 +1 @@
Subproject commit bb8c33dc62742f7fc9f25ac91582fc4fa4ac3d5d
Subproject commit 422868c1c6427ce73e665477b40922c72ccc14e5

View File

@ -30,7 +30,7 @@ func get_score(json_messages []json_message, conf Conf) int {
}
func get_comment(json_messages []json_message) string {
res := "```\n### Test results summary\n\n"
res := "### Test results summary\n\n"
keys := [...]string{
"codequality-unchecked-malloc-result",
"codequality-no-global-variables",
@ -72,6 +72,5 @@ func get_comment(json_messages []json_message) string {
for i, key := range keys {
res = fmt.Sprintf("%s%d. %s: %d\n", res, i+1, key, mapping[key])
}
res += "```"
return res
}