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/rubocop-hq/rubocop
12 name: Check Ruby files with rubocop
16 - repo: https://github.com/shellcheck-py/shellcheck-py
20 name: Check shell scripts with shellcheck
21 files: ^.*\.(sh|bash|ksh)$
23 - repo: https://github.com/adrienverge/yamllint
27 name: Check YAML syntax with yamllint
31 - repo: https://github.com/warpnet/salt-lint
35 name: Check Salt files using salt-lint
36 files: ^.*\.(sls|jinja|j2|tmpl|tst)$
37 - repo: https://github.com/myint/rstcheck
41 name: Check reST files using rstcheck
42 exclude: 'docs/CHANGELOG.rst'
43 - repo: https://github.com/saltstack-formulas/mirrors-rst-lint
47 name: Check reST files using rst-lint
51 docs/TOFS_pattern.rst|
52 docs/CONTRIBUTING_DOCS.rst|
55 additional_dependencies: [pygments==2.9.0]