MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / main

Function main

rtpose_wrapper/scripts/cpp_lint.py:4849–4864  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4847
4848
4849def main():
4850 filenames = ParseArguments(sys.argv[1:])
4851
4852 # Change stderr to write with replacement characters so we don't die
4853 # if we try to print something containing non-ASCII characters.
4854 sys.stderr = codecs.StreamReaderWriter(sys.stderr,
4855 codecs.getreader('utf8'),
4856 codecs.getwriter('utf8'),
4857 'replace')
4858
4859 _cpplint_state.ResetErrorCounts()
4860 for filename in filenames:
4861 ProcessFile(filename, _cpplint_state.verbose_level)
4862 _cpplint_state.PrintErrorCounts()
4863
4864 sys.exit(_cpplint_state.error_count > 0)
4865
4866
4867if __name__ == '__main__':

Callers 1

cpp_lint.pyFile · 0.70

Calls 4

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

Tested by

no test coverage detected