parameters: (eslint, infile)
return_statement: return True
docstring: Lint patch command entry point.
docstring_summary: Lint patch command entry point.
docstring_tokens: Lint patch command entry point .
function: def lint_patch(eslint, infile):
      """Lint patch command entry point."""
      files = git.get_files_to_check_from_patch(infile, is_interesting_file)
  
      # Patch may have files that we do not want to check which is fine
      if files:
          return _lint_files(eslint, files)
      return True
function_tokens: def lint_patch ( eslint , infile ) : files = git . get_files_to_check_from_patch ( infile , is_interesting_file ) # Patch may have files that we do not want to check which is fine if files : return _lint_files ( eslint , files ) return True