Skip to content

Commit f9c4156

Browse files
committed
Update pre-commit-hooks for consistency across repositories
1 parent 32562f8 commit f9c4156

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.pre-commit-config.yaml

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
exclude: "^docs/|/migrations/"
2-
default_install_hook_types: [pre-commit, pre-push]
3-
41
repos:
52
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.5.0
3+
rev: v4.6.0
74
hooks:
8-
- id: trailing-whitespace
9-
- id: end-of-file-fixer
10-
- id: check-yaml
5+
- id: check-added-large-files
6+
- id: check-case-conflict
7+
- id: check-json
8+
- id: check-merge-conflict
119
- id: check-xml
10+
- id: check-yaml
11+
- id: end-of-file-fixer
12+
- id: forbid-submodules
13+
- id: mixed-line-ending
14+
- id: no-commit-to-branch
15+
- id: trailing-whitespace
1216

1317
- repo: local
1418
hooks:
@@ -37,9 +41,3 @@ repos:
3741
hooks:
3842
- id: ruff
3943
args: [--fix, --exit-non-zero-on-fix]
40-
41-
# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date
42-
ci:
43-
autoupdate_schedule: weekly
44-
skip: []
45-
submodules: false

0 commit comments

Comments
 (0)