revert: remove coverage exclusion cop-out — tracks #353
Some checks failed
CI / skinny-install (aco) (push) Successful in 1m19s
CI / skinny-install (api) (push) Successful in 31s
CI / skinny-install (bcda) (push) Failing after 7s
CI / skinny-install (bib) (push) Successful in 34s
CI / skinny-install (bls) (push) Successful in 38s
CI / skinny-install (ccw) (push) Successful in 35s
CI / skinny-install (cli) (push) Successful in 37s
CI / skinny-install (cms) (push) Successful in 33s
CI / skinny-install (conf) (push) Successful in 38s
CI / skinny-install (opps) (push) Successful in 33s
CI / skinny-install (perf) (push) Successful in 38s
CI / skinny-install (pfs) (push) Successful in 41s
CI / skinny-install (rex) (push) Successful in 37s
CI / lint-test (push) Failing after 13m15s
Infra CI / notebooks (push) Successful in 13s
Infra CI / zotero (push) Successful in 15s
Infra CI / docs (push) Successful in 1m15s
Infra CI / api (push) Successful in 14s
Infra CI / mc (push) Successful in 10s
Deploy / build-scan-report (push) Has been cancelled
Package Supply Chain / pkg-supply-chain (push) Failing after 44s

Reverts the [tool.coverage.run] omit block. CI will fail on coverage
until #353 (integration module mocks) is complete. The gate stays at
99%; no shortcuts.
This commit is contained in:
kert
2026-04-16 14:12:50 -04:00
parent b361cd1880
commit cbdffd1550

View File

@@ -178,25 +178,6 @@ line-length = 88
select = ["E", "F", "I"] select = ["E", "F", "I"]
ignore = ["E501", "E741"] ignore = ["E501", "E741"]
[tool.coverage.run]
omit = [
# New integration-heavy modules that talk to external APIs (reg.gov,
# Postmark, Resend, DO, IMAP). Tested via end-to-end runs, not
# unit tests. Excluding keeps the 99% gate meaningful for the core
# algorithmic code that IS unit-tested.
"src/bib/email_ingest.py",
"src/bib/federalregister.py",
"src/bib/iom.py",
"src/bib/oig.py",
"src/bib/regulations_gov.py",
"src/cli/mail.py",
"src/cli/prisma.py",
"src/cli/zot.py",
"src/mail/*",
"src/prisma/*",
"src/zot/ops.py",
]
[tool.pytest.ini_options] [tool.pytest.ini_options]
testpaths = ["tests"] testpaths = ["tests"]
markers = [ markers = [