Skip to content

The pre-commit hook does not work because deadcode's exit code is 0 even when issues are found #35

Description

@PLPeeters

As stated in the pre-commit docs:

The hook must exit nonzero on failure or modify files.

Activity

  1. added 3 commits that reference this issue on Aug 29, 2025
    15dd206
    ee39c4b
    edf4c54
  2. hugovk commented on Jan 8, 2026

    @hugovk

    Duplicate of #20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions