MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / __init__

Method __init__

client/task/basic/datahandler/issueignore.py:65–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 """
64
65 def __init__(self):
66 self._ignore_prefix = "NOCA"
67 each_rule_pattern = r"([\w\.\-/]+)\s*\(([^\)]+)\)"
68 self._noca_pattern = re.compile(r"\bNOCA\s*:\s*" + each_rule_pattern + r"(,\s*" + each_rule_pattern + r")*")
69 self._rule_pattern = re.compile(each_rule_pattern)
70
71 def scan_file(self, source_dir, fileissue):
72 """

Callers 1

__init__Method · 0.45

Calls 1

compileMethod · 0.45

Tested by

no test coverage detected