22 lines
774 B
YAML
22 lines
774 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
|
|
exclude: ^Manual/rpminspect-wrapper/files/__.*\.sh
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: check-yaml
|
|
- id: destroyed-symlinks
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
exclude: \.(h|c|cc|C|cpp|hpp|f|f90|java|pm|txt|batch)$
|
|
- id: forbid-submodules
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
exclude: \.(h|hh|hpp|c|cc|C|cpp|f|f90|java|i|ii|patch|dump|golden)$
|