code: def pytest_addoption(parser):
      group = parser.getgroup("general")
      group.addoption(
          "--runxfail",
          action="store_true",
          dest="runxfail",
          default=False,
          help="report the results of xfail tests as if they were not marked",
      )
  
      parser.addini(
          "xfail_strict",
          "default for the strict parameter of xfail "
          "markers when not given explicitly (default: False)",
          default=False,
          type="bool",
      )
  
file_path: catboost/contrib/python/pytest/py2/_pytest/skipping.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from _pytest.config import hookimpl
  from _pytest.mark.evaluate import MarkEvaluator
  from _pytest.outcomes import fail
  from _pytest.outcomes import skip
  from _pytest.outcomes import xfail
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types