File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,14 @@ repos:
20
20
exclude : (.*\.mbox)|(.*\.svg)|(.*\.sql)|(.*\.conf)
21
21
- id : remove-crlf
22
22
exclude : (.*\.mbox)|(.*\.svg)
23
- - repo : https://github.com/pycqa/flake8
24
- rev : 7.0.0
23
+ - repo : https://github.com/astral-sh/ruff-pre-commit
24
+ # Ruff version.
25
+ rev : v0.1.13
25
26
hooks :
26
- - id : flake8
27
+ # Run the linter.
28
+ - id : ruff
29
+ # Run the formatter.
30
+ - id : ruff-format
27
31
- repo : https://github.com/openstack/bashate
28
32
rev : 2.1.1
29
33
hooks :
33
37
hooks :
34
38
- id : vacuum
35
39
files : ^docs/api/schemas/(latest|v\d\.\d)/patchwork.yaml
36
- - repo : https://github.com/psf/black
37
- rev : 23.12.1
38
- hooks :
39
- - id : black
Original file line number Diff line number Diff line change 1
- [tool .black ]
1
+ [tool .ruff ]
2
2
line-length = 79
3
- skip-string-normalization = true
3
+
4
+ [tool .ruff .format ]
5
+ quote-style = " single"
You can’t perform that action at this time.
0 commit comments