Skip to content

Commit cda6ea2

Browse files
committed
'precommit-update'
1 parent 2f678be commit cda6ea2

1 file changed

Lines changed: 25 additions & 18 deletions

File tree

.pre-commit-config.yaml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,61 @@
11
---
22
repos:
3-
43
- repo: local
5-
64
hooks:
7-
85
- id: mh_style
96
name: mh_style
107
entry: mh_style
11-
args: [--process-slx, --fix]
8+
args:
9+
- --process-slx
10+
- --fix
1211
files: ^(.*\.(m|slx))$
1312
language: python
14-
additional_dependencies: [miss_hit_core]
15-
13+
additional_dependencies:
14+
- miss_hit_core
1615
- id: mh_metric
1716
name: mh_metric
1817
entry: mh_metric
19-
args: [--ci]
18+
args:
19+
- --ci
2020
files: ^(.*\.(m|slx))$
2121
language: python
22-
additional_dependencies: [miss_hit_core]
23-
22+
additional_dependencies:
23+
- miss_hit_core
2424
- id: mh_lint
2525
name: mh_lint
2626
entry: mh_lint
2727
files: ^(.*\.(m|slx))$
2828
language: python
29-
additional_dependencies: [miss_hit]
30-
29+
additional_dependencies:
30+
- miss_hit
3131
- repo: https://github.com/pre-commit/pre-commit-hooks
3232
rev: v6.0.0
3333
hooks:
3434
- id: trailing-whitespace
3535
- id: end-of-file-fixer
3636
- id: check-yaml
3737
- id: check-added-large-files
38-
3938
- repo: https://github.com/pre-commit/pygrep-hooks
4039
rev: v1.10.0
4140
hooks:
42-
- id: rst-backticks # Detect common mistake of using single backticks when writing rst
43-
- id: rst-inline-touching-normal # Detect mistake of inline code touching normal text in rst
44-
41+
- id: rst-backticks
42+
- id: rst-inline-touching-normal
4543
- repo: https://github.com/codespell-project/codespell
46-
rev: v2.4.1
44+
rev: v2.4.2
4745
hooks:
4846
- id: codespell
49-
5047
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
5148
rev: 0.2.3
5249
hooks:
5350
- id: yamlfmt
54-
args: [--mapping, '2', --sequence, '2', --offset, '0']
51+
args:
52+
- --mapping
53+
- '2'
54+
- --sequence
55+
- '2'
56+
- --offset
57+
- '0'
58+
ci:
59+
autoupdate_commit_msg: 'chore: update pre-commit hooks'
60+
autoupdate_schedule: monthly
61+
autofix_commit_msg: 'style: pre-commit fixes'

0 commit comments

Comments
 (0)