[PATCH 0/2] [pre-commit] Use yamllint
Tom de Vries <[email protected]>
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
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. [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 -- 2.51.0