# Coverage configuration for CodeFRAME

[run]
source = codeframe
omit =
    */tests/*
    */test_*.py
    */__pycache__/*
    */venv/*
    */env/*
    setup.py

[report]
# Coverage threshold: not enforced here — CI runs only -m v2 tests which cover
# v2 code paths (~88%). Legacy v1 modules drag total below threshold.
# Restore fail_under = 85 after removing legacy v1 code paths.
# fail_under = 60
precision = 2
show_missing = true
skip_covered = false

# Exclude lines from coverage
exclude_lines =
    pragma: no cover
    def __repr__
    raise AssertionError
    raise NotImplementedError
    if __name__ == .__main__.:
    if TYPE_CHECKING:
    @abstractmethod
    @abc.abstractmethod
    Protocol
    pass

[html]
directory = htmlcov

[xml]
output = coverage.xml
