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/rubocop-hq/rubocop
24 name: Check Ruby files with rubocop
28 - repo: https://github.com/shellcheck-py/shellcheck-py
32 name: Check shell scripts with shellcheck
33 files: ^.*\.(sh|bash|ksh)$
35 - repo: https://github.com/adrienverge/yamllint
39 name: Check YAML syntax with yamllint
43 - repo: https://github.com/warpnet/salt-lint
47 name: Check Salt files using salt-lint
48 files: ^.*\.(sls|jinja|j2|tmpl|tst)$
49 - repo: https://github.com/myint/rstcheck
53 name: Check reST files using rstcheck
54 exclude: 'docs/CHANGELOG.rst'
55 args: [--report=warning]