# Coverage.py Configuration for NordaBiz
# =======================================

[run]
# Source directories to measure
source = .

# Omit these from coverage
omit =
    tests/*
    venv/*
    .venv/*
    scripts/*
    */migrations/*
    */__pycache__/*
    .auto-claude/*
    setup.py

# Branch coverage
branch = True

# Parallel mode for multi-process
parallel = True

[report]
# Minimum coverage percentage (start with 10%, increase to 80% over time)
fail_under = 10

# Exclude these lines from coverage
exclude_lines =
    # Have to re-enable the standard pragma
    pragma: no cover

    # Don't complain about missing debug-only code
    def __repr__
    if self\.debug

    # Don't complain if tests don't hit defensive assertions
    raise AssertionError
    raise NotImplementedError

    # Don't complain if non-runnable code isn't run
    if 0:
    if __name__ == .__main__.:

    # Don't complain about abstract methods
    @abstractmethod

# Show missing lines
show_missing = True

# Output precision
precision = 2

[html]
# HTML report directory
directory = tests/coverage_html

# Title
title = NordaBiz Coverage Report
