code: def pytest_collection_modifyitems(config, items):
      if not config.getoption("--runslow"):
          skip_slow = pytest.mark.skip(
              reason="need --runslow option to run"
          )
          for item in items:
              if "slow" in item.keywords:
                  item.add_marker(skip_slow)
      if not config.getoption("--rungpu"):
          skip_gpu = pytest.mark.skip(
              reason="need --rungpu option to run"
          )
          for item in items:
              if "gpu" in item.keywords:
                  item.add_marker(skip_gpu)
      if not config.getoption("--runovernight"):
          skip_overnight = pytest.mark.skip(
              reason="need --runovernight option to run"
          )
          for item in items:
              if "overnight" in item.keywords:
                  item.add_marker(skip_overnight)
  
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_collection_modifyitems(config, items) without return types