code: def pytest_configure(config):
      config.dvc_config = DVCTestConfig()
  
      for remote_name in REMOTES:
          config.addinivalue_line(
              "markers",
              f"{remote_name}: mark test as requiring {remote_name}",
          )
  
      enabled_remotes = config.dvc_config.enabled_remotes
      if config.getoption("--all"):
          enabled_remotes.update(REMOTES)
      else:
          default_enabled = {k for k, v in REMOTES.items() if v}
          enabled_remotes.update(default_enabled)
  
      for remote_name in REMOTES:
          enabled_opt = _get_opt(remote_name, "enable")
          disabled_opt = _get_opt(remote_name, "disable")
  
          enabled = config.getoption(enabled_opt)
          disabled = config.getoption(disabled_opt)
          if disabled and enabled:
              continue  # default behavior if both flags are supplied
  
          if disabled:
              enabled_remotes.discard(remote_name)
          if enabled:
              enabled_remotes.add(remote_name)
  
imports: import json
  import os
  import sys
  from contextlib import suppress
  import pytest
  from dvc import env
  from dvc.stage import PipelineStage
  from dvc.testing.fixtures import *
  from .dir_helpers import *
  from .remotes import *
  from .scripts import *
label_desc: Use image node_id 8 for calling a global function with example usage: pytest_configure(config) without return types