repomatic.cli.deps module¶
Dependency commands of the repomatic CLI: audit, lint, graph and updates.
repomatic.cli.main.COMMANDS registers each command here, and files it
under its help section. The terminal output of the dependency updaters lives
here too: repomatic.deps.sync resolves and applies, and renders only the
markdown report the CI jobs read.
- class repomatic.cli.deps.DependencyGroup[source]¶
Bases:
LazyChoiceA group declared in the project’s
[dependency-groups].uvrefuses an undeclared group, so the set is closed and naming one it does not hold is always a typo.
- class repomatic.cli.deps.ProjectExtra[source]¶
Bases:
LazyChoiceAn extra declared in the project’s
[project.optional-dependencies].
- repomatic.cli.deps.print_plan_tables(ctx, plan)[source]¶
Print a resolved plan’s diff, bypass and held-back tables.
The terminal counterpart of
render_plan_markdown(), in the same order, so a run’s terminal output and its PR body read the same way. Every dependency updater goes through here: the two lockfile commands, the three version-sync commands, and the aggregatesync-deps.The diff table keeps Old and New as two columns, not the merged
Changecell of the markdown PR body, so--table-format jsonorcsvoutput stays parseable. Each table respects the global--table-format.- Return type:
- repomatic.cli.deps.emit_plan_report(ctx, plan, *, output, output_format, table=True)[source]¶
Print a plan’s cutoff, tables and release notes, then write its report.
The shared tail of every updater command. A plan names one cooldown: uv’s
exclude-newercutoff for the lockfile pair, theminimum-release-agecutoff for the version-sync trio.