From 5eff9fca759dcd2546f10919543d5b086af994f8 Mon Sep 17 00:00:00 2001 From: Nuvole Date: Wed, 23 Oct 2024 22:56:50 +0800 Subject: [PATCH] chore: trim old code --- joj3_config_generator/lib/task.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/joj3_config_generator/lib/task.py b/joj3_config_generator/lib/task.py index a5b0d36..deb3c27 100644 --- a/joj3_config_generator/lib/task.py +++ b/joj3_config_generator/lib/task.py @@ -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)