]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[pre-commit] Set verbose=false for check-whitespace
authorTom de Vries <tdevries@suse.de>
Mon, 10 Nov 2025 17:21:39 +0000 (18:21 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 10 Nov 2025 17:21:39 +0000 (18:21 +0100)
commit0b45d74d79cddf7b3f8fcfab29aa314b09b18989
treeb3721029808a63d21b60c2c3babdeda0bf50c6b8
parent0f2aaaad61c513e5d84feb40237d6bdd46528e9d
[pre-commit] Set verbose=false for check-whitespace

Currently, the pre-commit check check-whitespace has verbose=true:
...
$ pre-commit run --all-files check-whitespace
check-whitespace........................................................Passed
- hook id: check-whitespace
- duration: 0.3s
$
...

That's not necessary, since:
- check-whitespace has no output if the check passes, and
- pre-commit shows the output anyway if the check fails.

Fix this by removing the verbose setting, getting us instead:
...
$ pre-commit run --all-files check-whitespace
check-whitespace........................................................Passed
$
...

Approved-By: Simon Marchi <simon.marchi@efficios.com>
.pre-commit-config.yaml