code: def pytest_addoption(parser: pytest.Parser):
      parser.addoption(
          "--fail-if-skipped",
          action="store_true",
          default=False,
          help="Treat skipped tests as failures.",
      )
  
      parser.addoption(
          "--ignore-requires-optional-deps",
          action="store_true",
          default=False,
          help="Ignore tests that require optional dependencies.",
      )
  
imports: import fnmatch
  import pathlib
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_addoption(parser) without return types