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

Method set_no_branch_diff_skip

client/task/codelintmodel.py:34–42  ·  view source on GitHub ↗

与对比分支无差异时,是否跳过。 适用场景:codelint类型工具跳过;codemetric类型工具不跳过。 :return:

(self, params)

Source from the content-addressed store, hash-verified

32 return CODELINT_ISSUE_IGNORE
33
34 def set_no_branch_diff_skip(self, params):
35 '''
36 与对比分支无差异时,是否跳过。
37 适用场景:codelint类型工具跳过;codemetric类型工具不跳过。
38 :return:
39 '''
40 if params.get("no_branch_diff") is True:
41 return True
42 return False

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected