chore: trim old code
This commit is contained in:
parent
66baf3c7a5
commit
eaa7822763
|
@ -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)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"/<function",
|
||||
"get_temp_directory",
|
||||
"at",
|
||||
"0x7fbd328431a0>/repo-health-checker",
|
||||
"0x7ff2358271a0>/repo-health-checker",
|
||||
"-root=.",
|
||||
"-repoSize=50.5",
|
||||
"-meta=main.py",
|
||||
|
@ -71,8 +71,8 @@
|
|||
"cpuRateLimit": 0,
|
||||
"cpuSetLimit": "",
|
||||
"copyIn": {
|
||||
"//tmp/repo-checker-04l9les6/repo-health-checker": {
|
||||
"src": "//tmp/repo-checker-_34sofm5/repo-health-checker",
|
||||
"//tmp/repo-checker-3qi07atp/repo-health-checker": {
|
||||
"src": "//tmp/repo-checker-ebujap5a/repo-health-checker",
|
||||
"content": null,
|
||||
"fileId": null,
|
||||
"name": null,
|
||||
|
@ -775,7 +775,18 @@
|
|||
"parsers": [
|
||||
{
|
||||
"name": "cpplint",
|
||||
"with": {}
|
||||
"with": {
|
||||
"keyword": [
|
||||
"runtime",
|
||||
"readability",
|
||||
"build"
|
||||
],
|
||||
"weight": [
|
||||
10,
|
||||
20,
|
||||
15
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "dummy",
|
||||
|
|
Loading…
Reference in New Issue
Block a user