code: def pytest_make_collect_report(
      collector: "Collector",
  ) -> "Optional[CollectReport]":
      """Perform :func:`collector.collect() <pytest.Collector.collect>` and return
      a :class:`~pytest.CollectReport`.
  
      Stops at first non-None result, see :ref:`firstresult`.
  
      :param collector:
          The collector.
      """
  
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
label_desc: Use image node_id 18 for calling a global function with example usage: pytest_make_collect_report(collector) without return types