def METHOD_NAME(config: Any, items: Any) -> None:
    if config.getoption("--target-aura"):
        skip_on_aura = pytest.mark.skip(reason="skipping since targeting AuraDS")
        for item in items:
            if "skip_on_aura" in item.keywords:
                item.add_marker(skip_on_aura)
    else:
        skip_not_aura = pytest.mark.skip(reason="skipping since not targeting AuraDS")
        for item in items:
            if "only_on_aura" in item.keywords:
                item.add_marker(skip_not_aura)
    if not config.getoption("--include-ogb"):
        skip_ogb_only = pytest.mark.skip(reason="need --include-ogb option to run")
        for item in items:
            if "ogb" in item.keywords:
                item.add_marker(skip_ogb_only)
    if not config.getoption("--include-enterprise"):
        skip_enterprise = pytest.mark.skip(reason="need --include-enterprise option to run")
        for item in items:
            if "enterprise" in item.keywords:
                item.add_marker(skip_enterprise)
    # `encrypted` includes marked tests and excludes everything else
    if config.getoption("--encrypted-only"):
        skip_encrypted_only = pytest.mark.skip(reason="not marked as `encrypted_only`")
        for item in items:
            if "encrypted_only" not in item.keywords:
                item.add_marker(skip_encrypted_only)
    else:
        skip_encrypted_only = pytest.mark.skip(reason="need --encrypted-only option to run")
        for item in items:
            if "encrypted_only" in item.keywords:
                item.add_marker(skip_encrypted_only)
    if not config.getoption("--include-model-store-location"):
        skip_stored_models = pytest.mark.skip(reason="need --include-model-store-location option to run")
        for item in items:
            if "model_store_location" in item.keywords:
                item.add_marker(skip_stored_models)
    # `cloud-architecture` includes marked tests and excludes everything else
    if config.getoption("--include-cloud-architecture"):
        skip_on_prem = pytest.mark.skip(reason="not marked as `cloud-architecture`")
        for item in items:
            if "cloud_architecture" not in item.keywords:
                item.add_marker(skip_on_prem)
    else:
        skip_cloud_architecture = pytest.mark.skip(reason="need --include-cloud-architecture option to run")
        for item in items:
            if "cloud_architecture" in item.keywords:
                item.add_marker(skip_cloud_architecture)
    try:
        server_version = GraphDataScience(URI, auth=AUTH)._server_version
    except Exception as e:
        print("Could not derive GDS library server version")
        raise e
    skip_incompatible_versions = pytest.mark.skip(reason=f"incompatible with GDS server version {server_version}")
    for item in items:
        for mark in item.iter_markers(name="compatible_with"):
            kwargs = mark.kwargs
            if "min_inclusive" in kwargs and kwargs["min_inclusive"] > server_version:
                item.add_marker(skip_incompatible_versions)
                continue
            if "max_exclusive" in kwargs and kwargs["max_exclusive"] <= server_version:
                item.add_marker(skip_incompatible_versions)