Skip to content

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

$ dagger toolchain install github.com/typesafe-ai/daggerverse/deptry

Usage

Run the check over the current source tree:

$ dagger check deptry

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 their pyproject.toml

Where to go next