MCPcopy Create free account
hub / github.com/apache/storm / getCheckstyleFor

Function getCheckstyleFor

dev-tools/find-checkstyle-issues.py:20–25  ·  view source on GitHub ↗
(f, check_result)

Source from the content-addressed store, hash-verified

18
19
20def getCheckstyleFor(f, check_result):
21 f = os.path.abspath(f)
22 check_result = os.path.abspath(check_result)
23 ret = subprocess.check_output(['xsltproc', '--stringparam', 'target', f, './dev-tools/checkstyle.xslt', check_result])
24 if not ret.isspace():
25 print(ret)
26
27
28def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected