rlsbl v0.40.1 /rlsbl.checks
On this page

Project checks registered on the strictcli check system.

#rlsbl.checks

#rlsbl.checks

Project checks registered on the strictcli check system.

Each check is registered via @app.check("name") and receives a :class:~rlsbl.check_context.ProjectCheckContext (or its :class:~rlsbl.check_context.WorkspaceCheckContext subclass).

The check functions return :class:strictcli.CheckResult with lowercase status strings: "pass", "fail", "warn", "skip".

#_resolve_version_and_tag

python
def _resolve_version_and_tag(ctx)

Detect version and tag from project targets rooted at ctx.

Returns (version, tag); either may be None.

#register_checks

python
def register_checks(app)

Register all project checks on app.

Silently returns if the check system is not enabled (i.e. no .strictcli/checks.toml was found at import time -- this happens when rlsbl is imported from a working directory that is not the rlsbl source tree, e.g. a user's project directory).