Skip to content

prek install -q does not enable quiet mode? #1676

@stevenzyang

Description

@stevenzyang

Summary

According to the docs, it seems like prek install -q should install prek with quiet mode, where only failed hooks are output: https://prek.j178.dev/cli/#prek-install--quiet

However even after doing this, I still see the full output:

> prek -q install

> git commit -am "test"
check for added large files..............................................Passed
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check for merge conflicts................................................Passed
ruff (legacy alias)..................................(no files to check)Skipped
ruff format..........................................(no files to check)Skipped
Detect hardcoded secrets.................................................Passed
[sy/prek ef13b2d3] test
 1 file changed, 1 insertion(+), 1 deletion(-)

Willing to submit a PR?

  • Yes — I’m willing to open a PR to fix this.

Platform

Darwin 24.6.0 arm64

Version

prek 0.3.3 (c741c8c 2026-02-15)

.pre-commit-config.yaml

n/a

Log file

n/a

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