parameters: (check_files, dirnames)
docstring: Finds all issues in the given directories (filtered by check_files).
docstring_summary: Finds all issues in the given directories (filtered by check_files).
docstring_tokens: Finds all issues in the given directories ( filtered by check_files ) .
function: def find_issues(check_files, dirnames):
      """
      Finds all issues in the given directories (filtered by check_files).
      """
      checker = StyleGuide()
      checker.options.ignore = IGNORE_ERRORS
  
      filenames = dirnames
      if check_files is not None:
          filenames = filter_file_list(check_files, dirnames)
  
      report = checker.check_files(filenames)
  
      if report.messages:
          yield ("style issue", "python code violates pep8", None)
function_tokens: def find_issues ( check_files , dirnames ) : checker = StyleGuide ( ) checker . options . ignore = IGNORE_ERRORS filenames = dirnames if check_files is not None : filenames = filter_file_list ( check_files , dirnames ) report = checker . check_files ( filenames ) if report . messages : yield ( "style issue" , "python code violates pep8" , None )