code: def pytest_ignore_collect(path, config):
      """return True to prevent considering this path for collection.
      This hook is consulted for all files and directories prior to calling
      more specific hooks.
  
      Stops at first non-None result, see :ref:`firstresult`
  
      :param path: a :py:class:`py.path.local` - the path to analyze
      :param _pytest.config.Config config: pytest config object
      """
  
imports: from pluggy import HookspecMarker
  from _pytest.deprecated import PYTEST_LOGWARNING
label_desc: Use image node_id 12 for calling a global function with example usage: pytest_ignore_collect(path, config) without return types