code: def pytest_collection_modifyitems(
      items: "List[Item]", config: Config
  ) -> None:
      deselect_by_keyword(items, config)
      deselect_by_mark(items, config)
  
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 7 for calling a global function with example usage: pytest_collection_modifyitems(items, config) without return types