code: def parse_args():
      argparser = argparse.ArgumentParser(
          "Checks for a consistent '#include' syntax"
      )
      argparser.add_argument(
          "--regex",
          type=str,
          default=r"[.](cu|cuh|h|hpp|hxx|cpp)$",
          help="Regex string to filter in sources",
      )
      argparser.add_argument(
          "--inplace",
          action="store_true",
          required=False,
          help="If set, perform the required changes inplace.",
      )
      argparser.add_argument(
          "--top_include_dirs",
          required=False,
          default="src,src_prims",
          help="comma-separated list of directories used as "
          "search dirs on build and which should not be "
          "crossed in relative includes",
      )
      argparser.add_argument(
          "dirs",
          type=str,
          nargs="*",
          help="List of dirs where to find sources",
      )
      args = argparser.parse_args()
      args.regex_compiled = re.compile(args.regex)
      return args
  
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 1 for calling a global function with example usage: parse_args() and returns: args