add yamllint to lefthook
This commit is contained in:
@@ -18,6 +18,10 @@ pre-commit:
|
||||
glob: "**/*.py"
|
||||
run: "mypy {staged_files}"
|
||||
|
||||
- name: "yamllint"
|
||||
glob: "**/*.{yml,yaml}"
|
||||
run: "uv run yamllint --config-file .yamllint.yml --format colored {staged_files}"
|
||||
|
||||
- name: "gitleaks"
|
||||
run: "gitleaks git --staged"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user