ci(pre-commit): add yamllint (#496)

This commit is contained in:
Thiago Perrotta
2025-10-22 22:45:08 +02:00
committed by GitHub
parent f7d058a4a4
commit 9510138a7c
4 changed files with 9 additions and 3 deletions

View File

@@ -1 +1 @@
ko_fi: atalays
ko_fi: atalays

View File

@@ -2,9 +2,12 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.2
hooks:
# Run the linter.
- id: ruff
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
- repo: https://github.com/adrienverge/yamllint
rev: v1.37.1
hooks:
- id: yamllint

3
.yamllint.yaml Normal file
View File

@@ -0,0 +1,3 @@
extends: default
rules:
line-length: disable

View File

@@ -2,4 +2,4 @@ cv:
name: John Doe
sections:
test_section:
- this is a text entry.
- this is a text entry.