BSK-0012
analyze
Unused dependency
Fires when a package is declared in project.dependencies but no module in the workspace imports it. This indicates a dependency that can be removed, reducing the project's dependency footprint.
This is a **whole-module-only** diagnostic — it requires scanning all files in the workspace to determine which packages are actually imported. The rule currently provides the skeleton; it activates when the workspace layer provides aggregate import data.
How to handle it
This Basilisk-specific rule is off by default. Enable its dependencies tag
when the policy fits your project, then configure its severity globally or per path in
pyproject.toml.
Canonical URL: https://www.basilisk-python.dev/errors/BSK-0012