3
3
4
4
repos :
5
5
- repo : https://github.com/pre-commit/pre-commit-hooks
6
- rev : 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6 .0
6
+ rev : cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0 .0
7
7
hooks :
8
8
- id : check-added-large-files
9
9
- id : check-ast
@@ -18,28 +18,25 @@ repos:
18
18
- id : mixed-line-ending
19
19
- id : trailing-whitespace
20
20
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
23
23
hooks :
24
24
- id : prettier
25
25
types_or : [yaml, toml, markdown, css, scss, javascript, json]
26
26
args : [--prose-wrap=preserve]
27
27
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
-
38
28
- repo : https://github.com/astral-sh/ruff-pre-commit
39
- rev : 02609a0003fd4903bd7f43852e5dfc82242a96db # frozen: v0.4 .9
29
+ rev : 75b98813cfb7e663870a28c74366a1e99d7bfe79 # frozen: v0.6 .9
40
30
hooks :
41
31
- 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
43
40
44
41
ci :
45
42
# This ensures that PR's aren't autofixed by the bot, rather you call
0 commit comments