Skip to content

Commit c7e84e4

Browse files
committed
ci: update pre-commit configuration inc. for pre-commit.ci [skip ci]
* Automated using myii/ssf-formula#450
1 parent 36d864c commit c7e84e4

File tree

1 file changed

+30
-9
lines changed

1 file changed

+30
-9
lines changed

.pre-commit-config.yaml

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
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
618
default_stages: [commit]
719
repos:
820
- repo: https://github.com/dafyddj/commitlint-pre-commit-hook
@@ -17,32 +29,31 @@ repos:
1729
stages: [manual]
1830
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
1931
always_run: true
20-
- repo: https://github.com/adithyabsk/mirrors-rubocop
21-
rev: v0.91.0
32+
- repo: https://github.com/rubocop-hq/rubocop
33+
rev: v1.30.1
2234
hooks:
2335
- id: rubocop
2436
name: Check Ruby files with rubocop
2537
args: [--debug]
2638
always_run: true
2739
pass_filenames: false
28-
- repo: https://github.com/jumanjihouse/pre-commit-hooks
29-
rev: 2.1.3
40+
- repo: https://github.com/shellcheck-py/shellcheck-py
41+
rev: v0.8.0.4
3042
hooks:
3143
- id: shellcheck
3244
name: Check shell scripts with shellcheck
3345
files: ^.*\.(sh|bash|ksh)$
3446
types: []
35-
args: []
36-
- repo: https://github.com/adrienverge/yamllint.git
37-
rev: v1.23.0
47+
- repo: https://github.com/adrienverge/yamllint
48+
rev: v1.26.3
3849
hooks:
3950
- id: yamllint
4051
name: Check YAML syntax with yamllint
4152
args: [--strict, '.']
4253
always_run: true
4354
pass_filenames: false
4455
- repo: https://github.com/warpnet/salt-lint
45-
rev: v0.3.0
56+
rev: v0.8.0
4657
hooks:
4758
- id: salt-lint
4859
name: Check Salt files using salt-lint
@@ -53,4 +64,14 @@ repos:
5364
- id: rstcheck
5465
name: Check reST files using rstcheck
5566
exclude: 'docs/CHANGELOG.rst'
56-
args: [--report=warning]
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

Comments
 (0)