stages: [manual]
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
always_run: true
- - repo: https://github.com/adithyabsk/mirrors-rubocop
- rev: v0.91.0
+ - repo: https://github.com/rubocop-hq/rubocop
+ rev: v1.9.1
hooks:
- id: rubocop
name: Check Ruby files with rubocop
args: [--debug]
always_run: true
pass_filenames: false
- - repo: https://github.com/jumanjihouse/pre-commit-hooks
- rev: 2.1.3
+ - repo: https://github.com/shellcheck-py/shellcheck-py
+ rev: v0.7.1.1
hooks:
- id: shellcheck
name: Check shell scripts with shellcheck
files: ^.*\.(sh|bash|ksh)$
types: []
- args: []
- - repo: https://github.com/adrienverge/yamllint.git
+ - repo: https://github.com/adrienverge/yamllint
rev: v1.23.0
hooks:
- id: yamllint
- id: salt-lint
name: Check Salt files using salt-lint
files: ^.*\.(sls|jinja|j2|tmpl|tst)$
-# - repo: https://github.com/myint/rstcheck
-# rev: 3f929574
-# hooks:
-# - id: rstcheck
-# name: Check reST files using rstcheck
-# args: [--report=warning]
+ - repo: https://github.com/myint/rstcheck
+ rev: 3f929574
+ hooks:
+ - id: rstcheck
+ name: Check reST files using rstcheck
+ exclude: 'docs/CHANGELOG.rst'
+ args: [--report=warning]