Summary
prek hook-impl's --config option cannot find the config file if you use --config=<path> instead of --config <path>:
error: config file not found: `~/.config/prek/global-hooks.toml`
Willing to submit a PR?
Platform
macOS 15 x86_64
Version
prek 0.3.13 (Homebrew 2026-05-05)
.pre-commit-config.yaml
N/A
Log file
2026-05-09T05:09:31.603109Z DEBUG prek: 0.3.13 (Homebrew 2026-05-05)
2026-05-09T05:09:31.603192Z DEBUG Args: ["prek", "hook-impl", "--hook-type=pre-commit", "--config=~/.config/prek/global-hooks.toml"]
Summary
prek hook-impl's--configoption cannot find the config file if you use--config=<path>instead of--config <path>:Willing to submit a PR?
Platform
macOS 15 x86_64
Version
prek 0.3.13 (Homebrew 2026-05-05)
.pre-commit-config.yaml
N/A
Log file