code: def pytest_collect_directory(path, parent):
      """called before traversing a directory for collection files.
  
      Stops at first non-None result, see :ref:`firstresult`
  
      :param path: a :py:class:`py.path.local` - the path to analyze
      """
  
imports: from pluggy import HookspecMarker
  from _pytest.deprecated import PYTEST_LOGWARNING
label_desc: Use image node_id 13 for calling a global function with example usage: pytest_collect_directory(path, parent) without return types