code: def _get_buildout_script_paths(search_path):
      """
      if there is a 'buildout.cfg' file in one of the parent directories of the
      given module it will return a list of all files in the buildout bin
      directory that look like python files.
  
      :param search_path: absolute path to the module.
      :type search_path: str
      """
      project_root = _get_parent_dir_with_file(
          search_path, "buildout.cfg"
      )
      if not project_root:
          return
      bin_path = os.path.join(project_root, "bin")
      if not os.path.exists(bin_path):
          return
  
      for filename in os.listdir(bin_path):
          try:
              filepath = os.path.join(bin_path, filename)
              with open(filepath, "r") as f:
                  firstline = f.readline()
                  if (
                      firstline.startswith("#!")
                      and "python" in firstline
                  ):
                      yield filepath
          except (UnicodeDecodeError, IOError) as e:
              # Probably a binary file; permission error or race cond. because
              # file got deleted. Ignore it.
              debug.warning(unicode(e))
              continue
  
file_path: catboost/contrib/python/jedi/py3/jedi/evaluate/sys_path.py
imports: import os
  from jedi._compatibility import unicode, force_unicode, all_suffixes
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi.evaluate.base_context import ContextualizedNode
  from jedi.evaluate.helpers import is_string
  from jedi.common.utils import traverse_parents
  from jedi.parser_utils import get_cached_code_lines
  from jedi import settings
  from jedi import debug
label_desc: Use image node_id 8 for calling a global function with example usage: _get_buildout_script_paths(search_path) without return types