1 # -*- coding: utf-8 -*-
4 # See https://pre-commit.com for more information
5 # See https://pre-commit.com/hooks.html for more hooks
6 default_stages: [commit]
8 - repo: https://github.com/dafyddj/commitlint-pre-commit-hook
12 name: Check commit message using commitlint
13 description: Lint commit message against @commitlint/config-conventional rules
15 additional_dependencies: ['@commitlint/config-conventional@8.3.4']
16 - id: commitlint-travis
18 additional_dependencies: ['@commitlint/config-conventional@8.3.4']
20 - repo: https://github.com/adithyabsk/mirrors-rubocop
24 name: Check Ruby files with rubocop
28 - repo: https://github.com/jumanjihouse/pre-commit-hooks
32 name: Check shell scripts with shellcheck
33 files: ^.*\.(sh|bash|ksh)$
36 - repo: https://github.com/adrienverge/yamllint.git
40 name: Check YAML syntax with yamllint
44 - repo: https://github.com/warpnet/salt-lint
48 name: Check Salt files using salt-lint
49 files: ^.*\.(sls|jinja|j2|tmpl|tst)$
50 - repo: https://github.com/myint/rstcheck
54 name: Check reST files using rstcheck
55 exclude: 'docs/CHANGELOG.rst'
56 args: [--report=warning]