mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 22:38:10 +01:00
test(pre-commit): update pre-commit
hooks
This commit is contained in:
parent
2a7a9decee
commit
f26b03cb78
@ -24,13 +24,9 @@ repos:
|
|||||||
name: Check commit message using commitlint
|
name: Check commit message using commitlint
|
||||||
description: Lint commit message against @commitlint/config-conventional rules
|
description: Lint commit message against @commitlint/config-conventional rules
|
||||||
stages: [commit-msg]
|
stages: [commit-msg]
|
||||||
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
|
additional_dependencies: ['@commitlint/config-conventional@17.1.0']
|
||||||
- id: commitlint-travis
|
|
||||||
stages: [manual]
|
|
||||||
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
|
|
||||||
always_run: true
|
|
||||||
- repo: https://github.com/rubocop-hq/rubocop
|
- repo: https://github.com/rubocop-hq/rubocop
|
||||||
rev: v1.30.1
|
rev: v1.57.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: rubocop
|
- id: rubocop
|
||||||
name: Check Ruby files with rubocop
|
name: Check Ruby files with rubocop
|
||||||
@ -38,14 +34,14 @@ repos:
|
|||||||
always_run: true
|
always_run: true
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
rev: v0.8.0.4
|
rev: v0.9.0.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
name: Check shell scripts with shellcheck
|
name: Check shell scripts with shellcheck
|
||||||
files: ^.*\.(sh|bash|ksh)$
|
files: ^.*\.(sh|bash|ksh)$
|
||||||
types: []
|
types: []
|
||||||
- repo: https://github.com/adrienverge/yamllint
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
rev: v1.26.3
|
rev: v1.32.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
name: Check YAML syntax with yamllint
|
name: Check YAML syntax with yamllint
|
||||||
@ -53,17 +49,18 @@ repos:
|
|||||||
always_run: true
|
always_run: true
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
- repo: https://github.com/warpnet/salt-lint
|
- repo: https://github.com/warpnet/salt-lint
|
||||||
rev: v0.8.0
|
rev: v0.9.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: salt-lint
|
- id: salt-lint
|
||||||
name: Check Salt files using salt-lint
|
name: Check Salt files using salt-lint
|
||||||
files: ^.*\.(sls|jinja|j2|tmpl|tst)$
|
files: ^.*\.(sls|jinja|j2|tmpl|tst)$
|
||||||
- repo: https://github.com/myint/rstcheck
|
- repo: https://github.com/myint/rstcheck
|
||||||
rev: 3f929574
|
rev: v6.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: rstcheck
|
- id: rstcheck
|
||||||
name: Check reST files using rstcheck
|
name: Check reST files using rstcheck
|
||||||
exclude: 'docs/CHANGELOG.rst'
|
exclude: 'docs/CHANGELOG.rst'
|
||||||
|
additional_dependencies: [sphinx==7.2.6]
|
||||||
- repo: https://github.com/saltstack-formulas/mirrors-rst-lint
|
- repo: https://github.com/saltstack-formulas/mirrors-rst-lint
|
||||||
rev: v1.3.2
|
rev: v1.3.2
|
||||||
hooks:
|
hooks:
|
||||||
@ -74,4 +71,4 @@ repos:
|
|||||||
docs/CHANGELOG.rst|
|
docs/CHANGELOG.rst|
|
||||||
docs/TOFS_pattern.rst|
|
docs/TOFS_pattern.rst|
|
||||||
)$
|
)$
|
||||||
additional_dependencies: [pygments==2.9.0]
|
additional_dependencies: [pygments==2.16.1]
|
||||||
|
Loading…
Reference in New Issue
Block a user