BSK-0011
analyze
Undeclared dependency import
Fires when an import resolves to a package that is only a transitive dependency — present in uv.lock but not listed in the project's project.dependencies in pyproject.toml.
Transitive dependencies can disappear when a direct dependency drops them, breaking imports that relied on their implicit availability.
import urllib3 # BSK-0011: 'urllib3' is a transitive dependency (via requests)
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-0011