v0.1.7 (2026-06-15)
Bug Fixes
- terminal: Set non-zero exit code on validation failure (
a566051)
Validate commands (table, data, file, dataset, tableSchema, dataSchema) route through Session.render_report_result, which printed the report but never signalled failure, so CI relying on $? passed on invalid data. Raise typer.Exit(1) when the report is invalid, including silent mode.
Mirrors fairspec-typescript 9fe1ded.
Testing
- Write validate fixture as LF to avoid CRLF on windows (
b6abbb0)
open("w") translates \n to os.linesep, so on Windows the CRLF made a valid table parse as invalid and the exit-code assertion failed. Write the CSV with newline="" so it is LF on every platform.
Detailed Changes: v0.1.6...v0.1.7