parameters: ()
return_statement: return valid_files
docstring: Get a list of files that need to be checked
         based on which files are managed by git.
docstring_summary: Get a list of files that need to be checked
         based on which files are managed by git.
docstring_tokens: Get a list of files that need to be checked based on which files are managed by git .
function: def get_files_to_check():
      """Get a list of files that need to be checked
         based on which files are managed by git.
      """
      repos = get_repos()
  
      valid_files = list(itertools.chain.from_iterable([r.get_candidates(None) for r in repos]))
  
      return valid_files
function_tokens: def get_files_to_check ( ) : repos = get_repos ( ) valid_files = list ( itertools . chain . from_iterable ( [ r . get_candidates ( None ) for r in repos ] ) ) return valid_files