MCPcopy Create free account
hub / github.com/alibaba/GraphScope / PrintCategories

Function PrintCategories

analytical_engine/misc/cpplint.py:6709–6715  ·  view source on GitHub ↗

Prints a list of all the error-categories used by error messages. These are the categories used to filter messages via --filter.

()

Source from the content-addressed store, hash-verified

6707 sys.exit(0)
6708
6709def PrintCategories():
6710 """Prints a list of all the error-categories used by error messages.
6711
6712 These are the categories used to filter messages via --filter.
6713 """
6714 sys.stderr.write(''.join(' %s\n' % cat for cat in _ERROR_CATEGORIES))
6715 sys.exit(0)
6716
6717
6718def ParseArguments(args):

Callers 1

ParseArgumentsFunction · 0.85

Calls 2

writeMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected