Skip to content

Pre-commit hook not working #1394

@9en9i

Description

@9en9i
  • deptry version: 0.24.0
  • Python version: 3.14.2
  • Operating system (e.g. Ubuntu 22.04, Windows 11): macos 26.2

Hello, first of all, thank you for such an excellent project, but I have encountered a problem with pre-commit.

I created a repository to reproduce the problem.
https://github.com/9en9i/deptry-bug

If I try to commit a change to the main.py file, I get an error:

deptry...................................................................Failed
- hook id: deptry
- exit code: 1
Executable `deptry` not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions