33---
44# See https://pre-commit.com for more information
55# See https://pre-commit.com/hooks.html for more hooks
6+ ci :
7+ autofix_commit_msg : |
8+ ci(pre-commit.ci): apply auto fixes from pre-commit.com hooks
9+
10+ For more information, see https://pre-commit.ci
11+ autofix_prs : true
12+ autoupdate_branch : ' '
13+ autoupdate_commit_msg : |
14+ ci(pre-commit.ci): perform `pre-commit` autoupdate
15+ autoupdate_schedule : quarterly
16+ skip : []
17+ submodules : false
618default_stages : [commit]
719repos :
820 - repo : https://github.com/dafyddj/commitlint-pre-commit-hook
@@ -17,33 +29,31 @@ repos:
1729 stages : [manual]
1830 additional_dependencies : ['@commitlint/config-conventional@8.3.4']
1931 always_run : true
20- - repo : https://github.com/jumanjihouse/pre-commit-hooks
21- rev : 2.1.3
32+ - repo : https://github.com/rubocop-hq/rubocop
33+ rev : v1.30.1
2234 hooks :
2335 - id : rubocop
24- exclude : ^Gemfile\.lock$
36+ name : Check Ruby files with rubocop
37+ args : [--debug]
38+ always_run : true
39+ pass_filenames : false
40+ - repo : https://github.com/shellcheck-py/shellcheck-py
41+ rev : v0.8.0.4
42+ hooks :
2543 - id : shellcheck
2644 name : Check shell scripts with shellcheck
27- exclude_types : [zsh]
28- args : []
29- - repo : https://github.com/adrienverge/yamllint.git
30- rev : v1.23.0
45+ files : ^.*\.(sh|bash|ksh)$
46+ types : []
47+ - repo : https://github.com/adrienverge/yamllint
48+ rev : v1.26.3
3149 hooks :
3250 - id : yamllint
3351 name : Check YAML syntax with yamllint
34- args : [--strict]
35- types : [file]
36- files : >
37- (?x)^(
38- \.salt-lint|
39- \.yamllint|
40- .*\.example|
41- test/.*\.sls|
42- .*\.(yaml|yml)
43- )$
44- exclude : ^test/.*/states/.*\.sls$
52+ args : [--strict, '.']
53+ always_run : true
54+ pass_filenames : false
4555 - repo : https://github.com/warpnet/salt-lint
46- rev : v0.3 .0
56+ rev : v0.8 .0
4757 hooks :
4858 - id : salt-lint
4959 name : Check Salt files using salt-lint
@@ -53,4 +63,15 @@ repos:
5363 hooks :
5464 - id : rstcheck
5565 name : Check reST files using rstcheck
56- args : [--report=warning]
66+ exclude : ' docs/CHANGELOG.rst'
67+ - repo : https://github.com/saltstack-formulas/mirrors-rst-lint
68+ rev : v1.3.2
69+ hooks :
70+ - id : rst-lint
71+ name : Check reST files using rst-lint
72+ exclude : |
73+ (?x)^(
74+ docs/CHANGELOG.rst|
75+ docs/TOFS_pattern.rst|
76+ )$
77+ additional_dependencies : [pygments==2.9.0]
0 commit comments