[run]
# Coverage configuration for Flight Radar Web App

# Source directories
source = .

# Omit these files from coverage
omit =
    */tests/*
    */test_*.py
    */__pycache__/*
    */venv/*
    */env/*
    */.venv/*
    */site-packages/*
    */dist-packages/*
    */airports.py
    */cache.py
    */cache_admin.py
    */date_resolver.py
    */formatter.py
    */main.py
    */progress.py
    */searcher_*.py
    setup.py

# Include only api_server.py and database files
include =
    api_server.py
    database/*.py

[report]
# Reporting options

# Precision for coverage percentage
precision = 2

# Show missing lines
show_missing = True

# Skip empty files
skip_empty = True

# Skip covered files
skip_covered = False

# Exclude lines from coverage
exclude_lines =
    # Standard pragma
    pragma: no cover

    # Don't complain about missing debug code
    def __repr__

    # 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__.:
    if TYPE_CHECKING:

    # Don't complain about abstract methods
    @abstractmethod

[html]
# HTML report options
directory = htmlcov
title = Flight Radar Web App - Test Coverage Report
