[run]
source = tektii
omit =
    */tests/*
    */test_*
    */__pycache__/*
    */.venv/*
    */venv/*
    */grpc/*_pb2*.py
    */migrations/*
    */conftest.py
    */setup.py

[report]
precision = 2
show_missing = True
skip_covered = False
skip_empty = True

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

    # Don't complain about missing debug-only code
    def __repr__
    def __str__

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

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

    # Don't complain about abstract methods
    @(abc\.)?abstractmethod

    # Type checking blocks
    if TYPE_CHECKING:
    if typing.TYPE_CHECKING:

[html]
directory = htmlcov

[xml]
output = coverage.xml
