code: def pytest_configure(config: Config) -> None:
      config.stash[old_mark_config_key] = MARK_GEN._config
      MARK_GEN._config = config
  
      empty_parameterset = config.getini(EMPTY_PARAMETERSET_OPTION)
  
      if empty_parameterset not in (
          "skip",
          "xfail",
          "fail_at_collect",
          None,
          "",
      ):
          raise UsageError(
              "{!s} must be one of skip, xfail or fail_at_collect"
              " but it is {!r}".format(
                  EMPTY_PARAMETERSET_OPTION, empty_parameterset
              )
          )
  
imports: import dataclasses
  from typing import AbstractSet
  from typing import Collection
  from typing import List
  from typing import Optional
  from typing import TYPE_CHECKING
  from typing import Union
  from .expression import Expression
  from .expression import ParseError
  from .structures import EMPTY_PARAMETERSET_OPTION
  from .structures import get_empty_parameterset_mark
  from .structures import Mark
  from .structures import MARK_GEN
  from .structures import MarkDecorator
  from .structures import MarkGenerator
  from .structures import ParameterSet
  from _pytest.config import Config
  from _pytest.config import ExitCode
  from _pytest.config import hookimpl
  from _pytest.config import UsageError
  from _pytest.config.argparsing import Parser
  from _pytest.stash import StashKey
label_desc: Use image node_id 8 for calling a global function with example usage: pytest_configure(config) without return types