Changelog¶
The full history lives in the repository's
CHANGELOG.md.
[0.7.0] — 2026-10-24¶
Added¶
check --rule <CODE>andcheck --strict/--no-strict, for the host CLI's steps.checkhands both, typed in aStepOptions, to the step that declares the newCheckStep.run_with_options; with no such step the flag exits2. Details.
[0.6.0] — 2026-10-20¶
Changed¶
testandcheckrun the suite in parallel by default. The pytest-xdist-n autorun that needed--fastis now what a baretestdoes;--serialopts out (for--lf/--ff, or a debugger). Measured on a FastAPI suite of 1136 tests on 12 CPUs: 262 s serially, 37.6 s in parallel, same outcome. Details.- Without pytest-xdist the default degrades to serial instead of
failing, with a notice naming the install command; only an explicit
--faststill requires the plugin (exit code 127). --workerswith--serialis a usage error (exit code 2).
[0.5.1] — 2026-10-15¶
Fixed¶
fixexplains the E501 the formatter cannot resolve. A line still too long afterruff format(a dotted name, a string, a comment) comes out with its token, its kind and the action that resolves it, and the summary separates what has no autofix from what--unsafewould fix. The exit code is unchanged. Details.fixshortens the long comments and strings the formatter leaves alone. A comment is wrapped at the limit and a string is split into concatenated parts; each edit is kept only when the file's AST is identical before and after. Pragmas, f-strings, triple quotes and long words are left out and explained. On by default.fixreports on the formatted file. The passes are nowruff check --fix-only,ruff formatandruff check; before, the report and the exit code came from the pass that ran before the formatter.
[0.5.0] — 2026-10-13¶
Added¶
extra_steps: a framework's own rules insidecheck. The newCheckStep(name, run)is a stepcheckruns aftermypyand beforepytest;runreceives the target and returns an exit code.run_full_check(..., extra_steps=)andregister_commands(app, *, extra_steps=)take the list — empty by default, so nothing changes for a caller that does not pass one. The first non-zero code stops the gate, with or without--fast. Details.
[0.4.0] — 2026-09-27¶
Added¶
test --fastandcheck --fast: the suite in parallel. Runspytest -n <workers> -p no:cacheprovider [target]with pytest-xdist;--workers/-wtakes whatpytest -ntakes (an integer,auto— the default — orlogical) and is a usage error without--fast. The target is forwarded and pytest's exit code comes back untranslated. It is a flag, not a subcommand, becausetest fastkeeps meaning thefast/folder. Details.- A missing pytest-xdist is a sentence, not
unrecognized arguments: -n.--fastasks the interpreter that will run pytest whether it can importxdist; when it cannot, the message names the package and the extras (tempest-cli[tools],tempest-fastapi-sdk[tests]) and the exit code is 127, with no traceback. Undercheck --fastthe check comes before the first step. run_pytest/run_full_checkgainfast=andworkers=, keyword-only, serial by default.
Changed¶
[tools]now carriespytest-xdist>=3.8.0. No upper bound in itsrequires-dist(execnet>=2.1,pytest>=7.0.0).
[0.3.0] — 2026-08-15¶
Changed¶
ruffnow ships with the package. It left the[tools]extra for the runtime dependencies, souv add --dev tempest-cliis enough forlint,fix,formatandfmt-checkto run. The cost is nil: ruff is a static binary wheel with no Python dependencies of its own, so no bound of its reaches a consumer's resolution.mypyandpyteststay out on purpose;[tools]now installs exactly those two.- The project's environment is searched before the CLI's own. With
ruff bundled, the CLI's environment always has one — looking there
first would silently override a version the project pinned whenever
tempest-clilives apart from it (uv tool install, pipx). The order is now$VIRTUAL_ENV→ nearest.venv→ the CLI's environment →PATH→uv run --with.
[0.2.0] — 2026-08-15¶
Added¶
tc, a short alias installed next totempest-cli— the same program. While the installing environment is onPATHit shadows iproute2'stc(8)(call/usr/sbin/tcfor the network one).
Fixed¶
- The gate no longer runs a dead pyenv/asdf shim.
tempest-cli fixin a project without ruff answeredpyenv: ruff: command not foundand exited 127. The lookup now searches the run's own environments first (the CLI's interpreter directory,$VIRTUAL_ENV, the nearest.venv) and accepts a shim only after<tool> --versionproves it dispatches — the same check applies touvitself. - The
uvfallback stopped leaking back toPATH. It wasuv run <tool>, which falls back toPATHwhen the project environment has no such tool — landing on the shim just rejected. It is nowuv run --with <tool> <tool>. - The 127 message names the fix (
uv add --dev ruff, or"tempest-cli[tools]"for the set).
[0.1.0] — 2026-08-15¶
First release. Extracted from
tempest-fastapi-sdk,
where the same gate shipped as tempest check — reachable only by
installing a FastAPI SDK.
Added¶
- The gate:
lint,fix,format,fmt-check,type,testandcheck. - Typing strictness through
[tool.tempest] typing_strictness, with a--strictnessoverride per run. pr-prompt— the prompt that makes an AI write the PR description.- A library surface (
run_full_check,load_tempest_config,generate_pr_prompt, …) andregister_commands(app)to mount the gate on another CLI.
Notes¶
- The only runtime dependency is
typer. The tools come from the project environment. - Measured against the SDK it came from: reaching these commands there loaded 38.7 MB of dependencies and ~0.5 s of import time per invocation. A test in this package asserts that importing it pulls no web framework.