Skip to main content

Code metrics

lpip is a small CLI. We still want a public example of how we develop: tests, coverage, static checks, CI, and releases.

This section is the exhibit. It is not required to use lpip.

ExhibitProducer
Coveragepytest-cov HTML from test:pytest (pipeline % + Cobertura too)
Ruffruff check JSON rendered as HTML
mypymypy --html-report on src
BanditBandit JSON rendered as HTML (same family as Ruff)
pip-auditPyPI advisories for [project] dependencies

CI writes those under artifacts/metrics/{coverage,ruff,mypy,bandit,pip-audit}/. scripts/assemble_docs.py copies each into the site when present; a local build without those files keeps the placeholder pages.

GitLab CI notes and ADRs stay in Git: docs/gitlab-ci.md, docs/adr/.