Skip to content

Commit 055b94e

Browse files
Update pre-commit (#646)
1 parent b8b3fd0 commit 055b94e

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
6+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
77
hooks:
88
- id: check-added-large-files
99
- id: check-ast
@@ -18,28 +18,25 @@ repos:
1818
- id: mixed-line-ending
1919
- id: trailing-whitespace
2020

21-
- repo: https://github.com/pre-commit/mirrors-prettier
22-
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
21+
- repo: https://github.com/rbubley/mirrors-prettier
22+
rev: 1463d990e0801964764a375260dca598513f3be5 # frozen: v3.3.3
2323
hooks:
2424
- id: prettier
2525
types_or: [yaml, toml, markdown, css, scss, javascript, json]
2626
args: [--prose-wrap=preserve]
2727

28-
- repo: https://github.com/psf/black
29-
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
30-
hooks:
31-
- id: black
32-
33-
- repo: https://github.com/adamchainz/blacken-docs
34-
rev: 960ead214cd1184149d366c6d27ca6c369ce46b6 # frozen: 1.16.0
35-
hooks:
36-
- id: blacken-docs
37-
3828
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: 02609a0003fd4903bd7f43852e5dfc82242a96db # frozen: v0.4.9
29+
rev: 75b98813cfb7e663870a28c74366a1e99d7bfe79 # frozen: v0.6.9
4030
hooks:
4131
- id: ruff
42-
args: [--fix, --exit-non-zero-on-fix, --target-version=py38]
32+
args:
33+
[
34+
"--fix",
35+
"--show-fixes",
36+
"--exit-non-zero-on-fix",
37+
"--target-version=py38",
38+
]
39+
- id: ruff-format
4340

4441
ci:
4542
# This ensures that PR's aren't autofixed by the bot, rather you call

0 commit comments

Comments
 (0)