code: def pytest_report_collectionfinish(  # type:ignore[empty-body]
      config: "Config",
      start_path: Path,
      startdir: "LEGACY_PATH",
      items: Sequence["Item"],
  ) -> Union[str, List[str]]:
      """Return a string or list of strings to be displayed after collection
      has finished successfully.
  
      These strings will be displayed after the standard "collected X items" message.
  
      .. versionadded:: 3.2
  
      :param config: The pytest config object.
      :param start_path: The starting dir.
      :param startdir: The starting dir (deprecated).
      :param items: List of pytest items that are going to be executed; this list should not be modified.
  
      .. note::
  
          Lines returned by a plugin are displayed before those of plugins which
          ran before it.
          If you want to have your line(s) displayed first, use
          :ref:`trylast=True <plugin-hookorder>`.
  
      .. versionchanged:: 7.0.0
          The ``start_path`` parameter was added as a :class:`pathlib.Path`
          equivalent of the ``startdir`` parameter. The ``startdir`` parameter
          has been deprecated.
      """
  
imports: from pathlib import Path
  from typing import Any
  from typing import Dict
  from typing import List
  from typing import Mapping
  from typing import Optional
  from typing import Sequence
  from typing import Tuple
  from typing import TYPE_CHECKING
  from typing import Union
  from pluggy import HookspecMarker
  from _pytest.deprecated import WARNING_CMDLINE_PREPARSE_HOOK
label_desc: Use image node_id 43 for calling a global function with example usage: pytest_report_collectionfinish(config, start_path, startdir, items) without return types