check:pyproject
Validate the active product’s pyproject.toml (parsing, dependencies, feature declarations, duplicate detection, namespace consistency, and SPL/UVL configuration).
Usage
splent check:pyproject
What it checks
| Check | Pass | Fail/Warn |
|---|---|---|
| TOML parsing | Parses successfully | Fail (invalid syntax) |
| Project name | Present | Warn (missing) |
| Project version | Present | Warn (missing) |
| Dependencies | All installed | Fail (missing packages) |
| Features | Count in [tool.splent.features] |
n/a |
| Dev/prod features | Count if present | n/a |
| Duplicate features | No feature appears in more than one of features, features_dev, features_prod |
Fail (lists duplicates found across sections) |
| Namespace consistency | All feature refs use the same org format (e.g., splent-io) |
Fail (mixed splent_io / splent-io refs detected) |
| SPL configuration | [tool.splent].spl found (catalog), or [tool.splent.uvl] found (legacy fallback) |
Fail (“No SPL configured” if neither is present) |
Also part of splent doctor (phase 3).