@@ -24,46 +24,62 @@ repos:
2424 name : Check commit message using commitlint
2525 description : Lint commit message against @commitlint/config-conventional rules
2626 stages : [commit-msg]
27- additional_dependencies : ['@commitlint/config-conventional@8.3.4']
28- - id : commitlint-travis
29- stages : [manual]
30- additional_dependencies : ['@commitlint/config-conventional@8.3.4']
31- always_run : true
27+ additional_dependencies : ['@commitlint/config-conventional@17.1.0']
3228 - repo : https://github.com/rubocop-hq/rubocop
33- rev : v1.30.1
29+ rev : v1.57.0
3430 hooks :
3531 - id : rubocop
3632 name : Check Ruby files with rubocop
3733 args : [--debug]
38- always_run : true
39- pass_filenames : false
4034 - repo : https://github.com/shellcheck-py/shellcheck-py
41- rev : v0.8 .0.4
35+ rev : v0.9 .0.6
4236 hooks :
4337 - id : shellcheck
4438 name : Check shell scripts with shellcheck
4539 files : ^.*\.(sh|bash|ksh)$
4640 types : []
4741 - repo : https://github.com/adrienverge/yamllint
48- rev : v1.26.3
42+ rev : v1.32.0
4943 hooks :
5044 - id : yamllint
5145 name : Check YAML syntax with yamllint
52- args : [--strict, '.']
53- always_run : true
54- pass_filenames : false
46+ args : [--strict]
47+ types : [file]
48+ # Files to include
49+ # 1. Obvious YAML files
50+ # 2. `pillar.example` and similar files
51+ # 3. SLS files under directory `test/` which are pillar files
52+ # Files to exclude
53+ # 1. SLS files under directory `test/` which are state files
54+ # 2. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
55+ # 3. YAML files heavily reliant on Jinja
56+ files : |
57+ (?x)^(
58+ .*\.yaml|
59+ .*\.yml|
60+ \.salt-lint|
61+ \.yamllint|
62+ .*\.example|
63+ test/.*\.sls
64+ )$
65+ exclude : |
66+ (?x)^(
67+ kitchen.vagrant.yml|
68+ test/.*/states/.*\.sls
69+ )$
5570 - repo : https://github.com/warpnet/salt-lint
56- rev : v0.8.0
71+ rev : v0.9.2
5772 hooks :
5873 - id : salt-lint
5974 name : Check Salt files using salt-lint
6075 files : ^.*\.(sls|jinja|j2|tmpl|tst)$
6176 - repo : https://github.com/myint/rstcheck
62- rev : 3f929574
77+ rev : v6.2.0
6378 hooks :
6479 - id : rstcheck
6580 name : Check reST files using rstcheck
6681 exclude : ' docs/CHANGELOG.rst'
82+ additional_dependencies : [sphinx==7.2.6]
6783 - repo : https://github.com/saltstack-formulas/mirrors-rst-lint
6884 rev : v1.3.2
6985 hooks :
7389 (?x)^(
7490 docs/CHANGELOG.rst|
7591 docs/TOFS_pattern.rst|
92+ docs/CONTRIBUTING_DOCS.rst|
93+ docs/index.rst|
7694 )$
77- additional_dependencies : [pygments==2.9.0 ]
95+ additional_dependencies : [pygments==2.16.1 ]
0 commit comments