Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ an example config for your `.pre-commit-config.yaml` file:
rev: "<tag>"
hooks:
- id: deptry
args: ["--ignore", "DEP001"]
args: [".", "--ignore", "DEP001"]
```

Replace `<tag>` with one of the [tags](https://github.com/fpgmaas/deptry/tags) from the
Expand Down