binutils/.pre-commit-config.yaml
Miloš Prchlík bbbf15f1b4 Fix yamllint in pre-commit
It did not run correctly.
2024-04-25 23:06:23 +02:00

35 lines
908 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-submodules
- id: mixed-line-ending
- id: no-commit-to-branch
args: [
"--branch", "main"
]
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
hooks:
- id: yamllint
types: [file]
files: "^.*?\\.fmf$"
- repo: https://github.com/teemtee/tmt.git
rev: "1.26.0"
hooks:
- id: tmt-lint