chore: trim old code

This commit is contained in:
李衍志523370910113 2024-10-23 22:56:50 +08:00
parent 1075ab5342
commit 5eff9fca75

View File

@ -21,7 +21,11 @@ def fix_keyword(task_stage: TaskStage, conf_stage: ResultStage) -> ResultStage:
def fix_comment(task_stage: TaskStage, conf_stage: ResultStage) -> ResultStage:
comment_parser = ["dummy", "result-status"]
comment_parser = [
"dummy",
"result-status",
"cpplint",
] # FIXME: determine where cpplint should be
for parser in task_stage.parsers:
if parser in comment_parser:
comment_parser_ = next(p for p in conf_stage.parsers if p.name == parser)