Skip to content

Allow specifying working directory for hooks #116

Open
@ghost

Description

In my project setup, /default.nix file enables rustfmt and Clippy pre-commit hooks but Rust sources are located in /rust/, so both Clippy and rustfmt fail with "Could not find Cargo.toml" file. We need a way to specify the working directory for hooks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions