MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / main

Function main

engine/3rdparty/tinyobjloader/deps/cpplint.py:6304–6319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6302
6303
6304def main():
6305 filenames = ParseArguments(sys.argv[1:])
6306
6307 # Change stderr to write with replacement characters so we don't die
6308 # if we try to print something containing non-ASCII characters.
6309 sys.stderr = codecs.StreamReaderWriter(sys.stderr,
6310 codecs.getreader('utf8'),
6311 codecs.getwriter('utf8'),
6312 'replace')
6313
6314 _cpplint_state.ResetErrorCounts()
6315 for filename in filenames:
6316 ProcessFile(filename, _cpplint_state.verbose_level)
6317 _cpplint_state.PrintErrorCounts()
6318
6319 sys.exit(_cpplint_state.error_count > 0)
6320
6321
6322if __name__ == '__main__':

Callers 1

cpplint.pyFile · 0.70

Calls 4

ParseArgumentsFunction · 0.85
ProcessFileFunction · 0.85
ResetErrorCountsMethod · 0.80
PrintErrorCountsMethod · 0.80

Tested by

no test coverage detected