code: def process(fname, allow_type):
      """Process a file."""
      fname = str(fname)
      arr = fname.rsplit(".", 1)
      if fname.find("#") != -1 or arr[-1] not in allow_type:
          return
      if arr[-1] in CXX_SUFFIX:
          _HELPER.process_cpp(fname, arr[-1])
      if arr[-1] in PYTHON_SUFFIX:
          _HELPER.process_python(fname)
  
file_path: dgl/tests/lint/lint.py
imports: from __future__ import print_function
  import argparse
  import codecs
  import os
  import re
  import sys
  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: process(fname, allow_type) without return types