-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(pre-commit): update pre-commit hooks
- Loading branch information
1 parent
1848fd6
commit 4889ead
Showing
4 changed files
with
256 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,42 +24,38 @@ repos: | |
name: Check commit message using commitlint | ||
description: Lint commit message against @commitlint/config-conventional rules | ||
stages: [commit-msg] | ||
additional_dependencies: ['@commitlint/[email protected]'] | ||
- id: commitlint-travis | ||
stages: [manual] | ||
additional_dependencies: ['@commitlint/[email protected]'] | ||
always_run: true | ||
additional_dependencies: ['@commitlint/[email protected]'] | ||
- repo: https://github.com/rubocop-hq/rubocop | ||
rev: v1.30.1 | ||
rev: v1.57.0 | ||
hooks: | ||
- id: rubocop | ||
name: Check Ruby files with rubocop | ||
args: [--debug] | ||
always_run: true | ||
pass_filenames: false | ||
- repo: https://github.com/shellcheck-py/shellcheck-py | ||
rev: v0.8.0.4 | ||
rev: v0.9.0.6 | ||
hooks: | ||
- id: shellcheck | ||
name: Check shell scripts with shellcheck | ||
files: ^.*\.(sh|bash|ksh)$ | ||
types: [] | ||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.26.3 | ||
rev: v1.32.0 | ||
hooks: | ||
- id: yamllint | ||
name: Check YAML syntax with yamllint | ||
args: [--strict, '.'] | ||
always_run: true | ||
pass_filenames: false | ||
- repo: https://github.com/warpnet/salt-lint | ||
rev: v0.8.0 | ||
rev: v0.9.2 | ||
hooks: | ||
- id: salt-lint | ||
name: Check Salt files using salt-lint | ||
files: ^.*\.(sls|jinja|j2|tmpl|tst)$ | ||
- repo: https://github.com/myint/rstcheck | ||
rev: 3f929574 | ||
rev: v6.2.4 | ||
hooks: | ||
- id: rstcheck | ||
name: Check reST files using rstcheck | ||
|
@@ -74,4 +70,4 @@ repos: | |
docs/CHANGELOG.rst| | ||
docs/TOFS_pattern.rst| | ||
)$ | ||
additional_dependencies: [pygments==2.9.0] | ||
additional_dependencies: [pygments==2.16.1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.