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