From 0511ec31f6634575b398a63437ecdc23810080cd Mon Sep 17 00:00:00 2001 From: Gideon <87426140+GideonBear@users.noreply.github.com> Date: Sun, 14 Dec 2025 17:08:10 +0100 Subject: [PATCH 1/2] Update .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 From 4934d1f6e2763cf4e04177516bfd676d58246c34 Mon Sep 17 00:00:00 2001 From: Gideon <87426140+GideonBear@users.noreply.github.com> Date: Sun, 14 Dec 2025 17:20:45 +0100 Subject: [PATCH 2/2] update docs --- docs/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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