"""Root pytest config.

Registers the remediation_tools marker (file-remediation Phase 2 heavy
tests — need the vendored java/verapdf/opendataloader-pdf or macOS Vision;
see docs/plan-file-remediation-skill.md §8 CI story). Individual test
modules skipif when the underlying tool is absent; this only silences the
"unknown marker" warning so `pytest tests/` stays clean without a
pytest.ini.
"""

def pytest_configure(config):
    config.addinivalue_line(
        "markers",
        "remediation_tools: needs vendored java/verapdf/opendataloader-pdf or "
        "macOS Vision (file-remediation Phase 2); skipped when tools are absent.",
    )
