Re: [PATCH 0/2] [pre-commit] Use yamllint

Tom de Vries <[email protected]> Tue, 28 Jul 2026 09:36:45 +0200
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
On 7/17/26 4:25 PM, Tom de Vries wrote:
> I came across a formatting inconsistency in .pre-commit-config.yaml and
> investigated if there were pre-commit tools that could help with that.
> 
> I found yamllint [1].
> 
> The first patch fixes yamllint errors.
> 
> The second patch adds a pre-commit hook to check .pre-commit-config.yaml using yamllint.
> 

I came across a Red Hat Blog post "Check your YAML for errors with 
yamllint"  ( https://www.redhat.com/en/blog/check-yaml-yamllint ).

I'll consider that a review.

I'm pushing this.

Thanks,
- Tom

> [1] https://github.com/adrienverge/yamllint
> 
> Tom de Vries (2):
>    [pre-commit] Fix yamllint errors in .pre-commit-config.yaml
>    [pre-commit] Add yamllint hook
> 
>   .pre-commit-config.yaml | 120 +++++++++++++++++++++-------------------
>   1 file changed, 64 insertions(+), 56 deletions(-)
> 
> 
> base-commit: 0cdde1399d2d453569fe91c55b34b4879f8a6501