code: def pytest_collection_modifyitems(config, items):
      def mark_skip(keyword):
          if config.getoption(f"--run{keyword}"):
              return
          skip = pytest.mark.skip(
              reason=f"need --run{keyword} option to run"
          )
          for item in items:
              if keyword in item.keywords:
                  item.add_marker(skip)
  
      mark_skip("slow")
      mark_skip("slurm")
  
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_collection_modifyitems(config, items) without return types