code: def pytest_addhooks(pluginmanager: "PytestPluginManager") -> None:
      """Called at plugin registration time to allow adding new hooks via a call to
      ``pluginmanager.add_hookspecs(module_or_class, prefix)``.
  
      :param pytest.PytestPluginManager pluginmanager: The pytest plugin manager.
  
      .. note::
          This hook is incompatible with ``hookwrapper=True``.
      """
  
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 1 for calling a global function with example usage: pytest_addhooks(pluginmanager) without return types