36 lines
938 B
YAML
36 lines
938 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
|
|
args: ["--maxkb=600"]
|
|
- 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
|