Skip to content

Commit eece14b

Browse files
Update pre-commit config (#554)
1 parent 691a2c4 commit eece14b

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,30 @@
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0
6+
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
77
hooks:
8-
- id: trailing-whitespace
9-
- id: end-of-file-fixer
10-
- id: debug-statements
8+
- id: check-added-large-files
119
- id: check-ast
12-
- id: mixed-line-ending
13-
- id: check-yaml
14-
args: [--allow-multiple-documents]
10+
- id: check-case-conflict
1511
- id: check-json
1612
- id: check-toml
17-
- id: check-added-large-files
13+
- id: check-yaml
14+
args: [--allow-multiple-documents]
15+
- id: debug-statements
16+
- id: end-of-file-fixer
17+
- id: mixed-line-ending
18+
- id: trailing-whitespace
1819

1920
- repo: https://github.com/psf/black
20-
rev: 552baf822992936134cbd31a38f69c8cfe7c0f05 # frozen: 24.3.0
21+
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
2122
hooks:
2223
- id: black
2324

2425
- repo: https://github.com/pre-commit/mirrors-prettier
25-
rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
26+
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
2627
hooks:
2728
- id: prettier
28-
files: \.(html|md|yml|yaml)
29+
types_or: [yaml, toml, markdown, css, scss, javascript, json]
2930
args: [--prose-wrap=preserve]
3031

3132
- repo: https://github.com/adamchainz/blacken-docs

0 commit comments

Comments
 (0)