deptry¶
A Dagger module for linting Python dependency issues with deptry — it finds unused, missing, misplaced, and transitive dependencies.
This check runs deptry for each pyproject.toml discovered in the source tree, in parallel.
Installation¶
Usage¶
Run the check over the current source tree:
the check runs deptry over projects that either:
- have a
src/layout matching[project].name - have a directory matching
[project].name - declare a
[tool.deptry]section in theirpyproject.toml