code: def main():
      args = parse_args()
      top_inc_dirs = args.top_include_dirs.split(",")
      all_files = list_all_source_file(args.regex_compiled, args.dirs)
      all_issues: typing.List[Issue] = []
      errs: typing.List[Issue] = []
  
      for f in all_files:
          issues = check_includes_in(f, args.inplace, top_inc_dirs)
  
          all_issues += issues
  
      for i in all_issues:
          if i.is_error and not i.was_fixed:
              errs.append(i)
          else:
              print(i.get_msg_str())
  
      if len(errs) == 0:
          print("include-check PASSED")
      else:
          print("include-check FAILED! See below for errors...")
          for err in errs:
              print(err.get_msg_str())
  
          path_parts = os.path.abspath(__file__).split(os.sep)
          print(
              "You can run '{} --inplace' to bulk fix these errors".format(
                  os.sep.join(path_parts[path_parts.index("cpp") :])
              )
          )
          sys.exit(-1)
      return
  
file_path: cuml/cpp/scripts/include_checker.py
imports: from __future__ import print_function
  import sys
  import re
  import os
  import argparse
  import io
  from functools import reduce
  import operator
  import dataclasses
  import typing
label_desc: Use image node_id 8 for calling a global function with example usage: main() without return types