class_docstr: Class to help runing the lint and records summary
class_docstr_tok: ["Class","to","help","runing","the","lint","and","records","summary"]
docstr: Process a python file.
docstr_tok: ["Process","a","python","file","."]
code: def process_python(self, path):
      """Process a python file."""
      (pylint_stdout, pylint_stderr) = epylint.py_run(
          " ".join([str(path)] + self.pylint_opts), return_std=True
      )
      emap = {}
      err = pylint_stderr.read()
      if len(err):
          print(err)
      for line in pylint_stdout:
          sys.stderr.write(line)
          key = line.split(":")[-1].split("(")[0].strip()
          if key not in self.pylint_cats:
              continue
          if key not in emap:
              emap[key] = 1
          else:
              emap[key] += 1
      self.python_map[str(path)] = emap
  
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 4 for calling the LintHelper obj's underlying member method code with example usage: obj.process_python(path) without return types