# Coverage configuration for backend/src (pytest-cov). # Branch coverage enabled; tests target >=95% statements AND >=95% branches. [run] branch = True source = src # Test files living under src/ (src/**/__tests__/**) are excluded from the # pytest suite by design (norecursedirs in pyproject.toml) — they are test # code, not production, and must not drag the production denominator. omit = */__tests__/* */__tests__/** [report] show_missing = True skip_covered = True skip_empty = True exclude_lines = pragma: no cover if TYPE_CHECKING: if __name__ == .__main__.: raise NotImplementedError @overload