generated from tweag/project
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Describe the bug
I am trying to provide the --install-deps flag to my pre-commit hook config, and my attempt fails.
To Reproduce
Local .pre-commit-config.yaml
fragment:
- repo: https://github.com/tweag/FawltyDeps
rev: v0.20.0
hooks:
- id: check-undeclared
args: ["--install-deps"]
- id: check-unused
args: ["--install-deps"]
Than running to check all files.
% pre-commit run check-undeclared --all
Expected behavior
I'd expect this to execute check-undeclared hook on all my files with the specified flag.
Instead I'm getting
fawltydeps: error: Parsing given dependencies path isn't supported: generate.py
several times.
Environment
- OS name + version: MacOS 15.6.1
- Version of the code: 0.20.0
Additional context
https://pre-commit.com/#passing-arguments-to-hooks
jherland and mknorps
Metadata
Metadata
Assignees
Labels
No labels