parameters: ()
return_statement: return [Repo(p) for p in paths]
docstring: Get a list of linked repos and directories to run ESLint on.
docstring_summary: Get a list of linked repos and directories to run ESLint on.
docstring_tokens: Get a list of linked repos and directories to run ESLint on .
function: def get_repos():
      """Get a list of linked repos and directories to run ESLint on.
      """
      base_dir = get_base_dir()
  
      # Get a list of modules
      # TODO: how do we filter rocks, does it matter?
      mongo_modules = moduleconfig.discover_module_directories(
                          os.path.join(base_dir, MODULE_DIR), None)
  
      paths = [os.path.join(base_dir, MODULE_DIR, m) for m in mongo_modules]
  
      paths.append(base_dir)
  
      return [Repo(p) for p in paths]
function_tokens: def get_repos ( ) : base_dir = get_base_dir ( ) # Get a list of modules # TODO: how do we filter rocks, does it matter? mongo_modules = moduleconfig . discover_module_directories ( os . path . join ( base_dir , MODULE_DIR ) , None ) paths = [ os . path . join ( base_dir , MODULE_DIR , m ) for m in mongo_modules ] paths . append ( base_dir ) return [ Repo ( p ) for p in paths ]