MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / _format_issue

Method _format_issue

client/tool/compass.py:46–59  ·  view source on GitHub ↗
(self, lint_result)

Source from the content-addressed store, hash-verified

44 return ["analyze"]
45
46 def _format_issue(self, lint_result):
47 issues = []
48 for i in lint_result:
49 issues.append(
50 {
51 "column": i["column"],
52 "line": i["line"],
53 "msg": i["msg"],
54 "rule": i["rule"],
55 "path": i["path"][self.relpos :],
56 "refs": [],
57 }
58 )
59 return issues
60
61
62tool = Compass

Callers 1

analyzeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected