File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,10 +20,14 @@ repos:
2020 exclude : (.*\.mbox)|(.*\.svg)|(.*\.sql)|(.*\.conf)
2121 - id : remove-crlf
2222 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
2526 hooks :
26- - id : flake8
27+ # Run the linter.
28+ - id : ruff
29+ # Run the formatter.
30+ - id : ruff-format
2731 - repo : https://github.com/openstack/bashate
2832 rev : 2.1.1
2933 hooks :
3337 hooks :
3438 - id : vacuum
3539 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 ]
22line-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