diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 450f077e8..96017dffc 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,8 @@ - id: deptry name: deptry description: deptry is a command line tool to check for issues with dependencies in a Python project, such as unused or missing dependencies. - entry: deptry . + entry: deptry + args: [ "." ] language: system always_run: true pass_filenames: false diff --git a/docs/usage.md b/docs/usage.md index e3d86305b..00ca8364f 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -109,7 +109,7 @@ an example config for your `.pre-commit-config.yaml` file: rev: "" hooks: - id: deptry - args: ["--ignore", "DEP001"] + args: [".", "--ignore", "DEP001"] ``` Replace `` with one of the [tags](https://github.com/fpgmaas/deptry/tags) from the