• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

w-martin / typedframes / 31160335833
100%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2026 08:10AM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 08:06AM UTC coverage: 100.0%. Remained the same
31160335833

push

github

web-flow
Add opt-in DataFrame schema coverage threshold and per-path overrides (1/2) (#49)

* Add opt-in DataFrame coverage threshold and per-path overrides

`typedframes check` already computed a DataFrame coverage ratio, but only ever
reported it as informational -- there was no way to enforce a minimum. Add an
opt-in gate that fails the run when too few DataFrames have recognized
column/schema info.

Enforcement is entirely opt-in: with no `[tool.typedframes.coverage]` table and
no `--fail-under`, no threshold is evaluated and output and exit codes are
identical to before. A regression test asserts byte-identical stdout with and
without a `[tool.typedframes]` table present.

Configuration comes from `[tool.typedframes.coverage]` in pyproject.toml or a
standalone typedframes.toml at the project root. Following ruff's precedence
rule, typedframes.toml wins entirely rather than merging, so exactly one file
always explains the whole configuration.

Per-path overrides let legacy code be held to a lower bar than new code. Each
glob is graded on its own files as a separate group, so a lenient legacy bucket
cannot drag down or rescue the rest of the project. Where several globs match
one file the most specific wins -- longest literal prefix before the first glob
metacharacter. Glob matching is hand-rolled because `PurePath.full_match` needs
Python 3.13 (this package supports 3.11) and `pathspec` would be the first
runtime dependency in a package that deliberately has none.

Resolving the issue's two open questions:

- Coverage is a gate separate from `--strict`. `--strict` judges correctness
  (are there errors?); a threshold judges annotation completeness (how much
  could the checker see?). Enabling one never implies the other.
- Path overrides resolve most-specific-match-wins rather than first-match, so
  ordering in the config table cannot change the outcome.

`--fail-under=N` is a total override: one threshold everywhere, ignoring the
config table including pe... (continued)

168 of 168 new or added lines in 1 file covered. (100.0%)

874 of 874 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31160335833.1 07 Aug 2026 08:10AM UTC 13
100.0
GitHub Action Run
Source Files on build 31160335833
  • Tree
  • List 13
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31160335833
  • 9d0c71a3 on github
  • Prev Build on main (#30898029176)
  • Next Build on main (#31160824408)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc