code: def main():
      """Main entry function."""
      if len(sys.argv) < 3:
          print(
              "Usage: <project-name> <filetype> <list-of-path to traverse>"
          )
          print("\tfiletype can be python/cpp/all")
          exit(-1)
      _HELPER.project_name = sys.argv[1]
      file_type = sys.argv[2]
      allow_type = []
      if file_type == "python" or file_type == "all":
          allow_type += [x for x in PYTHON_SUFFIX]
      if file_type == "cpp" or file_type == "all":
          allow_type += [x for x in CXX_SUFFIX]
      allow_type = set(allow_type)
      if os.name != "nt":
          sys.stderr = codecs.StreamReaderWriter(
              sys.stderr,
              codecs.getreader("utf8"),
              codecs.getwriter("utf8"),
              "replace",
          )
      for path in sys.argv[3:]:
          if os.path.isfile(path):
              process(path, allow_type)
          else:
              for root, dirs, files in os.walk(path):
                  for name in files:
                      process(os.path.join(root, name), allow_type)
  
      nerr = _HELPER.print_summary(sys.stderr)
      sys.exit(nerr > 0)
  
file_path: mxnet/cpp-package/scripts/lint.py
imports: from __future__ import print_function
  import codecs
  import sys
  import re
  import os
  import cpplint
  from cpplint import _cpplint_state
  from pylint import epylint
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types