Skip to content

Table Contract Check v0.3.0

Choose a tag to compare

@vxxqv vxxqv released this 29 Nov 15:13
96cd16d

Generate a starter TOML contract from a CSV or TSV header with --init. Choose the key, numeric, and ignored columns explicitly. Numeric tolerances start at zero.

Use --output PATH to create a new contract file, or omit --output for UTF-8 stdout. An existing output file is left intact.

table-contract-check --init results.csv --key sample --numeric estimate --output results.toml

All 18 tests passed in the Linux and Windows CI matrix on Python 3.11 and 3.14. The wheel and source distribution passed metadata checks. The installed wheel generated a contract and caught the expected differences.

Setup and examples · Merged change