code: def pytest_addoption(
      parser: "Parser", pluginmanager: "PytestPluginManager"
  ) -> None:
      """Register argparse-style options and ini-style config values,
      called once at the beginning of a test run.
  
      .. note::
  
          This function should be implemented only in plugins or ``conftest.py``
          files situated at the tests root directory due to how pytest
          :ref:`discovers plugins during startup <pluginorder>`.
  
      :param pytest.Parser parser:
          To add command line options, call
          :py:func:`parser.addoption(...) <pytest.Parser.addoption>`.
          To add ini-file values call :py:func:`parser.addini(...)
          <pytest.Parser.addini>`.
  
      :param pytest.PytestPluginManager pluginmanager:
          The pytest plugin manager, which can be used to install :py:func:`hookspec`'s
          or :py:func:`hookimpl`'s and allow one plugin to call another plugin's hooks
          to change how command line options are added.
  
      Options can later be accessed through the
      :py:class:`config <pytest.Config>` object, respectively:
  
      - :py:func:`config.getoption(name) <pytest.Config.getoption>` to
        retrieve the value of a command line option.
  
      - :py:func:`config.getini(name) <pytest.Config.getini>` to retrieve
        a value read from an ini-style file.
  
      The config object is passed around on many internal objects via the ``.config``
      attribute or can be retrieved as the ``pytestconfig`` fixture.
  
      .. 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 3 for calling a global function with example usage: pytest_addoption(parser, pluginmanager) without return types