code: def pytest_addoption(parser: Parser) -> None:
      parser.addoption(
          "--master-config-path",
          action="store",
          default=None,
          help="Path to master config path",
      )
      parser.addoption(
          "--master-scheme",
          action="store",
          default="http",
          help="Master scheme for integration tests",
      )
      parser.addoption(
          "--master-host",
          action="store",
          default="localhost",
          help="Master host for integration tests",
      )
      parser.addoption(
          "--master-port",
          action="store",
          default="8080",
          help="Master port for integration tests",
      )
      parser.addoption(
          "--det-version",
          action="store",
          default=None,
          help="Determined version for det deploy tests",
      )
      parser.addoption(
          "--require-secrets",
          action="store_true",
          help="fail tests when s3 access fails",
      )
      path = (
          Path(__file__)
          .parents[2]
          .joinpath(
              "deploy",
              "determined.deploy",
              "local",
              "docker-compose.yaml",
          )
      )
      parser.addoption(
          "--compose-file",
          action="store",
          default=str(path),
          help="Docker compose file",
      )
      parser.addoption(
          "--compose-project-name",
          action="store",
          default="determined",
          help="Docker compose project name",
      )
      parser.addoption(
          "--follow-local-logs",
          action="store_true",
          help="Follow local docker logs",
      )
      parser.addoption(
          "--no-compare-stats",
          action="store_true",
          help="Disable usage stats check",
      )
  
imports: import json
  import subprocess
  import time
  from pathlib import Path
  from typing import Any, Callable, Dict, Iterator, Optional, cast
  import boto3
  import pytest
  from _pytest.config.argparsing import Parser
  from _pytest.fixtures import SubRequest
  from botocore import exceptions
  from determined.experimental import client
  from tests import config
  from tests.experiment import profile_test
  from tests.nightly.compute_stats import compare_stats
  from .cluster.test_users import logged_in_user
  from .cluster_log_manager import ClusterLogManager
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types