# The API's coverage floor (Redmine #4267). CI runs the suite under pytest-cov (`pytest --cov`
# in .github/workflows/ci-apps.yml) and the api job fails when the total drops below
# fail_under. Set at 94 when the suite measured 95.4% (16,131 of 16,915 statements, 30 Sep
# 2026): the margin absorbs what differs between machines, such as tests that need Docker or
# the PDF libraries. Raise it as coverage grows; never lower it to let a pull request through.
[run]
source = .
omit =
    tests/*
    */migrations/*
    manage.py

[report]
fail_under = 94
precision = 1
skip_covered = true
